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.006995/0.006995, allocations: 100.3 kB / 15.87 MB, free: 6.332 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.001513/0.001513, allocations: 197.5 kB / 16.79 MB, free: 6.258 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.426/1.426, allocations: 222.9 MB / 240.5 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9171/0.9171, allocations: 135.1 MB / 425.7 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 72.11 kB / 0.5053 GB, free: 5.711 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1815/0.1827, allocations: 80.93 MB / 0.5843 GB, free: 4.953 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic): time 0.4815/0.6643, allocations: 130 MB / 0.7112 GB, free: 15.8 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.04544/0.7098, allocations: 25.15 MB / 0.7358 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008011/0.7179, allocations: 124.9 kB / 0.7359 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.006684/0.7246, allocations: 1.42 MB / 0.7373 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.01647/0.7412, allocations: 4.154 MB / 0.7414 GB, free: 9.523 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.01152/0.7527, allocations: 3.185 MB / 0.7445 GB, free: 7.133 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.01735/0.7701, allocations: 11.36 MB / 0.7556 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006344/0.7764, allocations: 2.605 MB / 0.7581 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008145/0.7846, allocations: 2.847 MB / 0.7609 GB, free: 8.566 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005653/0.7903, allocations: 2.423 MB / 0.7633 GB, free: 6.133 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001111/0.7915, allocations: 172 kB / 0.7634 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008422/0.7999, allocations: 2.515 MB / 0.7659 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001563/0.8015, allocations: 0.6885 MB / 0.7666 GB, free: 2.754 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.004804/0.8063, allocations: 1.773 MB / 0.7683 GB, free: 0.9727 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01125/0.8176, allocations: 4.945 MB / 0.7731 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 8.877e-06/0.8176, allocations: 0 / 0.7731 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.876e-06/0.8176, allocations: 0 / 0.7731 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0002149/0.8179, allocations: 0 / 0.7731 GB, free: 12.01 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.00994/0.8278, allocations: 4.075 MB / 0.7771 GB, free: 7.836 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/0.8279, allocations: 12.03 kB / 0.7771 GB, free: 7.824 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01176/0.8396, allocations: 1.385 MB / 0.7785 GB, free: 6.434 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006194/0.8459, allocations: 2.93 MB / 0.7813 GB, free: 3.426 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000297/0.8462, allocations: 263.9 kB / 0.7816 GB, free: 3.152 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000504/0.8467, allocations: 232 kB / 0.7818 GB, free: 2.926 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008681/0.8554, allocations: 3.206 MB / 0.7849 GB, free: 15.53 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.889e-05/0.8555, allocations: 3.938 kB / 0.7849 GB, free: 15.53 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003368/0.8559, allocations: 108 kB / 0.785 GB, free: 15.42 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.41e-05/0.8559, allocations: 79.84 kB / 0.7851 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01014/0.8661, allocations: 2.827 MB / 0.7879 GB, free: 12.5 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.0231/0.8892, allocations: 13.62 MB / 0.8012 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00451/0.8938, allocations: 1.471 MB / 0.8026 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003261/0.8971, allocations: 0.9127 MB / 0.8035 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001919/0.899, allocations: 1.775 MB / 0.8052 GB, free: 9.695 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004164/0.9032, allocations: 1.192 MB / 0.8064 GB, free: 8.438 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=126): time 4.248e-06/0.9032, allocations: 0 / 0.8064 GB, free: 8.438 MB / 0.6231 GB Notification: Performance of matching and sorting (n=132): time 0.0531/0.9564, allocations: 11.66 MB / 0.8178 GB, free: 12.61 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002895/0.9567, allocations: 0.5766 MB / 0.8184 GB, free: 11.9 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004585/0.9613, allocations: 2.62 MB / 0.8209 GB, free: 9.262 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0005052/0.9618, allocations: 57.7 kB / 0.821 GB, free: 9.199 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001362/0.9632, allocations: 1.325 MB / 0.8223 GB, free: 7.859 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006802/0.9639, allocations: 453.5 kB / 0.8227 GB, free: 7.41 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007593/0.9646, allocations: 466.9 kB / 0.8231 GB, free: 6.945 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.9647, allocations: 301.1 kB / 0.8234 GB, free: 6.648 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003745/0.9685, allocations: 0.9884 MB / 0.8244 GB, free: 5.656 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004279/0.9728, allocations: 1.581 MB / 0.8259 GB, free: 3.832 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007336/0.9802, allocations: 2.252 MB / 0.8281 GB, free: 1.406 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.987e-06/0.9802, allocations: 4 kB / 0.8281 GB, free: 1.402 MB / 0.6387 GB Notification: Performance of matching and sorting (n=225) (initialization): time 0.02348/1.004, allocations: 4.158 MB / 0.8322 GB, free: 13.22 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.883e-05/1.004, allocations: 37.7 kB / 0.8322 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.023e-05/1.004, allocations: 12 kB / 0.8322 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003859/1.008, allocations: 1.156 MB / 0.8334 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002673/1.01, allocations: 455.2 kB / 0.8338 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003998/1.014, allocations: 2.382 MB / 0.8361 GB, free: 9.133 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005024/1.019, allocations: 393.1 kB / 0.8365 GB, free: 8.75 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003353/1.02, allocations: 107.9 kB / 0.8366 GB, free: 8.645 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005013/1.025, allocations: 1.488 MB / 0.8381 GB, free: 7.152 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004344/1.029, allocations: 1.561 MB / 0.8396 GB, free: 5.352 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007135/1.036, allocations: 2.216 MB / 0.8418 GB, free: 2.957 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.658e-06/1.036, allocations: 4 kB / 0.8418 GB, free: 2.953 MB / 0.6544 GB Notification: Performance of matching and sorting (n=225) (initialization_lambda0): time 0.02376/1.06, allocations: 4.131 MB / 0.8458 GB, free: 14.8 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 5.084e-05/1.06, allocations: 41.77 kB / 0.8458 GB, free: 14.75 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.796e-05/1.06, allocations: 12 kB / 0.8458 GB, free: 14.74 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003825/1.064, allocations: 1.151 MB / 0.847 GB, free: 13.59 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002665/1.067, allocations: 459.2 kB / 0.8474 GB, free: 13.14 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004053/1.071, allocations: 2.375 MB / 0.8497 GB, free: 10.71 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005123/1.076, allocations: 382.6 kB / 0.8501 GB, free: 10.34 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003126/1.076, allocations: 107.9 kB / 0.8502 GB, free: 10.23 MB / 0.67 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.0006916/1.077, allocations: 301.8 kB / 0.8505 GB, free: 9.934 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008544/1.078, allocations: 288.6 kB / 0.8508 GB, free: 9.648 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008407/1.086, allocations: 2.409 MB / 0.8531 GB, free: 7.215 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.623e-05/1.086, allocations: 15.98 kB / 0.8531 GB, free: 7.199 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/1.086, allocations: 4 kB / 0.8531 GB, free: 7.195 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006863/1.093, allocations: 2.01 MB / 0.8551 GB, free: 5.133 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3568/1.45, allocations: 6.989 MB / 0.8619 GB, free: 214 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.522e-05/1.45, allocations: 9.062 kB / 0.8619 GB, free: 214 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001744/1.452, allocations: 274.6 kB / 0.8622 GB, free: 214 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003238/1.455, allocations: 1.013 MB / 0.8632 GB, free: 214 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001853/1.455, allocations: 50.14 kB / 0.8632 GB, free: 214 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003047/1.458, allocations: 2.155 MB / 0.8653 GB, free: 213 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.526e-06/1.458, allocations: 18.39 kB / 0.8653 GB, free: 213 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01333/1.472, allocations: 3.748 MB / 0.869 GB, free: 211.9 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001646/1.473, allocations: 0.5823 MB / 0.8696 GB, free: 211.7 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006028/1.474, allocations: 40.34 kB / 0.8696 GB, free: 211.6 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00329/1.477, allocations: 275.8 kB / 0.8699 GB, free: 211.6 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002271/1.478, allocations: 122.1 kB / 0.87 GB, free: 211.6 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001604/1.478, allocations: 78.75 kB / 0.8701 GB, free: 211.6 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002864/1.481, allocations: 1.832 MB / 0.8719 GB, free: 210.9 MB / 0.67 GB Notification: Performance of sort global known variables: time 3.81e-07/1.481, allocations: 0 / 0.8719 GB, free: 210.9 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.004621/1.485, allocations: 1.479 MB / 0.8733 GB, free: 210.8 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.001782/1.487, allocations: 0.7899 MB / 0.8741 GB, free: 210.6 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01215/1.499, allocations: 3.726 MB / 0.8777 GB, free: 209.6 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.469e-05/1.499, allocations: 3.25 kB / 0.8777 GB, free: 209.6 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.003505/1.503, allocations: 1.028 MB / 0.8787 GB, free: 209.3 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007452/1.51, allocations: 1.481 MB / 0.8802 GB, free: 209 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0112/1.521, allocations: 6.073 MB / 0.8861 GB, free: 205.5 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001385/1.523, allocations: 1.712 MB / 0.8878 GB, free: 204.7 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001139/1.524, allocations: 269.2 kB / 0.888 GB, free: 204.7 MB / 0.67 GB Notification: Performance of SimCode: time 1.954e-06/1.524, allocations: 0 / 0.888 GB, free: 204.7 MB / 0.67 GB Notification: Performance of Templates: time 0.1116/1.636, allocations: 82.46 MB / 0.9685 GB, free: 151.2 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)