Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic") translateModel(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001218/0.001218, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001728/0.001729, allocations: 173.7 kB / 16.92 MB, free: 6.629 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.347/1.347, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9599/0.9599, allocations: 135.3 MB / 427.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003348/0.0003348, allocations: 8.844 kB / 0.5082 GB, free: 4.785 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1626/0.1629, allocations: 82.32 MB / 0.5886 GB, free: 2.633 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic): time 0.4198/0.5828, allocations: 127.9 MB / 0.7135 GB, free: 80 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0395/0.6223, allocations: 24.86 MB / 0.7378 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007305/0.6297, allocations: 119.9 kB / 0.7379 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.006175/0.6359, allocations: 1.421 MB / 0.7393 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.01557/0.6515, allocations: 4.153 MB / 0.7434 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0105/0.662, allocations: 3.184 MB / 0.7465 GB, free: 7.867 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.01535/0.6774, allocations: 11.37 MB / 0.7576 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005678/0.6831, allocations: 2.528 MB / 0.76 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007649/0.6908, allocations: 2.745 MB / 0.7627 GB, free: 9.949 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004891/0.6957, allocations: 2.313 MB / 0.765 GB, free: 7.625 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001223/0.697, allocations: 128 kB / 0.7651 GB, free: 7.5 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008073/0.7051, allocations: 2.472 MB / 0.7675 GB, free: 5.023 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001653/0.7068, allocations: 0.6182 MB / 0.7681 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.004373/0.7112, allocations: 1.716 MB / 0.7698 GB, free: 2.672 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.008276/0.7195, allocations: 4.83 MB / 0.7745 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.7195, allocations: 0 / 0.7745 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.236e-06/0.7195, allocations: 0 / 0.7745 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001933/0.7197, allocations: 0 / 0.7745 GB, free: 13.83 MB / 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.008174/0.7279, allocations: 3.374 MB / 0.7778 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.036e-05/0.728, allocations: 15.95 kB / 0.7778 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01133/0.7393, allocations: 1.455 MB / 0.7792 GB, free: 8.883 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006381/0.7457, allocations: 2.929 MB / 0.7821 GB, free: 5.879 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003687/0.7461, allocations: 263.9 kB / 0.7824 GB, free: 5.605 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000743/0.7469, allocations: 236 kB / 0.7826 GB, free: 5.375 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009827/0.7567, allocations: 3.237 MB / 0.7857 GB, free: 1.949 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.447e-05/0.7569, allocations: 7.938 kB / 0.7857 GB, free: 1.941 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005625/0.7575, allocations: 100 kB / 0.7858 GB, free: 1.844 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.503e-05/0.7576, allocations: 79.92 kB / 0.7859 GB, free: 1.766 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01086/0.7684, allocations: 2.893 MB / 0.7887 GB, free: 14.86 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.02379/0.7923, allocations: 13.66 MB / 0.8021 GB, free: 0.5586 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004758/0.7971, allocations: 1.504 MB / 0.8036 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003379/0.8005, allocations: 0.9393 MB / 0.8045 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001911/0.8024, allocations: 1.781 MB / 0.8062 GB, free: 11.95 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00406/0.8065, allocations: 1.222 MB / 0.8074 GB, free: 10.66 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=126): time 7.594e-06/0.8066, allocations: 0 / 0.8074 GB, free: 10.66 MB / 0.6231 GB Notification: Performance of matching and sorting (n=132): time 0.05855/0.8651, allocations: 11.94 MB / 0.8191 GB, free: 14.55 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002785/0.8654, allocations: 0.5766 MB / 0.8196 GB, free: 13.84 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005066/0.8705, allocations: 2.616 MB / 0.8222 GB, free: 11.21 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0004027/0.871, allocations: 57.7 kB / 0.8222 GB, free: 11.15 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001334/0.8723, allocations: 1.329 MB / 0.8235 GB, free: 9.805 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007241/0.873, allocations: 457.4 kB / 0.824 GB, free: 9.352 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004309/0.8735, allocations: 149.6 kB / 0.8241 GB, free: 9.199 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.8736, allocations: 301.1 kB / 0.8244 GB, free: 8.902 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004108/0.8777, allocations: 1.015 MB / 0.8254 GB, free: 7.887 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004696/0.8824, allocations: 1.604 MB / 0.827 GB, free: 6.039 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007659/0.8901, allocations: 2.309 MB / 0.8292 GB, free: 3.555 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-05/0.8902, allocations: 4 kB / 0.8292 GB, free: 3.551 MB / 0.6387 GB Notification: Performance of matching and sorting (n=225) (initialization): time 0.02538/0.9156, allocations: 4.264 MB / 0.8334 GB, free: 15.26 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004735/0.9161, allocations: 494 kB / 0.8338 GB, free: 14.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.63e-05/0.9162, allocations: 12 kB / 0.8339 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004473/0.9206, allocations: 1.164 MB / 0.835 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002767/0.9234, allocations: 471.4 kB / 0.8354 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004294/0.9278, allocations: 2.402 MB / 0.8378 GB, free: 10.51 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00513/0.9329, allocations: 426.5 kB / 0.8382 GB, free: 10.1 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004115/0.9333, allocations: 103.9 kB / 0.8383 GB, free: 9.996 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.9334, allocations: 4 kB / 0.8383 GB, free: 9.992 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02368/0.9571, allocations: 3.973 MB / 0.8422 GB, free: 6.008 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.366e-05/0.9572, allocations: 16.22 kB / 0.8422 GB, free: 5.992 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004115/0.9613, allocations: 1.164 MB / 0.8433 GB, free: 4.824 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002681/0.964, allocations: 467.2 kB / 0.8438 GB, free: 4.367 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004274/0.9683, allocations: 2.379 MB / 0.8461 GB, free: 1.938 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004733/0.9731, allocations: 369 kB / 0.8465 GB, free: 1.578 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004094/0.9735, allocations: 107.9 kB / 0.8466 GB, free: 1.473 MB / 0.6544 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.001904/0.9754, allocations: 0.7057 MB / 0.8472 GB, free: 0.7578 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009389/0.9764, allocations: 280.6 kB / 0.8475 GB, free: 492 kB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009024/0.9854, allocations: 2.47 MB / 0.8499 GB, free: 13.99 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.682e-05/0.9855, allocations: 16 kB / 0.8499 GB, free: 13.97 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.375e-05/0.9855, allocations: 0 / 0.8499 GB, free: 13.97 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007368/0.9929, allocations: 2.068 MB / 0.852 GB, free: 11.85 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02363/1.017, allocations: 7.1 MB / 0.8589 GB, free: 4.578 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.832e-05/1.017, allocations: 8.656 kB / 0.8589 GB, free: 4.57 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001823/1.018, allocations: 287.6 kB / 0.8592 GB, free: 4.289 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00366/1.022, allocations: 1.024 MB / 0.8602 GB, free: 3.262 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002302/1.022, allocations: 55.94 kB / 0.8602 GB, free: 3.207 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003639/1.026, allocations: 2.164 MB / 0.8623 GB, free: 0.9922 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.004e-05/1.026, allocations: 11.94 kB / 0.8624 GB, free: 0.9805 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3158/1.342, allocations: 3.829 MB / 0.8661 GB, free: 210.7 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001865/1.344, allocations: 0.6558 MB / 0.8667 GB, free: 210.6 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009889/1.345, allocations: 36.81 kB / 0.8668 GB, free: 210.6 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004028/1.349, allocations: 302.8 kB / 0.8671 GB, free: 210.6 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002884/1.349, allocations: 118.3 kB / 0.8672 GB, free: 210.6 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002565/1.349, allocations: 73.23 kB / 0.8672 GB, free: 210.6 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.00363/1.353, allocations: 1.841 MB / 0.869 GB, free: 210.4 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.6e-07/1.353, allocations: 0 / 0.869 GB, free: 210.4 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.005451/1.359, allocations: 1.475 MB / 0.8705 GB, free: 210.4 MB / 0.67 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.001872/1.36, allocations: 0.7988 MB / 0.8713 GB, free: 210.3 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01295/1.373, allocations: 3.817 MB / 0.875 GB, free: 209.9 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-05/1.373, allocations: 3.625 kB / 0.875 GB, free: 209.9 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.003614/1.377, allocations: 1.057 MB / 0.876 GB, free: 209.6 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01135/1.388, allocations: 1.564 MB / 0.8776 GB, free: 209.3 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01128/1.4, allocations: 6.18 MB / 0.8836 GB, free: 205.9 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001115/1.401, allocations: 1.711 MB / 0.8853 GB, free: 205.1 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001117/1.402, allocations: 282.3 kB / 0.8855 GB, free: 205.1 MB / 0.67 GB Notification: Performance of SimCode: time 1.453e-06/1.402, allocations: 3.875 kB / 0.8855 GB, free: 205.1 MB / 0.67 GB Notification: Performance of Templates: time 0.1073/1.509, allocations: 82.02 MB / 0.9656 GB, free: 155.6 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe 2>&1)