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.001109/0.001109, allocations: 103.9 kB / 16.35 MB, free: 5.875 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.001135/0.001135, allocations: 195.5 kB / 17.29 MB, free: 5.516 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.355/1.355, allocations: 222.9 MB / 241 MB, free: 14.96 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7764/0.7764, allocations: 132.2 MB / 423.3 MB, free: 6.535 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 55.91 kB / 0.5032 GB, free: 10.91 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3578/0.3592, allocations: 80.2 MB / 0.5815 GB, free: 27.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater): time 0.1155/0.4747, allocations: 126.1 MB / 0.7046 GB, free: 15.72 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02315/0.4979, allocations: 15.4 MB / 0.7197 GB, free: 280 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003526/0.5014, allocations: 75.56 kB / 0.7198 GB, free: 204 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002939/0.5044, allocations: 0.9548 MB / 0.7207 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.007184/0.5116, allocations: 2.604 MB / 0.7232 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.005181/0.5168, allocations: 2.132 MB / 0.7253 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.006586/0.5234, allocations: 4.797 MB / 0.73 GB, free: 5.711 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002779/0.5262, allocations: 1.712 MB / 0.7317 GB, free: 3.969 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004121/0.5304, allocations: 1.826 MB / 0.7335 GB, free: 2.141 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003014/0.5334, allocations: 1.342 MB / 0.7348 GB, free: 0.793 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0003485/0.5338, allocations: 207.9 kB / 0.735 GB, free: 0.5898 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00416/0.5379, allocations: 2.036 MB / 0.7369 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004979/0.5385, allocations: 0.4983 MB / 0.7374 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001255/0.5397, allocations: 1.077 MB / 0.7385 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005387/0.5451, allocations: 3.701 MB / 0.7421 GB, free: 9.262 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.5452, allocations: 4 kB / 0.7421 GB, free: 9.258 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.783e-06/0.5452, allocations: 0 / 0.7421 GB, free: 9.258 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.821e-05/0.5452, allocations: 0 / 0.7421 GB, free: 9.258 MB / 0.5762 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.004251/0.5495, allocations: 2.447 MB / 0.7445 GB, free: 6.738 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/0.5495, allocations: 12.03 kB / 0.7445 GB, free: 6.727 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005728/0.5553, allocations: 0.716 MB / 0.7452 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003385/0.5587, allocations: 1.689 MB / 0.7469 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001511/0.5588, allocations: 136.1 kB / 0.747 GB, free: 4.121 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002274/0.5591, allocations: 124 kB / 0.7471 GB, free: 4 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00407/0.5632, allocations: 1.735 MB / 0.7488 GB, free: 2.164 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.557e-05/0.5632, allocations: 4 kB / 0.7488 GB, free: 2.16 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001387/0.5633, allocations: 52 kB / 0.7489 GB, free: 2.109 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.486e-05/0.5634, allocations: 39.94 kB / 0.7489 GB, free: 2.07 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004574/0.568, allocations: 1.512 MB / 0.7504 GB, free: 0.5508 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.2911/0.8591, allocations: 7.53 MB / 0.7577 GB, free: 157 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004249/0.8634, allocations: 1.164 MB / 0.7589 GB, free: 156.6 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001977/0.8654, allocations: 0.5868 MB / 0.7594 GB, free: 156.4 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001062/0.8665, allocations: 1.275 MB / 0.7607 GB, free: 154.9 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002339/0.8688, allocations: 0.6992 MB / 0.7614 GB, free: 154.5 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=80): time 3.266e-06/0.8688, allocations: 0.9375 kB / 0.7614 GB, free: 154.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=80): time 0.01725/0.8861, allocations: 3.157 MB / 0.7644 GB, free: 153 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.293e-05/0.8862, allocations: 149.6 kB / 0.7646 GB, free: 152.9 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001921/0.8881, allocations: 1.29 MB / 0.7658 GB, free: 152.1 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001479/0.8883, allocations: 46.36 kB / 0.7659 GB, free: 152.1 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005416/0.8888, allocations: 0.721 MB / 0.7666 GB, free: 151.5 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002399/0.8891, allocations: 275.4 kB / 0.7669 GB, free: 151.3 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003901/0.8895, allocations: 225.8 kB / 0.7671 GB, free: 151.1 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.703e-05/0.8895, allocations: 343 kB / 0.7674 GB, free: 150.8 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001848/0.8914, allocations: 0.5253 MB / 0.7679 GB, free: 150.6 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002027/0.8934, allocations: 0.7989 MB / 0.7687 GB, free: 150 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003632/0.8971, allocations: 1.234 MB / 0.7699 GB, free: 149.2 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/0.8971, allocations: 3.906 kB / 0.7699 GB, free: 149.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.004691/0.9018, allocations: 1.655 MB / 0.7715 GB, free: 148.4 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.9018, allocations: 7.938 kB / 0.7715 GB, free: 148.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.9018, allocations: 3.969 kB / 0.7715 GB, free: 148.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001782/0.9036, allocations: 0.5784 MB / 0.7721 GB, free: 148.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001231/0.9049, allocations: 245.1 kB / 0.7723 GB, free: 148.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001628/0.9065, allocations: 1.167 MB / 0.7735 GB, free: 147.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001751/0.9083, allocations: 178.9 kB / 0.7736 GB, free: 147.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001071/0.9084, allocations: 59.59 kB / 0.7737 GB, free: 147.1 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002141/0.9105, allocations: 0.8278 MB / 0.7745 GB, free: 146.6 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001791/0.9123, allocations: 0.7915 MB / 0.7753 GB, free: 146.1 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003398/0.9158, allocations: 1.212 MB / 0.7765 GB, free: 145.3 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.127e-06/0.9158, allocations: 1.344 kB / 0.7765 GB, free: 145.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=119) (initialization_lambda0): time 0.004492/0.9203, allocations: 1.641 MB / 0.7781 GB, free: 144.2 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.9203, allocations: 10.34 kB / 0.7781 GB, free: 144.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.575e-06/0.9203, allocations: 11.94 kB / 0.7781 GB, free: 144.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001654/0.922, allocations: 0.5655 MB / 0.7786 GB, free: 143.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001197/0.9232, allocations: 254.5 kB / 0.7789 GB, free: 143.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001535/0.9247, allocations: 1.166 MB / 0.78 GB, free: 142.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001601/0.9263, allocations: 159.2 kB / 0.7802 GB, free: 142 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.415e-05/0.9264, allocations: 59.94 kB / 0.7802 GB, free: 141.9 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 ($PRE.calDat.nextTimeEvent,$whenCondition1,heaPum.com.isOn,$PRE.heaPum.com.isOn,calDat.nextTimeEventScaled,$PRE.calDat.nextTimeEventScaled,calDat.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(4,25)} Notification: Performance of prepare postOptimizeDAE: time 0.000306/0.9268, allocations: 245.2 kB / 0.7805 GB, free: 141.7 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002414/0.927, allocations: 150.2 kB / 0.7806 GB, free: 141.5 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01184/0.9388, allocations: 2.112 MB / 0.7827 GB, free: 139.4 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.347e-05/0.9389, allocations: 11.94 kB / 0.7827 GB, free: 139.4 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.9389, allocations: 0 / 0.7827 GB, free: 139.4 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01102/0.9499, allocations: 1.951 MB / 0.7846 GB, free: 137.4 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006967/0.9569, allocations: 3.662 MB / 0.7882 GB, free: 133.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.9569, allocations: 0 / 0.7882 GB, free: 133.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001038/0.958, allocations: 175.9 kB / 0.7883 GB, free: 133.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00167/0.9597, allocations: 0.5523 MB / 0.7889 GB, free: 132.9 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-05/0.9598, allocations: 39.94 kB / 0.7889 GB, free: 132.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001571/0.9613, allocations: 1.154 MB / 0.79 GB, free: 131.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.9613, allocations: 4 kB / 0.79 GB, free: 131.7 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00444/0.9658, allocations: 1.596 MB / 0.7916 GB, free: 130 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006697/0.9665, allocations: 375 kB / 0.7919 GB, free: 129.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002024/0.9667, allocations: 20 kB / 0.792 GB, free: 129.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001526/0.9682, allocations: 111.9 kB / 0.7921 GB, free: 129.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001078/0.9683, allocations: 67.45 kB / 0.7921 GB, free: 129.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001062/0.9684, allocations: 55.92 kB / 0.7922 GB, free: 129.4 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001005/0.9695, allocations: 0.879 MB / 0.793 GB, free: 128.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9695, allocations: 0 / 0.793 GB, free: 128.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002051/0.9715, allocations: 0.967 MB / 0.794 GB, free: 127.6 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 (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(4,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001737/0.9733, allocations: 0.8942 MB / 0.7949 GB, free: 127 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.006122/0.9794, allocations: 2.029 MB / 0.7968 GB, free: 125 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.9794, allocations: 7.781 kB / 0.7969 GB, free: 125 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001941/0.9814, allocations: 0.6204 MB / 0.7975 GB, free: 124.3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002787/0.9842, allocations: 0.763 MB / 0.7982 GB, free: 123.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004761/0.9889, allocations: 2.687 MB / 0.8008 GB, free: 120.9 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005117/0.9895, allocations: 1.263 MB / 0.8021 GB, free: 119.6 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001289/0.9908, allocations: 363.3 kB / 0.8024 GB, free: 119.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003043/0.9911, allocations: 143.3 kB / 0.8025 GB, free: 119.1 MB / 0.5762 GB Notification: Performance of SimCode: time 7.12e-07/0.9911, allocations: 4 kB / 0.8026 GB, free: 119.1 MB / 0.5762 GB Notification: Performance of Templates: time 0.04662/1.038, allocations: 40 MB / 0.8416 GB, free: 79.56 MB / 0.5762 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 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe 2>&1)