Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater.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.Calibration.ScrollWaterToWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater") translateModel(IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007651/0.0007651, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.000815/0.000815, allocations: 172.7 kB / 15.95 MB, free: 208 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.328/1.328, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7346/0.7346, allocations: 132.4 MB / 423.4 MB, free: 2.07 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002791/0.0002792, allocations: 8 kB / 0.5034 GB, free: 4.266 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3463/0.3466, allocations: 81.57 MB / 0.5831 GB, free: 3.988 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater): time 0.1022/0.4489, allocations: 116.5 MB / 0.6968 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01797/0.4669, allocations: 14.42 MB / 0.7109 GB, free: 13.4 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001438/0.4684, allocations: 63.56 kB / 0.7109 GB, free: 13.34 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00168/0.4701, allocations: 0.6755 MB / 0.7116 GB, free: 12.66 MB / 0.545 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.003979/0.4741, allocations: 2.053 MB / 0.7136 GB, free: 10.6 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003453/0.4775, allocations: 1.526 MB / 0.7151 GB, free: 9.102 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.004524/0.482, allocations: 5.204 MB / 0.7202 GB, free: 3.883 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001415/0.4835, allocations: 1.239 MB / 0.7214 GB, free: 2.617 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00185/0.4853, allocations: 1.427 MB / 0.7228 GB, free: 1.184 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001237/0.4866, allocations: 1.178 MB / 0.7239 GB, free: 0 / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001691/0.4868, allocations: 72.05 kB / 0.724 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002662/0.4894, allocations: 1.482 MB / 0.7254 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003181/0.4898, allocations: 342.5 kB / 0.7258 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000341/0.4901, allocations: 424.7 kB / 0.7262 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002401/0.4925, allocations: 2.72 MB / 0.7288 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.4925, allocations: 3.938 kB / 0.7288 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.966e-06/0.4925, allocations: 0 / 0.7288 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.621e-05/0.4926, allocations: 3.938 kB / 0.7288 GB, free: 10.95 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: 312 * Number of variables: 312 Notification: Performance of Generate backend data structure: time 0.003105/0.4957, allocations: 2.077 MB / 0.7309 GB, free: 8.805 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.045e-05/0.4957, allocations: 12.03 kB / 0.7309 GB, free: 8.793 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004973/0.5007, allocations: 0.743 MB / 0.7316 GB, free: 8.047 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002343/0.503, allocations: 1.627 MB / 0.7332 GB, free: 6.367 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001294/0.5032, allocations: 132.1 kB / 0.7333 GB, free: 6.23 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000179/0.5034, allocations: 124 kB / 0.7334 GB, free: 6.109 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003574/0.507, allocations: 1.745 MB / 0.7351 GB, free: 4.266 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.391e-05/0.507, allocations: 0 / 0.7351 GB, free: 4.266 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001405/0.5071, allocations: 59.98 kB / 0.7352 GB, free: 4.207 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.879e-05/0.5072, allocations: 35.98 kB / 0.7352 GB, free: 4.172 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00428/0.5115, allocations: 1.527 MB / 0.7367 GB, free: 2.637 MB / 0.5606 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.008437/0.5199, allocations: 7.56 MB / 0.7441 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003674/0.5236, allocations: 1.183 MB / 0.7453 GB, free: 9.488 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001817/0.5254, allocations: 0.5999 MB / 0.7459 GB, free: 8.887 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001153/0.5266, allocations: 1.282 MB / 0.7471 GB, free: 7.328 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002034/0.5286, allocations: 0.6991 MB / 0.7478 GB, free: 6.617 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=80): time 2.334e-06/0.5287, allocations: 0 / 0.7478 GB, free: 6.617 MB / 0.5762 GB Notification: Performance of matching and sorting (n=80): time 0.01561/0.5443, allocations: 3.23 MB / 0.7509 GB, free: 3.363 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.068e-05/0.5443, allocations: 137.2 kB / 0.7511 GB, free: 3.199 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001451/0.5458, allocations: 1.267 MB / 0.7523 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.999e-05/0.5459, allocations: 49.7 kB / 0.7524 GB, free: 1.863 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000528/0.5464, allocations: 0.7231 MB / 0.7531 GB, free: 1.133 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002279/0.5467, allocations: 272.1 kB / 0.7533 GB, free: 0.8633 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.835e-05/0.5468, allocations: 16 kB / 0.7533 GB, free: 0.8477 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.5469, allocations: 341.9 kB / 0.7537 GB, free: 0.5078 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001809/0.5487, allocations: 0.529 MB / 0.7542 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001973/0.5507, allocations: 0.806 MB / 0.755 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001846/0.5525, allocations: 0.5768 MB / 0.7555 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.5525, allocations: 0 / 0.7555 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.004612/0.5572, allocations: 1.675 MB / 0.7572 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001361/0.5573, allocations: 271.5 kB / 0.7574 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.5573, allocations: 15.94 kB / 0.7574 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001811/0.5591, allocations: 0.5722 MB / 0.758 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001252/0.5604, allocations: 255.6 kB / 0.7582 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00185/0.5623, allocations: 1.167 MB / 0.7594 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001575/0.5639, allocations: 238.8 kB / 0.7596 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001076/0.564, allocations: 55.94 kB / 0.7597 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 7.744e-06/0.564, allocations: 4 kB / 0.7597 GB, free: 10.13 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004668/0.5687, allocations: 1.515 MB / 0.7611 GB, free: 8.617 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.5687, allocations: 8 kB / 0.7612 GB, free: 8.609 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001765/0.5705, allocations: 0.5712 MB / 0.7617 GB, free: 8.039 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001229/0.5717, allocations: 247.6 kB / 0.7619 GB, free: 7.797 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001794/0.5735, allocations: 1.181 MB / 0.7631 GB, free: 6.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0015/0.575, allocations: 215 kB / 0.7633 GB, free: 6.379 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001551/0.5752, allocations: 63.94 kB / 0.7634 GB, free: 6.316 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.calDat.nextTimeEvent,calDat.nextTimeEvent,$PRE.calDat.nextTimeEventScaled,calDat.nextTimeEventScaled,$PRE.heaPum.com.isOn,heaPum.com.isOn) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 25} Notification: Performance of prepare postOptimizeDAE: time 0.0006073/0.5758, allocations: 460.9 kB / 0.7638 GB, free: 5.855 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002121/0.576, allocations: 162.2 kB / 0.764 GB, free: 5.695 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01139/0.5874, allocations: 2.164 MB / 0.7661 GB, free: 3.516 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.103e-05/0.5874, allocations: 11.94 kB / 0.7661 GB, free: 3.504 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.5874, allocations: 0 / 0.7661 GB, free: 3.504 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01047/0.5979, allocations: 1.997 MB / 0.768 GB, free: 1.469 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006899/0.6048, allocations: 3.656 MB / 0.7716 GB, free: 13.63 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.6048, allocations: 0 / 0.7716 GB, free: 13.63 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001044/0.6059, allocations: 191.8 kB / 0.7718 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001717/0.6076, allocations: 0.5475 MB / 0.7723 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.76e-05/0.6077, allocations: 43.89 kB / 0.7724 GB, free: 12.85 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00176/0.6095, allocations: 1.151 MB / 0.7735 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/0.6095, allocations: 7.938 kB / 0.7735 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004337/0.6138, allocations: 1.612 MB / 0.7751 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005279/0.6144, allocations: 410.9 kB / 0.7755 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001863/0.6146, allocations: 23.98 kB / 0.7755 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001493/0.6161, allocations: 155.7 kB / 0.7756 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.617e-05/0.6162, allocations: 56.52 kB / 0.7757 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001137/0.6163, allocations: 59.92 kB / 0.7757 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.00106/0.6174, allocations: 0.8517 MB / 0.7766 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6174, allocations: 4 kB / 0.7766 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00207/0.6195, allocations: 0.9664 MB / 0.7775 GB, free: 7.48 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,calDat.nextTimeEvent,calDat.nextTimeEventScaled,heaPum.com.isOn) * Number of discrete states: 3 (calDat.nextTimeEvent,heaPum.com.isOn,calDat.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 49 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.001728/0.6212, allocations: 0.8636 MB / 0.7784 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.006024/0.6272, allocations: 2.041 MB / 0.7804 GB, free: 4.793 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.6272, allocations: 0 / 0.7804 GB, free: 4.793 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001968/0.6292, allocations: 0.6361 MB / 0.781 GB, free: 4.16 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003006/0.6322, allocations: 0.7585 MB / 0.7817 GB, free: 3.422 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005186/0.6374, allocations: 3.233 MB / 0.7849 GB, free: 144 kB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007808/0.6382, allocations: 1.255 MB / 0.7861 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001519/0.6398, allocations: 379.6 kB / 0.7865 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000338/0.6401, allocations: 135.3 kB / 0.7866 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of SimCode: time 3.01e-07/0.6401, allocations: 0 / 0.7866 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of Templates: time 0.2942/0.9343, allocations: 37.23 MB / 0.823 GB, free: 211.8 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater.makefile (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe 2>&1)