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-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_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.0008243/0.0008243, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.0008476/0.0008478, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.202/1.202, allocations: 223.2 MB / 239.9 MB, free: 5.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.8215/0.8215, allocations: 135.2 MB / 426.2 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002774/0.0002774, allocations: 8 kB / 0.5068 GB, free: 5.305 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1316, allocations: 82.31 MB / 0.5872 GB, free: 3.164 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic): time 0.3054/0.437, allocations: 109.4 MB / 0.694 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02853/0.4656, allocations: 21.32 MB / 0.7148 GB, free: 216 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004236/0.4699, allocations: 111.3 kB / 0.7149 GB, free: 168 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.004377/0.4743, allocations: 1.457 MB / 0.7163 GB, free: 15.34 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.01269/0.487, allocations: 4.178 MB / 0.7204 GB, free: 12.59 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00854/0.4955, allocations: 3.12 MB / 0.7235 GB, free: 11.08 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.008518/0.5041, allocations: 5.079 MB / 0.7284 GB, free: 7.91 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002918/0.507, allocations: 2.285 MB / 0.7307 GB, free: 6.516 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004395/0.5114, allocations: 2.415 MB / 0.733 GB, free: 5.051 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001971/0.5134, allocations: 1.586 MB / 0.7346 GB, free: 4.109 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002672/0.5137, allocations: 129.2 kB / 0.7347 GB, free: 4.109 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004299/0.518, allocations: 1.74 MB / 0.7364 GB, free: 3.41 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0005519/0.5185, allocations: 0.5724 MB / 0.737 GB, free: 2.984 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0007645/0.5193, allocations: 0.7287 MB / 0.7377 GB, free: 2.355 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.005113/0.5244, allocations: 4.565 MB / 0.7421 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.5244, allocations: 0 / 0.7421 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.254e-06/0.5245, allocations: 0 / 0.7421 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.331e-05/0.5245, allocations: 0 / 0.7421 GB, free: 13.78 MB / 0.5606 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.006552/0.5311, allocations: 3.353 MB / 0.7454 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.5311, allocations: 8.031 kB / 0.7454 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01014/0.5413, allocations: 1.455 MB / 0.7468 GB, free: 8.859 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004793/0.5461, allocations: 2.721 MB / 0.7495 GB, free: 6.062 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002244/0.5463, allocations: 247.9 kB / 0.7497 GB, free: 5.805 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003443/0.5467, allocations: 244 kB / 0.75 GB, free: 5.566 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006629/0.5533, allocations: 3.198 MB / 0.7531 GB, free: 2.18 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.434e-05/0.5534, allocations: 11.84 kB / 0.7531 GB, free: 2.168 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002402/0.5536, allocations: 104 kB / 0.7532 GB, free: 2.066 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.386e-05/0.5537, allocations: 71.92 kB / 0.7533 GB, free: 1.996 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008215/0.5619, allocations: 2.877 MB / 0.7561 GB, free: 15.1 MB / 0.5762 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.01738/0.5793, allocations: 13.72 MB / 0.7695 GB, free: 0.7461 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003951/0.5833, allocations: 1.511 MB / 0.7709 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001636/0.585, allocations: 1.781 MB / 0.7727 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003371/0.5884, allocations: 1.208 MB / 0.7739 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=126): time 3.016e-06/0.5884, allocations: 4 kB / 0.7739 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of matching and sorting (n=130): time 0.04835/0.6367, allocations: 11.82 MB / 0.7854 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002217/0.637, allocations: 0.5843 MB / 0.786 GB, free: 15.09 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003509/0.6405, allocations: 2.686 MB / 0.7886 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.00018/0.6407, allocations: 63.56 kB / 0.7887 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.001052/0.6418, allocations: 1.322 MB / 0.7899 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.00039/0.6422, allocations: 453.5 kB / 0.7904 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001085/0.6423, allocations: 36 kB / 0.7904 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001574/0.6424, allocations: 377.9 kB / 0.7908 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00338/0.6458, allocations: 0.9915 MB / 0.7917 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003868/0.6497, allocations: 1.581 MB / 0.7933 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003713/0.6534, allocations: 1.133 MB / 0.7944 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.875e-06/0.6535, allocations: 7.938 kB / 0.7944 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of matching and sorting (n=223) (initialization): time 0.02159/0.6751, allocations: 4.24 MB / 0.7985 GB, free: 1.895 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.00166/0.6767, allocations: 5.248 MB / 0.8037 GB, free: 12.24 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.939e-05/0.6768, allocations: 12 kB / 0.8037 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003588/0.6804, allocations: 1.166 MB / 0.8048 GB, free: 11.06 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00241/0.6828, allocations: 467.2 kB / 0.8053 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003601/0.6864, allocations: 2.386 MB / 0.8076 GB, free: 8.168 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004489/0.6909, allocations: 416.2 kB / 0.808 GB, free: 7.762 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002006/0.6911, allocations: 103.9 kB / 0.8081 GB, free: 7.66 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.6911, allocations: 4 kB / 0.8081 GB, free: 7.656 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02087/0.712, allocations: 3.961 MB / 0.812 GB, free: 3.68 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.146e-05/0.7121, allocations: 12 kB / 0.812 GB, free: 3.668 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003519/0.7156, allocations: 1.157 MB / 0.8131 GB, free: 2.504 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002401/0.718, allocations: 467.7 kB / 0.8135 GB, free: 2.047 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003525/0.7216, allocations: 2.386 MB / 0.8159 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003977/0.7256, allocations: 368.2 kB / 0.8162 GB, free: 15.25 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002003/0.7258, allocations: 107.9 kB / 0.8163 GB, free: 15.14 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 ($whenCondition1,$PRE.heaPum.com.isOn,heaPum.com.isOn,$PRE.heaPum1.com.isOn,heaPum1.com.isOn,$PRE.N.T_start,N.T_start,$PRE.N.count,N.count,realToInteger.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (164): * Single equations (assignments): 161 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {4 25,4 27} Notification: Performance of prepare postOptimizeDAE: time 0.001358/0.7271, allocations: 0.694 MB / 0.817 GB, free: 14.44 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004724/0.7276, allocations: 292.6 kB / 0.8173 GB, free: 14.15 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01443/0.7421, allocations: 3.044 MB / 0.8203 GB, free: 11.09 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.191e-05/0.7421, allocations: 16 kB / 0.8203 GB, free: 11.07 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.048e-05/0.7421, allocations: 4 kB / 0.8203 GB, free: 11.07 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01335/0.7555, allocations: 2.63 MB / 0.8228 GB, free: 8.383 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01917/0.7747, allocations: 7.035 MB / 0.8297 GB, free: 1.172 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.85e-05/0.7748, allocations: 11.95 kB / 0.8297 GB, free: 1.16 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001564/0.7763, allocations: 280.2 kB / 0.83 GB, free: 0.8867 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003136/0.7795, allocations: 1.024 MB / 0.831 GB, free: 15.86 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001259/0.7796, allocations: 55.94 kB / 0.8311 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003161/0.7828, allocations: 2.157 MB / 0.8332 GB, free: 13.6 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.723e-06/0.7828, allocations: 12.06 kB / 0.8332 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01799/0.8008, allocations: 5.014 MB / 0.8381 GB, free: 8.152 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001501/0.8023, allocations: 0.6848 MB / 0.8387 GB, free: 7.445 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004143/0.8027, allocations: 35.98 kB / 0.8388 GB, free: 7.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002969/0.8057, allocations: 295.5 kB / 0.8391 GB, free: 7.121 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001832/0.8059, allocations: 116.7 kB / 0.8392 GB, free: 7.008 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001323/0.8061, allocations: 75.91 kB / 0.8392 GB, free: 6.934 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.002792/0.8089, allocations: 1.89 MB / 0.8411 GB, free: 5.043 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.31e-07/0.8089, allocations: 0 / 0.8411 GB, free: 5.043 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.003768/0.8126, allocations: 1.503 MB / 0.8425 GB, free: 3.539 MB / 0.6544 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 19,4 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.001379/0.814, allocations: 0.8161 MB / 0.8433 GB, free: 2.727 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01118/0.8252, allocations: 3.776 MB / 0.847 GB, free: 14.93 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.556e-05/0.8253, allocations: 4.438 kB / 0.847 GB, free: 14.93 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.003421/0.8287, allocations: 1.095 MB / 0.8481 GB, free: 13.84 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005907/0.8346, allocations: 1.465 MB / 0.8495 GB, free: 12.39 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009546/0.8442, allocations: 5.818 MB / 0.8552 GB, free: 6.457 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001164/0.8453, allocations: 1.767 MB / 0.8569 GB, free: 4.66 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.00279/0.8481, allocations: 0.6671 MB / 0.8576 GB, free: 3.996 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005061/0.8486, allocations: 235.3 kB / 0.8578 GB, free: 3.766 MB / 0.67 GB Notification: Performance of SimCode: time 7.81e-07/0.8487, allocations: 0 / 0.8578 GB, free: 3.766 MB / 0.67 GB Notification: Performance of Templates: time 0.3126/1.161, allocations: 72.03 MB / 0.9282 GB, free: 186.1 MB / 0.67 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: