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-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.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.0008375/0.0008375, allocations: 99.62 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.000858/0.0008579, 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.183/1.183, allocations: 223.2 MB / 239.9 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.805/0.805, allocations: 135.2 MB / 426.2 MB, free: 14.28 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002777/0.0002777, allocations: 8.812 kB / 0.5068 GB, free: 5.262 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1391, allocations: 82.32 MB / 0.5872 GB, free: 3.125 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater): time 0.3155/0.4546, allocations: 105.5 MB / 0.6902 GB, free: 2.016 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01944/0.474, allocations: 13.11 MB / 0.703 GB, free: 8.688 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002629/0.4767, allocations: 61.53 kB / 0.7031 GB, free: 8.66 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.003623/0.4804, allocations: 0.8243 MB / 0.7039 GB, free: 8.199 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.008288/0.4887, allocations: 2.267 MB / 0.7061 GB, free: 6.715 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.006308/0.495, allocations: 1.978 MB / 0.708 GB, free: 5.758 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.005573/0.5006, allocations: 2.755 MB / 0.7107 GB, free: 4.254 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002223/0.5028, allocations: 1.255 MB / 0.712 GB, free: 3.777 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002915/0.5057, allocations: 1.322 MB / 0.7132 GB, free: 3.129 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001588/0.5074, allocations: 0.8611 MB / 0.7141 GB, free: 2.754 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0002506/0.5076, allocations: 70.47 kB / 0.7142 GB, free: 2.754 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003456/0.5111, allocations: 1.215 MB / 0.7153 GB, free: 2.43 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0004444/0.5115, allocations: 335.4 kB / 0.7157 GB, free: 2.262 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0006007/0.5122, allocations: 422.2 kB / 0.7161 GB, free: 2.023 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.003079/0.5152, allocations: 2.566 MB / 0.7186 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.5153, allocations: 1.25 kB / 0.7186 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.383e-06/0.5153, allocations: 0 / 0.7186 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.067e-05/0.5153, allocations: 0 / 0.7186 GB, free: 1.133 MB / 0.5294 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.004157/0.5195, allocations: 2.048 MB / 0.7206 GB, free: 15.57 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.5195, allocations: 8.344 kB / 0.7206 GB, free: 15.57 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005272/0.5248, allocations: 0.752 MB / 0.7213 GB, free: 15.26 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003047/0.5279, allocations: 1.543 MB / 0.7228 GB, free: 14.03 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001455/0.528, allocations: 140.6 kB / 0.723 GB, free: 13.94 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001943/0.5282, allocations: 123.3 kB / 0.7231 GB, free: 13.9 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00374/0.532, allocations: 1.718 MB / 0.7247 GB, free: 12.77 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.546e-05/0.532, allocations: 5.688 kB / 0.7248 GB, free: 12.77 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001697/0.5322, allocations: 61.11 kB / 0.7248 GB, free: 12.72 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.345e-05/0.5322, allocations: 37.47 kB / 0.7248 GB, free: 12.71 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00422/0.5365, allocations: 1.529 MB / 0.7263 GB, free: 11.95 MB / 0.545 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.009417/0.5459, allocations: 7.6 MB / 0.7338 GB, free: 5.328 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003728/0.5496, allocations: 1.19 MB / 0.7349 GB, free: 4.43 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00121/0.5509, allocations: 1.271 MB / 0.7362 GB, free: 2.883 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002044/0.5529, allocations: 0.703 MB / 0.7368 GB, free: 2.168 MB / 0.545 GB Notification: Performance of pre-optimization done (n=80): time 4.018e-06/0.5529, allocations: 0 / 0.7368 GB, free: 2.168 MB / 0.545 GB Notification: Performance of matching and sorting (n=80): time 0.016/0.5689, allocations: 3.23 MB / 0.74 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.942e-05/0.569, allocations: 141.2 kB / 0.7401 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001742/0.5708, allocations: 1.308 MB / 0.7414 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001345/0.5709, allocations: 45.7 kB / 0.7415 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005839/0.5715, allocations: 0.7193 MB / 0.7422 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002658/0.5718, allocations: 284 kB / 0.7424 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.286e-05/0.5719, allocations: 20 kB / 0.7425 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.572, allocations: 341.9 kB / 0.7428 GB, free: 12 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00176/0.5738, allocations: 0.5211 MB / 0.7433 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001952/0.5757, allocations: 0.81 MB / 0.7441 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001793/0.5775, allocations: 0.5729 MB / 0.7446 GB, free: 9.984 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.892e-06/0.5776, allocations: 4 kB / 0.7446 GB, free: 9.98 MB / 0.5606 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.004638/0.5822, allocations: 1.671 MB / 0.7463 GB, free: 8.301 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007929/0.583, allocations: 2.405 MB / 0.7486 GB, free: 5.754 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/0.583, allocations: 7.953 kB / 0.7486 GB, free: 5.746 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00186/0.5849, allocations: 0.5729 MB / 0.7492 GB, free: 5.176 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00124/0.5861, allocations: 247.6 kB / 0.7494 GB, free: 4.934 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001784/0.5879, allocations: 1.178 MB / 0.7506 GB, free: 3.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001973/0.5899, allocations: 243.8 kB / 0.7508 GB, free: 3.492 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001146/0.5901, allocations: 51.95 kB / 0.7509 GB, free: 3.441 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.556e-06/0.5901, allocations: 8 kB / 0.7509 GB, free: 3.434 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004284/0.5944, allocations: 1.512 MB / 0.7523 GB, free: 1.918 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.5944, allocations: 12.09 kB / 0.7524 GB, free: 1.906 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001688/0.5961, allocations: 0.5591 MB / 0.7529 GB, free: 1.344 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001202/0.5973, allocations: 255.5 kB / 0.7531 GB, free: 1.094 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001738/0.599, allocations: 1.17 MB / 0.7543 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001949/0.601, allocations: 230.9 kB / 0.7545 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001085/0.6011, allocations: 59.94 kB / 0.7546 GB, free: 15.61 MB / 0.5762 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.0008078/0.6019, allocations: 467.7 kB / 0.755 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002378/0.6022, allocations: 158.2 kB / 0.7552 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01137/0.6136, allocations: 2.164 MB / 0.7573 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-05/0.6136, allocations: 11.94 kB / 0.7573 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.6136, allocations: 0 / 0.7573 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01087/0.6245, allocations: 1.997 MB / 0.7592 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008178/0.6327, allocations: 3.684 MB / 0.7628 GB, free: 6.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.431e-06/0.6327, allocations: 0 / 0.7628 GB, free: 6.91 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001039/0.6338, allocations: 183.9 kB / 0.763 GB, free: 6.73 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001808/0.6356, allocations: 0.5534 MB / 0.7635 GB, free: 6.176 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.61e-05/0.6357, allocations: 39.94 kB / 0.7636 GB, free: 6.137 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001777/0.6375, allocations: 1.15 MB / 0.7647 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.069e-06/0.6375, allocations: 7.938 kB / 0.7647 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00467/0.6422, allocations: 1.692 MB / 0.7664 GB, free: 3.176 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009931/0.6432, allocations: 430.8 kB / 0.7668 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000362/0.6436, allocations: 12 kB / 0.7668 GB, free: 2.723 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00181/0.6454, allocations: 170.8 kB / 0.767 GB, free: 2.559 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/0.6455, allocations: 52.52 kB / 0.767 GB, free: 2.508 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001305/0.6457, allocations: 55.94 kB / 0.7671 GB, free: 2.453 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00133/0.647, allocations: 0.9024 MB / 0.7679 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.7e-07/0.647, allocations: 4 kB / 0.7679 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002928/0.6499, allocations: 0.9704 MB / 0.7689 GB, free: 0.5742 MB / 0.5762 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.002148/0.6521, allocations: 0.8897 MB / 0.7698 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.006454/0.6586, allocations: 2.045 MB / 0.7718 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.714e-06/0.6586, allocations: 4 kB / 0.7718 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.00203/0.6606, allocations: 0.6321 MB / 0.7724 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003535/0.6642, allocations: 0.7333 MB / 0.7731 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005976/0.6702, allocations: 3.232 MB / 0.7763 GB, free: 9.18 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008631/0.671, allocations: 1.29 MB / 0.7775 GB, free: 7.863 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.00175/0.6728, allocations: 379.9 kB / 0.7779 GB, free: 7.488 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003584/0.6732, allocations: 139.3 kB / 0.778 GB, free: 7.352 MB / 0.5919 GB Notification: Performance of SimCode: time 5.51e-07/0.6732, allocations: 0 / 0.778 GB, free: 7.352 MB / 0.5919 GB Notification: Performance of Templates: time 0.05359/0.7268, allocations: 37.92 MB / 0.815 GB, free: 1.816 MB / 0.6231 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: