Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic") translateModel(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008773/0.0008773, allocations: 90.44 kB / 15.36 MB, free: 0.7383 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.006506/0.006507, allocations: 172.5 kB / 16.26 MB, free: 6.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.355/1.355, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.737/0.737, allocations: 132.3 MB / 423.8 MB, free: 1.965 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003653/0.0003654, allocations: 8 kB / 0.504 GB, free: 3.895 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4462/0.4465, allocations: 81.57 MB / 0.5837 GB, free: 4.039 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic): time 0.1248/0.5713, allocations: 127.9 MB / 0.7086 GB, free: 156 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.03425/0.6056, allocations: 24.88 MB / 0.7329 GB, free: 7.215 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004525/0.6102, allocations: 119.2 kB / 0.733 GB, free: 7.098 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.004519/0.6147, allocations: 1.414 MB / 0.7344 GB, free: 5.676 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.01153/0.6263, allocations: 4.147 MB / 0.7384 GB, free: 1.516 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.008355/0.6346, allocations: 3.203 MB / 0.7416 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0146/0.6492, allocations: 11.36 MB / 0.7526 GB, free: 2.973 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004603/0.6539, allocations: 2.534 MB / 0.7551 GB, free: 388 kB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005968/0.6599, allocations: 2.749 MB / 0.7578 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003851/0.6637, allocations: 2.31 MB / 0.7601 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0007643/0.6645, allocations: 132 kB / 0.7602 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006046/0.6706, allocations: 2.468 MB / 0.7626 GB, free: 8.695 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0009174/0.6715, allocations: 0.6182 MB / 0.7632 GB, free: 8.074 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002475/0.674, allocations: 1.716 MB / 0.7649 GB, free: 6.344 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00776/0.6818, allocations: 6.036 MB / 0.7708 GB, free: 296 kB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.6818, allocations: 0 / 0.7708 GB, free: 296 kB / 0.5919 GB Notification: Performance of FrontEnd: time 2.094e-06/0.6818, allocations: 0 / 0.7708 GB, free: 296 kB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.369e-05/0.6819, allocations: 0 / 0.7708 GB, free: 296 kB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.005973/0.6879, allocations: 3.37 MB / 0.7741 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.6879, allocations: 8.031 kB / 0.7741 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01101/0.6989, allocations: 1.451 MB / 0.7755 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005217/0.7042, allocations: 2.93 MB / 0.7783 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003064/0.7045, allocations: 259.9 kB / 0.7786 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005507/0.7051, allocations: 232 kB / 0.7788 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007956/0.713, allocations: 3.245 MB / 0.782 GB, free: 4.414 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.613e-05/0.7131, allocations: 3.938 kB / 0.782 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002716/0.7134, allocations: 107.9 kB / 0.7821 GB, free: 4.305 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.051e-05/0.7135, allocations: 75.92 kB / 0.7822 GB, free: 4.23 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009397/0.7229, allocations: 2.889 MB / 0.785 GB, free: 1.324 MB / 0.6075 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.0214/0.7443, allocations: 13.65 MB / 0.7983 GB, free: 3.016 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004474/0.7488, allocations: 1.507 MB / 0.7998 GB, free: 1.512 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003267/0.7521, allocations: 0.944 MB / 0.8007 GB, free: 0.5625 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001904/0.754, allocations: 1.781 MB / 0.8024 GB, free: 14.39 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003883/0.7579, allocations: 1.212 MB / 0.8036 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=126): time 3.887e-06/0.758, allocations: 3.938 kB / 0.8036 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of matching and sorting (n=132): time 0.05812/0.8161, allocations: 11.93 MB / 0.8153 GB, free: 1.02 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000302/0.8164, allocations: 0.5848 MB / 0.8159 GB, free: 308 kB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3459/1.162, allocations: 2.603 MB / 0.8184 GB, free: 210.3 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0004279/1.163, allocations: 59.33 kB / 0.8185 GB, free: 210.2 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001226/1.164, allocations: 1.328 MB / 0.8198 GB, free: 209.6 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006126/1.165, allocations: 459.5 kB / 0.8202 GB, free: 209.5 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002824/1.165, allocations: 145 kB / 0.8203 GB, free: 209.4 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 4.894e-05/1.165, allocations: 305.1 kB / 0.8206 GB, free: 209.1 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004191/1.169, allocations: 1.012 MB / 0.8216 GB, free: 208.8 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004533/1.174, allocations: 1.613 MB / 0.8232 GB, free: 207.8 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007623/1.181, allocations: 2.31 MB / 0.8254 GB, free: 206.7 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.668e-06/1.181, allocations: 4.562 kB / 0.8254 GB, free: 206.7 MB / 0.6387 GB Notification: Performance of matching and sorting (n=225) (initialization): time 0.02586/1.207, allocations: 4.269 MB / 0.8296 GB, free: 205.5 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.000306/1.208, allocations: 0.4892 MB / 0.8301 GB, free: 204.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.522e-05/1.208, allocations: 12.22 kB / 0.8301 GB, free: 204.9 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004158/1.212, allocations: 1.161 MB / 0.8312 GB, free: 204.7 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002757/1.215, allocations: 472.7 kB / 0.8317 GB, free: 204.7 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004119/1.219, allocations: 2.391 MB / 0.834 GB, free: 203.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005299/1.224, allocations: 414.3 kB / 0.8344 GB, free: 203.1 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000309/1.224, allocations: 110.7 kB / 0.8345 GB, free: 203 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/1.224, allocations: 3.406 kB / 0.8345 GB, free: 203 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02503/1.249, allocations: 3.968 MB / 0.8384 GB, free: 201.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-05/1.25, allocations: 16.44 kB / 0.8384 GB, free: 201.9 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004585/1.254, allocations: 1.17 MB / 0.8396 GB, free: 201.6 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003074/1.257, allocations: 463 kB / 0.84 GB, free: 201.4 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004057/1.261, allocations: 2.382 MB / 0.8423 GB, free: 199.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004898/1.266, allocations: 373.3 kB / 0.8427 GB, free: 199.5 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002926/1.267, allocations: 106.9 kB / 0.8428 GB, free: 199.5 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 10 (realToInteger.y,N.count,$PRE.N.count,N.T_start,$PRE.N.T_start,heaPum1.com.isOn,$PRE.heaPum1.com.isOn,heaPum.com.isOn,$PRE.heaPum.com.isOn,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (166): * Single equations (assignments): 163 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(4,25), (4,27)} Notification: Performance of prepare postOptimizeDAE: time 0.00145/1.268, allocations: 0.6976 MB / 0.8435 GB, free: 198.9 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005073/1.269, allocations: 282.6 kB / 0.8437 GB, free: 198.8 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007938/1.277, allocations: 2.472 MB / 0.8462 GB, free: 197.5 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.326e-05/1.277, allocations: 11.88 kB / 0.8462 GB, free: 197.5 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.137e-05/1.277, allocations: 9.469 kB / 0.8462 GB, free: 197.5 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00684/1.283, allocations: 2.064 MB / 0.8482 GB, free: 196.3 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0213/1.305, allocations: 7.099 MB / 0.8551 GB, free: 191.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.39e-05/1.305, allocations: 7.75 kB / 0.8551 GB, free: 191.6 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00179/1.307, allocations: 287.5 kB / 0.8554 GB, free: 191.5 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003352/1.31, allocations: 1.03 MB / 0.8564 GB, free: 190.6 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001907/1.31, allocations: 58.56 kB / 0.8565 GB, free: 190.6 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00313/1.313, allocations: 2.152 MB / 0.8586 GB, free: 188.4 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.146e-06/1.313, allocations: 11.98 kB / 0.8586 GB, free: 188.4 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01318/1.327, allocations: 3.844 MB / 0.8623 GB, free: 184.4 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001863/1.328, allocations: 0.6574 MB / 0.863 GB, free: 183.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009037/1.329, allocations: 36 kB / 0.863 GB, free: 183.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004002/1.333, allocations: 299.5 kB / 0.8633 GB, free: 183.4 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002536/1.334, allocations: 120.7 kB / 0.8634 GB, free: 183.3 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001927/1.334, allocations: 67.92 kB / 0.8635 GB, free: 183.2 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.003292/1.337, allocations: 1.844 MB / 0.8653 GB, free: 181.4 MB / 0.6387 GB Notification: Performance of sort global known variables: time 8.52e-07/1.337, allocations: 0 / 0.8653 GB, free: 181.4 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.005299/1.343, allocations: 1.475 MB / 0.8667 GB, free: 179.9 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 2 (heaPum1.con.vol.dynBal.U,heaPum1.eva.vol.dynBal.U) * Number of discrete variables: 6 ($whenCondition1,heaPum.com.isOn,heaPum1.com.isOn,N.T_start,N.count,realToInteger.y) * Number of discrete states: 3 (N.count,heaPum1.com.isOn,heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,19), (4,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001788/1.344, allocations: 0.8059 MB / 0.8675 GB, free: 179.3 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01217/1.356, allocations: 3.816 MB / 0.8712 GB, free: 175.4 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.654e-05/1.357, allocations: 4.438 kB / 0.8712 GB, free: 175.4 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.003621/1.36, allocations: 1.115 MB / 0.8723 GB, free: 174.3 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01175/1.372, allocations: 1.562 MB / 0.8738 GB, free: 172.8 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01136/1.383, allocations: 6.138 MB / 0.8798 GB, free: 166.6 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009638/1.384, allocations: 1.717 MB / 0.8815 GB, free: 164.8 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.003199/1.388, allocations: 0.6503 MB / 0.8822 GB, free: 164.2 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006358/1.388, allocations: 251.2 kB / 0.8824 GB, free: 163.9 MB / 0.6387 GB Notification: Performance of SimCode: time 6.51e-07/1.388, allocations: 4 kB / 0.8824 GB, free: 163.9 MB / 0.6387 GB Notification: Performance of Templates: time 0.1009/1.489, allocations: 76.18 MB / 0.9568 GB, free: 88.57 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.makefile (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe 2>&1)