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.001072/0.001072, allocations: 106.7 kB / 16.41 MB, free: 6.5 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.001119/0.001119, allocations: 185.5 kB / 17.34 MB, free: 5.742 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.35/1.35, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.807/0.807, allocations: 132.2 MB / 423.4 MB, free: 6.551 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 62.03 kB / 0.582 GB, free: 23.82 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1652/0.1671, allocations: 80.22 MB / 0.6603 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic): time 0.4999/0.6671, allocations: 130.8 MB / 0.7881 GB, free: 19.67 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.03237/0.6995, allocations: 24.96 MB / 0.8125 GB, free: 7.504 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007287/0.7068, allocations: 138.6 kB / 0.8126 GB, free: 7.453 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.005531/0.7124, allocations: 1.723 MB / 0.8143 GB, free: 6.391 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01466/0.7271, allocations: 4.494 MB / 0.8187 GB, free: 2.922 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.009144/0.7363, allocations: 3.516 MB / 0.8221 GB, free: 224 kB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01332/0.7496, allocations: 8.951 MB / 0.8309 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006001/0.7557, allocations: 3.195 MB / 0.834 GB, free: 8.805 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009372/0.7651, allocations: 3.52 MB / 0.8374 GB, free: 6.668 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005744/0.7708, allocations: 2.473 MB / 0.8398 GB, free: 4.621 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.00157/0.7725, allocations: 388 kB / 0.8402 GB, free: 4.242 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00866/0.7811, allocations: 2.894 MB / 0.843 GB, free: 1.344 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001818/0.783, allocations: 0.8799 MB / 0.8439 GB, free: 472 kB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.004508/0.7875, allocations: 1.988 MB / 0.8458 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01282/0.8004, allocations: 6.368 MB / 0.8521 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.764e-06/0.8004, allocations: 0 / 0.8521 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.474e-06/0.8005, allocations: 0 / 0.8521 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001705/0.8006, allocations: 0 / 0.8521 GB, free: 8.086 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.00943/0.8101, allocations: 4.071 MB / 0.856 GB, free: 3.91 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.8101, allocations: 8.031 kB / 0.856 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0109/0.821, allocations: 1.381 MB / 0.8574 GB, free: 2.516 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005943/0.827, allocations: 2.983 MB / 0.8603 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003091/0.8274, allocations: 267.8 kB / 0.8606 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005612/0.828, allocations: 228 kB / 0.8608 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00818/0.8361, allocations: 3.191 MB / 0.8639 GB, free: 11.58 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.609e-05/0.8362, allocations: 7.938 kB / 0.8639 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002831/0.8365, allocations: 107.9 kB / 0.864 GB, free: 11.46 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.127e-05/0.8366, allocations: 71.92 kB / 0.8641 GB, free: 11.39 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009368/0.846, allocations: 2.827 MB / 0.8668 GB, free: 8.551 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.02133/0.8674, allocations: 13.6 MB / 0.8801 GB, free: 10.31 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004451/0.8718, allocations: 1.482 MB / 0.8816 GB, free: 8.82 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00318/0.875, allocations: 0.912 MB / 0.8825 GB, free: 7.902 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001899/0.877, allocations: 1.773 MB / 0.8842 GB, free: 5.742 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004054/0.881, allocations: 1.19 MB / 0.8854 GB, free: 4.484 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=126): time 6.282e-06/0.8811, allocations: 0 / 0.8854 GB, free: 4.484 MB / 0.6387 GB Notification: Performance of matching and sorting (n=132): time 0.05398/0.9351, allocations: 11.67 MB / 0.8968 GB, free: 8.645 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002749/0.9354, allocations: 0.5766 MB / 0.8973 GB, free: 7.93 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004383/0.9398, allocations: 2.635 MB / 0.8999 GB, free: 5.277 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0004196/0.9402, allocations: 65.69 kB / 0.9 GB, free: 5.207 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001229/0.9415, allocations: 1.32 MB / 0.9012 GB, free: 3.875 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006099/0.9421, allocations: 461.5 kB / 0.9017 GB, free: 3.418 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007571/0.9429, allocations: 466.8 kB / 0.9021 GB, free: 2.953 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.967e-05/0.943, allocations: 301.1 kB / 0.9024 GB, free: 2.656 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003789/0.9468, allocations: 0.9884 MB / 0.9034 GB, free: 1.664 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004437/0.9512, allocations: 1.581 MB / 0.9049 GB, free: 15.84 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007365/0.9586, allocations: 2.248 MB / 0.9071 GB, free: 13.41 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-05/0.9587, allocations: 8 kB / 0.9071 GB, free: 13.41 MB / 0.67 GB Notification: Performance of matching and sorting (n=225) (initialization): time 0.02308/0.9818, allocations: 4.15 MB / 0.9112 GB, free: 9.23 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 6.284e-05/0.9819, allocations: 41.69 kB / 0.9112 GB, free: 9.184 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.433e-05/0.9819, allocations: 12 kB / 0.9112 GB, free: 9.172 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00397/0.9859, allocations: 1.153 MB / 0.9124 GB, free: 8.023 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002607/0.9885, allocations: 459.2 kB / 0.9128 GB, free: 7.574 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004269/0.9928, allocations: 2.382 MB / 0.9151 GB, free: 5.141 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004528/0.9974, allocations: 295.5 kB / 0.9154 GB, free: 4.852 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004002/0.9978, allocations: 107.9 kB / 0.9155 GB, free: 4.746 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005067/1.003, allocations: 1.488 MB / 0.917 GB, free: 3.254 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004433/1.007, allocations: 1.557 MB / 0.9185 GB, free: 1.457 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007285/1.015, allocations: 2.228 MB / 0.9207 GB, free: 15.05 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.447e-05/1.015, allocations: 4 kB / 0.9207 GB, free: 15.05 MB / 0.6856 GB Notification: Performance of matching and sorting (n=225) (initialization_lambda0): time 0.02298/1.038, allocations: 4.119 MB / 0.9247 GB, free: 10.91 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 5.887e-05/1.038, allocations: 41.69 kB / 0.9247 GB, free: 10.86 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.076e-05/1.038, allocations: 16 kB / 0.9247 GB, free: 10.84 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004002/1.042, allocations: 1.163 MB / 0.9259 GB, free: 9.684 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002617/1.045, allocations: 451.2 kB / 0.9263 GB, free: 9.242 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004188/1.049, allocations: 2.394 MB / 0.9286 GB, free: 6.797 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0046/1.053, allocations: 307.9 kB / 0.9289 GB, free: 6.496 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003698/1.054, allocations: 103.9 kB / 0.929 GB, free: 6.395 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.000634/1.054, allocations: 295.8 kB / 0.9293 GB, free: 6.098 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000906/1.055, allocations: 280.6 kB / 0.9296 GB, free: 5.82 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00844/1.064, allocations: 2.402 MB / 0.9319 GB, free: 3.398 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.32e-05/1.064, allocations: 16 kB / 0.9319 GB, free: 3.383 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/1.064, allocations: 0 / 0.9319 GB, free: 3.383 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006935/1.071, allocations: 2.014 MB / 0.9339 GB, free: 1.312 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02169/1.093, allocations: 7.018 MB / 0.9408 GB, free: 10.12 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.55e-05/1.093, allocations: 4 kB / 0.9408 GB, free: 10.12 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00176/1.094, allocations: 280.2 kB / 0.941 GB, free: 9.848 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0036/1.098, allocations: 1.01 MB / 0.942 GB, free: 8.84 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002281/1.098, allocations: 51.94 kB / 0.9421 GB, free: 8.789 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003666/1.102, allocations: 2.147 MB / 0.9442 GB, free: 6.59 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.347e-06/1.102, allocations: 11.94 kB / 0.9442 GB, free: 6.578 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01396/1.116, allocations: 3.756 MB / 0.9478 GB, free: 2.711 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001801/1.118, allocations: 0.5873 MB / 0.9484 GB, free: 2.102 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009073/1.119, allocations: 39.98 kB / 0.9485 GB, free: 2.062 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003599/1.122, allocations: 223.7 kB / 0.9487 GB, free: 1.844 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003153/1.123, allocations: 120.6 kB / 0.9488 GB, free: 1.727 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002302/1.123, allocations: 79.91 kB / 0.9489 GB, free: 1.648 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.003624/1.127, allocations: 1.851 MB / 0.9507 GB, free: 15.79 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.8e-07/1.127, allocations: 0 / 0.9507 GB, free: 15.79 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.005353/1.132, allocations: 1.5 MB / 0.9521 GB, free: 14.29 MB / 0.7169 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.001945/1.134, allocations: 0.8068 MB / 0.9529 GB, free: 13.49 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01343/1.147, allocations: 3.758 MB / 0.9566 GB, free: 9.715 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.857e-05/1.147, allocations: 8.422 kB / 0.9566 GB, free: 9.707 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.004098/1.151, allocations: 1.032 MB / 0.9576 GB, free: 8.68 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009496/1.161, allocations: 1.569 MB / 0.9591 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01327/1.174, allocations: 5.011 MB / 0.964 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002008/1.176, allocations: 1.724 MB / 0.9657 GB, free: 276 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001175/1.178, allocations: 267.2 kB / 0.966 GB, free: 8 kB / 0.7169 GB Notification: Performance of SimCode: time 1.222e-06/1.178, allocations: 0 / 0.966 GB, free: 8 kB / 0.7169 GB Notification: Performance of Templates: time 0.109/1.287, allocations: 83.62 MB / 1.048 GB, free: 12.55 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)