Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.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.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.394/2.394, allocations: 253.2 MB / 260.6 MB, free: 7.461 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.002033/0.002033, allocations: 186.9 kB / 319.9 MB, free: 3.066 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.079/2.079, allocations: 205.6 MB / 0.5708 GB, free: 15.24 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.001124/0.001123, allocations: 94.75 kB / 0.6751 GB, free: 4.605 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.535e-05/1.535e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2033/0.2033, allocations: 106.3 MB / 0.8887 GB, free: 11.86 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.039/2.243, allocations: 466.7 MB / 1.344 GB, free: 244 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002783/2.243, allocations: 91.33 kB / 1.345 GB, free: 244 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 5.396/7.64, allocations: 0.9669 GB / 2.311 GB, free: 114.2 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.435e-06/7.64, allocations: 0 / 2.311 GB, free: 114.2 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0004894/7.64, allocations: 70.86 kB / 2.311 GB, free: 114.2 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 384 * Number of variables: 384 Notification: Performance of Generate backend data structure: time 0.01105/7.651, allocations: 2.75 MB / 2.314 GB, free: 113.2 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.308e-05/7.651, allocations: 9.281 kB / 2.314 GB, free: 113.2 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005628/7.657, allocations: 0.6488 MB / 2.315 GB, free: 113 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01145/7.668, allocations: 2.957 MB / 2.318 GB, free: 112.6 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001384/7.67, allocations: 274.2 kB / 2.318 GB, free: 112.5 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007291/7.671, allocations: 98.83 kB / 2.318 GB, free: 112.5 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004859/7.675, allocations: 1.529 MB / 2.32 GB, free: 112.5 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004881/7.68, allocations: 1.656 MB / 2.321 GB, free: 112.2 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.179e-05/7.68, allocations: 4.969 kB / 2.321 GB, free: 112.2 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000284/7.681, allocations: 8.047 kB / 2.321 GB, free: 112.2 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.615e-05/7.681, allocations: 42.75 kB / 2.321 GB, free: 112.2 MB / 0.8855 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.021/7.702, allocations: 9.304 MB / 2.33 GB, free: 107.5 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0022/7.704, allocations: 0.9341 MB / 2.331 GB, free: 107.5 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001356/7.706, allocations: 0.5773 MB / 2.332 GB, free: 107.5 MB / 0.8855 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 evalFunc (simulation): time 0.01181/7.717, allocations: 3.994 MB / 2.336 GB, free: 105.7 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001731/7.719, allocations: 0.733 MB / 2.336 GB, free: 105.6 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001756/7.721, allocations: 162.1 kB / 2.337 GB, free: 105.5 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=96): time 1.043e-05/7.721, allocations: 0 / 2.337 GB, free: 105.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=96): time 0.005008/7.726, allocations: 1.259 MB / 2.338 GB, free: 105.4 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.704e-05/7.726, allocations: 191 kB / 2.338 GB, free: 105.1 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005007/7.731, allocations: 1.769 MB / 2.34 GB, free: 104.9 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0005237/7.732, allocations: 32.73 kB / 2.34 GB, free: 104.9 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001756/7.734, allocations: 1.162 MB / 2.341 GB, free: 104.5 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006437/7.734, allocations: 313.3 kB / 2.341 GB, free: 104.3 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000173/7.734, allocations: 3.75 kB / 2.341 GB, free: 104.3 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001266/7.735, allocations: 355.5 kB / 2.341 GB, free: 104 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001271/7.736, allocations: 0.529 MB / 2.342 GB, free: 104 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001556/7.737, allocations: 0.991 MB / 2.343 GB, free: 103.5 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002727/7.74, allocations: 0.6958 MB / 2.344 GB, free: 103.4 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.705e-05/7.74, allocations: 0 / 2.344 GB, free: 103.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.005738/7.746, allocations: 1.687 MB / 2.345 GB, free: 103.3 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009212/7.747, allocations: 4.193 MB / 2.349 GB, free: 98.81 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.207e-05/7.747, allocations: 17.64 kB / 2.349 GB, free: 98.81 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.747e-05/7.747, allocations: 19.38 kB / 2.349 GB, free: 98.81 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003571/7.751, allocations: 406.7 kB / 2.35 GB, free: 98.81 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.44e-05/7.751, allocations: 25.98 kB / 2.35 GB, free: 98.81 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00463/7.755, allocations: 258.3 kB / 2.35 GB, free: 98.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005367/7.756, allocations: 74.64 kB / 2.35 GB, free: 98.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/7.756, allocations: 3.969 kB / 2.35 GB, free: 98.8 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004955/7.761, allocations: 1.399 MB / 2.352 GB, free: 98.77 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.835e-05/7.761, allocations: 13.55 kB / 2.352 GB, free: 98.77 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.852e-05/7.761, allocations: 18.47 kB / 2.352 GB, free: 98.77 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003407/7.765, allocations: 411.3 kB / 2.352 GB, free: 98.77 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.139e-05/7.765, allocations: 27.88 kB / 2.352 GB, free: 98.77 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004408/7.769, allocations: 226.7 kB / 2.352 GB, free: 98.75 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005416/7.77, allocations: 74.94 kB / 2.352 GB, free: 98.75 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 21 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,heaPum.uMod,$PRE.uMod.T_start,uMod.T_start,$PRE.uMod.count,uMod.count,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,$PRE.TSouEnt.T_start,TSouEnt.T_start,$PRE.TSouEnt.count,TSouEnt.count,$PRE.TLoaSet.T_start,TLoaSet.T_start,$PRE.TLoaSet.count,TLoaSet.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (170): * Single equations (assignments): 167 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * 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.0005822/7.77, allocations: 150.3 kB / 2.352 GB, free: 98.64 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007786/7.771, allocations: 225.2 kB / 2.353 GB, free: 98.52 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00479/7.776, allocations: 1.469 MB / 2.354 GB, free: 98.42 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.456e-05/7.776, allocations: 18.56 kB / 2.354 GB, free: 98.42 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.208e-06/7.776, allocations: 0 / 2.354 GB, free: 98.42 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00306/7.779, allocations: 1.165 MB / 2.355 GB, free: 98.23 MB / 0.8855 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 postOpt removeSimpleEquations (simulation): time 0.009921/7.789, allocations: 3.466 MB / 2.359 GB, free: 97.72 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-05/7.789, allocations: 0 / 2.359 GB, free: 97.72 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002509/7.792, allocations: 269.5 kB / 2.359 GB, free: 97.72 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.942e-05/7.792, allocations: 6.531 kB / 2.359 GB, free: 97.72 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000183/7.792, allocations: 21.14 kB / 2.359 GB, free: 97.72 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.618e-06/7.792, allocations: 6.5 kB / 2.359 GB, free: 97.72 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/7.792, allocations: 3.625 kB / 2.359 GB, free: 97.72 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005728/7.798, allocations: 2.247 MB / 2.361 GB, free: 97.32 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001996/7.8, allocations: 494.4 kB / 2.362 GB, free: 97.11 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008333/7.8, allocations: 10.83 kB / 2.362 GB, free: 97.11 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004065/7.805, allocations: 210.7 kB / 2.362 GB, free: 97.1 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000532/7.805, allocations: 111.3 kB / 2.362 GB, free: 97.09 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002377/7.805, allocations: 50.33 kB / 2.362 GB, free: 97.09 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.003151/7.809, allocations: 1.325 MB / 2.363 GB, free: 96.95 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5.81e-07/7.809, allocations: 0 / 2.363 GB, free: 96.95 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.007205/7.816, allocations: 1.374 MB / 2.365 GB, free: 96.72 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (pum.vol.dynBal.U,pum.filter.x[1],pum.filter.x[2],vol.dynBal.U) * Number of discrete variables: 13 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,heaPum.uMod,uMod.T_start,uMod.count,pulse.T_start,pulse.count,TSouEnt.T_start,TSouEnt.count,TLoaSet.T_start,TLoaSet.count) * Number of discrete states: 4 (uMod.count,pulse.count,TSouEnt.count,TLoaSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 8 * 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.003736/7.82, allocations: 1.474 MB / 2.366 GB, free: 96.35 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.005487/7.825, allocations: 2.206 MB / 2.368 GB, free: 96.25 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 9.187e-06/7.825, allocations: 2.844 kB / 2.368 GB, free: 96.25 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001613/7.827, allocations: 0.6335 MB / 2.369 GB, free: 96.25 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008187/7.835, allocations: 0.9435 MB / 2.37 GB, free: 96.23 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009347/7.844, allocations: 3.077 MB / 2.373 GB, free: 95.41 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001487/7.846, allocations: 1.69 MB / 2.374 GB, free: 94.67 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.006282/7.852, allocations: 0.7966 MB / 2.375 GB, free: 94.65 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008531/7.853, allocations: 141.3 kB / 2.375 GB, free: 94.64 MB / 0.8855 GB Notification: Performance of SimCode: time 1.212e-06/7.853, allocations: 1.969 kB / 2.375 GB, free: 94.64 MB / 0.8855 GB Notification: Performance of Templates: time 0.1187/7.972, allocations: 47.93 MB / 2.422 GB, free: 91.99 MB / 0.8855 GB