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.001144/0.001144, allocations: 111 kB / 16.42 MB, free: 6.496 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.001998/0.001997, allocations: 188.3 kB / 17.35 MB, free: 5.762 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.352/1.352, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7787/0.7787, allocations: 132.2 MB / 423.4 MB, free: 6.559 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 65.72 kB / 0.582 GB, free: 23.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1503, allocations: 80.21 MB / 0.6604 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic): time 0.4543/0.6047, allocations: 130.8 MB / 0.7881 GB, free: 19.66 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02879/0.6335, allocations: 24.97 MB / 0.8125 GB, free: 7.473 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005282/0.6388, allocations: 139.1 kB / 0.8126 GB, free: 7.422 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.004516/0.6434, allocations: 1.781 MB / 0.8144 GB, free: 6.332 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01184/0.6553, allocations: 4.718 MB / 0.819 GB, free: 2.703 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00837/0.6636, allocations: 3.527 MB / 0.8224 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01138/0.675, allocations: 8.967 MB / 0.8312 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005225/0.6803, allocations: 3.187 MB / 0.8343 GB, free: 8.586 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008266/0.6886, allocations: 3.532 MB / 0.8377 GB, free: 6.441 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005448/0.6941, allocations: 2.48 MB / 0.8402 GB, free: 4.203 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001448/0.6955, allocations: 388 kB / 0.8405 GB, free: 3.824 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008179/0.7037, allocations: 2.89 MB / 0.8434 GB, free: 0.9297 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001527/0.7053, allocations: 0.8877 MB / 0.8442 GB, free: 40 kB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.004024/0.7093, allocations: 1.988 MB / 0.8462 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01202/0.7214, allocations: 6.367 MB / 0.8524 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.7214, allocations: 3.938 kB / 0.8524 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.563e-06/0.7214, allocations: 0 / 0.8524 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001654/0.7216, allocations: 0 / 0.8524 GB, free: 7.66 MB / 0.6075 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.009683/0.7313, allocations: 4.063 MB / 0.8564 GB, free: 3.492 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.7313, allocations: 12.03 kB / 0.8564 GB, free: 3.48 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01176/0.7431, allocations: 1.373 MB / 0.8577 GB, free: 2.102 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006484/0.7496, allocations: 2.988 MB / 0.8606 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003362/0.75, allocations: 259.9 kB / 0.8609 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007463/0.7508, allocations: 228 kB / 0.8611 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0103/0.7611, allocations: 3.195 MB / 0.8642 GB, free: 11.16 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.224e-05/0.7612, allocations: 4 kB / 0.8642 GB, free: 11.16 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006689/0.7619, allocations: 111.9 kB / 0.8643 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.645e-05/0.762, allocations: 71.92 kB / 0.8644 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01076/0.7728, allocations: 2.827 MB / 0.8672 GB, free: 8.133 MB / 0.6231 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.02311/0.7959, allocations: 13.6 MB / 0.8804 GB, free: 9.887 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004598/0.8005, allocations: 1.479 MB / 0.8819 GB, free: 8.402 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003269/0.8038, allocations: 0.912 MB / 0.8828 GB, free: 7.484 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001774/0.8056, allocations: 1.781 MB / 0.8845 GB, free: 5.316 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003934/0.8096, allocations: 1.185 MB / 0.8857 GB, free: 4.062 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=126): time 6.713e-06/0.8096, allocations: 0 / 0.8857 GB, free: 4.062 MB / 0.6387 GB Notification: Performance of matching and sorting (n=132): time 0.05785/0.8675, allocations: 11.67 MB / 0.8971 GB, free: 8.23 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002731/0.8678, allocations: 0.5805 MB / 0.8976 GB, free: 7.512 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004955/0.8728, allocations: 2.635 MB / 0.9002 GB, free: 4.859 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0003847/0.8732, allocations: 61.7 kB / 0.9003 GB, free: 4.793 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001243/0.8744, allocations: 1.319 MB / 0.9016 GB, free: 3.461 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.00061/0.875, allocations: 461.5 kB / 0.902 GB, free: 3.004 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007317/0.8758, allocations: 458.8 kB / 0.9024 GB, free: 2.547 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.788e-05/0.8759, allocations: 309.1 kB / 0.9027 GB, free: 2.242 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003975/0.8799, allocations: 0.9806 MB / 0.9037 GB, free: 1.258 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004529/0.8844, allocations: 1.581 MB / 0.9052 GB, free: 15.43 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007633/0.8921, allocations: 2.251 MB / 0.9074 GB, free: 13 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.195e-05/0.8921, allocations: 8 kB / 0.9074 GB, free: 13 MB / 0.67 GB Notification: Performance of matching and sorting (n=225) (initialization): time 0.02493/0.917, allocations: 4.154 MB / 0.9115 GB, free: 8.816 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 6.441e-05/0.9171, allocations: 40.05 kB / 0.9115 GB, free: 8.773 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.642e-05/0.9172, allocations: 15.98 kB / 0.9116 GB, free: 8.758 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004181/0.9214, allocations: 1.161 MB / 0.9127 GB, free: 7.602 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002732/0.9241, allocations: 463.2 kB / 0.9131 GB, free: 7.148 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004373/0.9285, allocations: 2.378 MB / 0.9154 GB, free: 4.719 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004682/0.9332, allocations: 295.5 kB / 0.9157 GB, free: 4.43 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003603/0.9336, allocations: 111.9 kB / 0.9158 GB, free: 4.32 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005141/0.9388, allocations: 1.485 MB / 0.9173 GB, free: 2.832 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00458/0.9434, allocations: 1.561 MB / 0.9188 GB, free: 1.031 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00767/0.9511, allocations: 2.228 MB / 0.921 GB, free: 14.63 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.741e-05/0.9511, allocations: 4 kB / 0.921 GB, free: 14.62 MB / 0.6856 GB Notification: Performance of matching and sorting (n=225) (initialization_lambda0): time 0.02507/0.9762, allocations: 4.119 MB / 0.925 GB, free: 10.48 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 6.767e-05/0.9763, allocations: 37.64 kB / 0.925 GB, free: 10.44 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.211e-05/0.9763, allocations: 16.09 kB / 0.9251 GB, free: 10.42 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004109/0.9804, allocations: 1.156 MB / 0.9262 GB, free: 9.266 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002718/0.9832, allocations: 451.2 kB / 0.9266 GB, free: 8.824 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004423/0.9876, allocations: 2.39 MB / 0.929 GB, free: 6.383 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005011/0.9927, allocations: 308.2 kB / 0.9293 GB, free: 6.082 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005346/0.9932, allocations: 103.9 kB / 0.9293 GB, free: 5.98 MB / 0.6856 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.001175/0.9944, allocations: 299.8 kB / 0.9296 GB, free: 5.68 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001544/0.996, allocations: 284.6 kB / 0.9299 GB, free: 5.398 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009557/1.006, allocations: 2.396 MB / 0.9322 GB, free: 2.984 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007397/1.013, allocations: 2.002 MB / 0.9342 GB, free: 0.9258 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.586e-05/1.013, allocations: 4.25 kB / 0.9342 GB, free: 0.9219 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001666/1.015, allocations: 0.5795 MB / 0.9348 GB, free: 328 kB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008141/1.016, allocations: 35.94 kB / 0.9348 GB, free: 292 kB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003619/1.019, allocations: 227.6 kB / 0.935 GB, free: 64 kB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002557/1.019, allocations: 88.88 kB / 0.9351 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01433/1.034, allocations: 3.381 MB / 0.9384 GB, free: 12.57 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01155/1.045, allocations: 3.762 MB / 0.9421 GB, free: 8.797 MB / 0.7012 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003429/1.049, allocations: 0.8903 MB / 0.943 GB, free: 7.906 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.004076/1.053, allocations: 1.843 MB / 0.9448 GB, free: 6.062 MB / 0.7012 GB Notification: Performance of Backend: time 9.82e-07/1.053, allocations: 0 / 0.9448 GB, free: 6.062 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.01677/1.07, allocations: 4.024 MB / 0.9487 GB, free: 2.031 MB / 0.7012 GB Notification: Performance of SimCode: time 0.01581/1.086, allocations: 6.399 MB / 0.9549 GB, free: 11.64 MB / 0.7169 GB Notification: Performance of Templates: time 0.1377/1.223, allocations: 92.11 MB / 1.045 GB, free: 15.98 MB / 0.8106 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)