Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.307/2.307, allocations: 252.6 MB / 265.2 MB, free: 5.645 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001416/0.001416, allocations: 194.2 kB / 324.5 MB, free: 14.41 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.113/2.113, allocations: 205.4 MB / 0.5754 GB, free: 10.41 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00117/0.001169, allocations: 90.02 kB / 0.6797 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.194e-05/4.205e-05, allocations: 7.984 kB / 0.7911 GB, free: 96.62 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2056/0.2056, allocations: 106.2 MB / 0.8949 GB, free: 6.293 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.968/2.173, allocations: 409.2 MB / 1.294 GB, free: 241.7 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002959/2.174, allocations: 85.69 kB / 1.295 GB, free: 241.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.677/4.851, allocations: 0.6062 GB / 1.901 GB, free: 9.77 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.204e-06/4.851, allocations: 0 / 1.901 GB, free: 9.77 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0002187/4.851, allocations: 47.92 kB / 1.901 GB, free: 9.723 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.005411/4.856, allocations: 1.773 MB / 1.902 GB, free: 7.891 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.017e-05/4.857, allocations: 12.03 kB / 1.903 GB, free: 7.879 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006224/4.863, allocations: 0.6312 MB / 1.903 GB, free: 7.246 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005638/4.868, allocations: 1.644 MB / 1.905 GB, free: 5.551 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002153/4.869, allocations: 149.4 kB / 1.905 GB, free: 5.395 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003149/4.869, allocations: 104 kB / 1.905 GB, free: 5.293 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002998/4.872, allocations: 1.116 MB / 1.906 GB, free: 4.141 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.782e-05/4.872, allocations: 7.938 kB / 1.906 GB, free: 4.133 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001778/4.872, allocations: 47.95 kB / 1.906 GB, free: 4.086 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.213e-05/4.872, allocations: 24 kB / 1.906 GB, free: 4.062 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002842/4.875, allocations: 0.9761 MB / 1.907 GB, free: 3.09 MB / 0.8698 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6622/5.537, allocations: 5.399 MB / 1.912 GB, free: 135.5 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003289/5.541, allocations: 0.7057 MB / 1.913 GB, free: 135.5 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001853/5.543, allocations: 458.4 kB / 1.913 GB, free: 135.5 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001339/5.544, allocations: 1.245 MB / 1.915 GB, free: 134.1 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002104/5.546, allocations: 0.5448 MB / 1.915 GB, free: 134 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=67): time 5.46e-06/5.546, allocations: 1.375 kB / 1.915 GB, free: 134 MB / 0.8698 GB Notification: Performance of matching and sorting (n=67): time 0.004304/5.551, allocations: 0.8958 MB / 1.916 GB, free: 133.9 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.965e-05/5.551, allocations: 115.3 kB / 1.916 GB, free: 133.8 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004152/5.555, allocations: 1.172 MB / 1.917 GB, free: 133.7 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003887/5.555, allocations: 44.95 kB / 1.917 GB, free: 133.6 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001158/5.557, allocations: 0.6795 MB / 1.918 GB, free: 133.4 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005766/5.557, allocations: 234.8 kB / 1.918 GB, free: 133.3 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001629/5.557, allocations: 10.97 kB / 1.918 GB, free: 133.3 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001201/5.558, allocations: 341.7 kB / 1.919 GB, free: 133 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001526/5.559, allocations: 356.8 kB / 1.919 GB, free: 133 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0019/5.561, allocations: 0.6156 MB / 1.92 GB, free: 132.8 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00165/5.563, allocations: 414.9 kB / 1.92 GB, free: 132.7 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-05/5.563, allocations: 1.375 kB / 1.92 GB, free: 132.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004807/5.568, allocations: 1.048 MB / 1.921 GB, free: 132.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004158/5.568, allocations: 1.201 MB / 1.922 GB, free: 131.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.996e-05/5.568, allocations: 7.312 kB / 1.922 GB, free: 131.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.126e-05/5.568, allocations: 9.094 kB / 1.922 GB, free: 131.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003599/5.572, allocations: 273.6 kB / 1.922 GB, free: 131.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.439e-05/5.572, allocations: 11.05 kB / 1.922 GB, free: 131.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004612/5.576, allocations: 240.4 kB / 1.923 GB, free: 131.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004703/5.577, allocations: 49.61 kB / 1.923 GB, free: 131.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.365e-05/5.577, allocations: 5.156 kB / 1.923 GB, free: 131.3 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004156/5.581, allocations: 0.9011 MB / 1.924 GB, free: 131.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.321e-05/5.581, allocations: 4.875 kB / 1.924 GB, free: 131.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.905e-05/5.581, allocations: 7.438 kB / 1.924 GB, free: 131.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003535/5.585, allocations: 272.2 kB / 1.924 GB, free: 131.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.598e-05/5.585, allocations: 9.5 kB / 1.924 GB, free: 131.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004445/5.589, allocations: 227.8 kB / 1.924 GB, free: 131.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004215/5.59, allocations: 48.42 kB / 1.924 GB, free: 131.2 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,chi.on) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005377/5.591, allocations: 155.9 kB / 1.924 GB, free: 131.1 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000754/5.591, allocations: 153.8 kB / 1.924 GB, free: 131 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005098/5.596, allocations: 1.106 MB / 1.926 GB, free: 130.9 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.04e-05/5.597, allocations: 11.28 kB / 1.926 GB, free: 130.9 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-05/5.597, allocations: 1.375 kB / 1.926 GB, free: 130.9 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003449/5.6, allocations: 0.9243 MB / 1.926 GB, free: 130.8 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.011/5.611, allocations: 3.136 MB / 1.93 GB, free: 129.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.361e-05/5.611, allocations: 3.875 kB / 1.93 GB, free: 129.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002303/5.613, allocations: 241.7 kB / 1.93 GB, free: 129.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-05/5.614, allocations: 11.03 kB / 1.93 GB, free: 129.9 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001751/5.614, allocations: 31.12 kB / 1.93 GB, free: 129.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.228e-05/5.614, allocations: 10.84 kB / 1.93 GB, free: 129.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.985e-06/5.614, allocations: 9.156 kB / 1.93 GB, free: 129.9 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004715/5.618, allocations: 2.101 MB / 1.932 GB, free: 129.1 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001615/5.62, allocations: 486.8 kB / 1.932 GB, free: 128.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005562/5.621, allocations: 18.84 kB / 1.932 GB, free: 128.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003112/5.624, allocations: 185.2 kB / 1.933 GB, free: 128.8 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002986/5.624, allocations: 73.61 kB / 1.933 GB, free: 128.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001847/5.624, allocations: 52.98 kB / 1.933 GB, free: 128.8 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.00221/5.627, allocations: 0.9412 MB / 1.934 GB, free: 128.7 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6.01e-07/5.627, allocations: 0 / 1.934 GB, free: 128.7 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.004452/5.631, allocations: 0.8516 MB / 1.934 GB, free: 128.7 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 2 (chi.vol1.dynBal.U,chi.vol2.dynBal.U) * Number of discrete variables: 4 ($whenCondition1,pulse.T_start,pulse.count,chi.on) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002461/5.634, allocations: 0.8149 MB / 1.935 GB, free: 128.5 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.004637/5.638, allocations: 1.489 MB / 1.937 GB, free: 128.4 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.068e-05/5.638, allocations: 1.281 kB / 1.937 GB, free: 128.4 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001718/5.64, allocations: 0.5188 MB / 1.937 GB, free: 128.4 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007783/5.648, allocations: 0.7562 MB / 1.938 GB, free: 128.4 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006608/5.655, allocations: 2.049 MB / 1.94 GB, free: 127.7 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001548/5.656, allocations: 1.284 MB / 1.941 GB, free: 127 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.004784/5.661, allocations: 497.9 kB / 1.942 GB, free: 127 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007391/5.662, allocations: 97.41 kB / 1.942 GB, free: 127 MB / 0.8698 GB Notification: Performance of SimCode: time 1.102e-06/5.662, allocations: 0 / 1.942 GB, free: 127 MB / 0.8698 GB Notification: Performance of Templates: time 0.09754/5.759, allocations: 36.83 MB / 1.978 GB, free: 126 MB / 0.8698 GB