Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed") translateModel(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001195/0.001195, allocations: 111.3 kB / 16.37 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001208/0.001208, allocations: 189.5 kB / 17.31 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.286/1.286, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7783/0.7783, allocations: 135.1 MB / 426.3 MB, free: 4.094 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 59.91 kB / 0.5068 GB, free: 7.629 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2971/0.2983, allocations: 80.91 MB / 0.5858 GB, free: 25.58 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed): time 0.05504/0.3534, allocations: 69.91 MB / 0.654 GB, free: 4.434 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0182/0.3716, allocations: 14.35 MB / 0.668 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002211/0.3739, allocations: 71.56 kB / 0.6681 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0022/0.3761, allocations: 0.9161 MB / 0.669 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006396/0.3825, allocations: 2.543 MB / 0.6715 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004373/0.3869, allocations: 1.976 MB / 0.6734 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005436/0.3924, allocations: 4.683 MB / 0.678 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002019/0.3944, allocations: 1.622 MB / 0.6796 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003602/0.398, allocations: 1.771 MB / 0.6813 GB, free: 8.434 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001634/0.3997, allocations: 1.26 MB / 0.6825 GB, free: 7.168 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.00026/0.3999, allocations: 196 kB / 0.6827 GB, free: 6.977 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003612/0.4036, allocations: 1.985 MB / 0.6847 GB, free: 4.988 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004012/0.404, allocations: 470.4 kB / 0.6851 GB, free: 4.527 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0009996/0.405, allocations: 1.023 MB / 0.6861 GB, free: 3.5 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004078/0.4091, allocations: 3.518 MB / 0.6896 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.4091, allocations: 3.984 kB / 0.6896 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.262e-06/0.4091, allocations: 0 / 0.6896 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.089e-05/0.4091, allocations: 0 / 0.6896 GB, free: 15.97 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.003675/0.4128, allocations: 2.294 MB / 0.6918 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.4129, allocations: 9.109 kB / 0.6918 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005295/0.4182, allocations: 0.7048 MB / 0.6925 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002416/0.4206, allocations: 1.572 MB / 0.694 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001292/0.4207, allocations: 131.9 kB / 0.6942 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001781/0.4209, allocations: 120 kB / 0.6943 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003521/0.4244, allocations: 1.625 MB / 0.6959 GB, free: 9.297 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.926e-05/0.4245, allocations: 11.94 kB / 0.6959 GB, free: 9.285 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001245/0.4246, allocations: 51.98 kB / 0.6959 GB, free: 9.234 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.233e-05/0.4247, allocations: 40 kB / 0.696 GB, free: 9.195 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004375/0.4291, allocations: 1.46 MB / 0.6974 GB, free: 7.727 MB / 0.5294 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.009216/0.4383, allocations: 6.991 MB / 0.7042 GB, free: 400 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002029/0.4403, allocations: 0.7365 MB / 0.7049 GB, free: 15.65 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001549/0.4419, allocations: 0.4904 MB / 0.7054 GB, free: 15.15 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001256/0.4432, allocations: 1.267 MB / 0.7066 GB, free: 13.61 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.4432, allocations: 47.12 kB / 0.7067 GB, free: 13.55 MB / 0.545 GB Notification: Performance of pre-optimization done (n=68): time 2.174e-06/0.4432, allocations: 0 / 0.7067 GB, free: 13.55 MB / 0.545 GB Notification: Performance of matching and sorting (n=68): time 0.01874/0.462, allocations: 3.008 MB / 0.7096 GB, free: 10.52 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.95e-05/0.462, allocations: 111.4 kB / 0.7097 GB, free: 10.38 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001908/0.464, allocations: 1.382 MB / 0.7111 GB, free: 8.988 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001006/0.4641, allocations: 45.7 kB / 0.7111 GB, free: 8.938 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005401/0.4646, allocations: 0.6917 MB / 0.7118 GB, free: 8.238 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002028/0.4648, allocations: 244.5 kB / 0.712 GB, free: 7.996 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003667/0.4652, allocations: 234.3 kB / 0.7123 GB, free: 7.758 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.4653, allocations: 345.9 kB / 0.7126 GB, free: 7.414 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001816/0.4671, allocations: 0.5044 MB / 0.7131 GB, free: 6.906 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002027/0.4692, allocations: 0.7828 MB / 0.7138 GB, free: 6.012 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003308/0.4725, allocations: 1.133 MB / 0.7149 GB, free: 4.789 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.4725, allocations: 0 / 0.7149 GB, free: 4.789 MB / 0.545 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.004691/0.4772, allocations: 1.562 MB / 0.7165 GB, free: 3.215 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/0.4772, allocations: 8 kB / 0.7165 GB, free: 3.207 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.4773, allocations: 7.938 kB / 0.7165 GB, free: 3.199 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001624/0.4789, allocations: 489.4 kB / 0.717 GB, free: 2.723 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001289/0.4802, allocations: 255.6 kB / 0.7172 GB, free: 2.473 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001549/0.4818, allocations: 0.9953 MB / 0.7182 GB, free: 1.453 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001964/0.4837, allocations: 222.7 kB / 0.7184 GB, free: 1.234 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000107/0.4838, allocations: 59.94 kB / 0.7184 GB, free: 1.176 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002217/0.4861, allocations: 0.7986 MB / 0.7192 GB, free: 384 kB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001933/0.488, allocations: 0.7783 MB / 0.72 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00336/0.4914, allocations: 1.129 MB / 0.7211 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.186e-06/0.4914, allocations: 0 / 0.7211 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of matching and sorting (n=114) (initialization_lambda0): time 0.004663/0.4961, allocations: 1.559 MB / 0.7226 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.4961, allocations: 12.03 kB / 0.7226 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.4961, allocations: 8 kB / 0.7226 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001558/0.4977, allocations: 487 kB / 0.7231 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001286/0.499, allocations: 255.6 kB / 0.7233 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001491/0.5005, allocations: 0.9914 MB / 0.7243 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001989/0.5025, allocations: 199.2 kB / 0.7245 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001011/0.5026, allocations: 51.95 kB / 0.7245 GB, free: 10.7 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (heaPum.com.isOn,$PRE.heaPum.com.isOn) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0002938/0.5029, allocations: 236.9 kB / 0.7248 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002686/0.5032, allocations: 142.3 kB / 0.7249 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004029/0.5072, allocations: 1.303 MB / 0.7262 GB, free: 8.996 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.129e-05/0.5072, allocations: 12 kB / 0.7262 GB, free: 8.984 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.5072, allocations: 0 / 0.7262 GB, free: 8.984 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003436/0.5107, allocations: 1.112 MB / 0.7273 GB, free: 7.836 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006752/0.5174, allocations: 3.05 MB / 0.7302 GB, free: 4.664 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.137e-06/0.5175, allocations: 4 kB / 0.7303 GB, free: 4.66 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008686/0.5183, allocations: 147.9 kB / 0.7304 GB, free: 4.516 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001548/0.5199, allocations: 475.4 kB / 0.7308 GB, free: 4.051 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.626e-05/0.52, allocations: 27.97 kB / 0.7309 GB, free: 4.023 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00153/0.5215, allocations: 0.9953 MB / 0.7318 GB, free: 3.004 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.452e-06/0.5215, allocations: 7.938 kB / 0.7319 GB, free: 2.996 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005522/0.5271, allocations: 1.928 MB / 0.7337 GB, free: 0.9922 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007202/0.5278, allocations: 359 kB / 0.7341 GB, free: 0.6211 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002127/0.528, allocations: 16 kB / 0.7341 GB, free: 0.6055 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001544/0.5296, allocations: 111.9 kB / 0.7342 GB, free: 0.4961 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001208/0.5297, allocations: 64.23 kB / 0.7343 GB, free: 444 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.135e-05/0.5298, allocations: 51.89 kB / 0.7343 GB, free: 392 kB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001498/0.5313, allocations: 0.9933 MB / 0.7353 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.1e-07/0.5313, allocations: 0 / 0.7353 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002121/0.5334, allocations: 0.9007 MB / 0.7362 GB, free: 14.49 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * Number of discrete variables: 1 (heaPum.com.isOn) * Number of discrete states: 1 (heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,19)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001031/0.5345, allocations: 0.5469 MB / 0.7367 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.005989/0.5405, allocations: 1.822 MB / 0.7385 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.453e-06/0.5405, allocations: 8.125 kB / 0.7385 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00173/0.5422, allocations: 0.5133 MB / 0.739 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003382/0.5456, allocations: 0.8309 MB / 0.7398 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005113/0.5508, allocations: 2.672 MB / 0.7424 GB, free: 8.059 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007013/0.5515, allocations: 1.203 MB / 0.7436 GB, free: 6.824 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001268/0.5527, allocations: 373.4 kB / 0.7439 GB, free: 6.465 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003238/0.5531, allocations: 131.3 kB / 0.7441 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of SimCode: time 5.61e-07/0.5531, allocations: 0 / 0.7441 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of Templates: time 0.2691/0.8222, allocations: 39.19 MB / 0.7823 GB, free: 133.9 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe 2>&1)