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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001237/0.001237, allocations: 183.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6908/0.6908, allocations: 132.2 MB / 148.9 MB, free: 12.13 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.346/1.346, allocations: 222.9 MB / 403.4 MB, free: 7.098 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 103.2 kB / 484.3 MB, free: 8.715 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009815/0.0009815, allocations: 51.92 kB / 0.5618 GB, free: 71.07 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1242, allocations: 80.2 MB / 0.6402 GB, free: 6.797 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater): time 0.3839/0.5082, allocations: 125.3 MB / 0.7625 GB, free: 6.082 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.02347/0.5317, allocations: 15.56 MB / 0.7777 GB, free: 9.52 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003145/0.5349, allocations: 67.56 kB / 0.7778 GB, free: 9.453 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.002625/0.5375, allocations: 0.8043 MB / 0.7785 GB, free: 8.645 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.006971/0.5446, allocations: 2.383 MB / 0.7809 GB, free: 6.258 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.00495/0.5495, allocations: 1.909 MB / 0.7827 GB, free: 4.371 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.006679/0.5562, allocations: 6.037 MB / 0.7886 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001988/0.5582, allocations: 1.406 MB / 0.79 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002856/0.5611, allocations: 1.552 MB / 0.7915 GB, free: 11.32 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01113/0.5722, allocations: 1.31 MB / 0.7928 GB, free: 10 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0004295/0.5727, allocations: 92 kB / 0.7929 GB, free: 9.914 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004807/0.5775, allocations: 1.821 MB / 0.7947 GB, free: 8.09 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0005255/0.5781, allocations: 410.3 kB / 0.7951 GB, free: 7.688 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.001364/0.5794, allocations: 0.96 MB / 0.796 GB, free: 6.723 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.004774/0.5842, allocations: 3.602 MB / 0.7995 GB, free: 3.113 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.5842, allocations: 0 / 0.7995 GB, free: 3.113 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.042e-06/0.5843, allocations: 4 kB / 0.7995 GB, free: 3.109 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.164e-05/0.5843, allocations: 0 / 0.7995 GB, free: 3.109 MB / 0.5261 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.004105/0.5884, allocations: 2.452 MB / 0.8019 GB, free: 0.5859 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.5884, allocations: 12.03 kB / 0.8019 GB, free: 0.5742 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005625/0.5941, allocations: 0.7124 MB / 0.8026 GB, free: 15.86 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002722/0.5968, allocations: 1.666 MB / 0.8042 GB, free: 14.14 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001272/0.5969, allocations: 128.2 kB / 0.8044 GB, free: 14 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001825/0.5971, allocations: 128 kB / 0.8045 GB, free: 13.88 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003797/0.6009, allocations: 1.735 MB / 0.8062 GB, free: 12.04 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.484e-05/0.601, allocations: 0 / 0.8062 GB, free: 12.04 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001413/0.6011, allocations: 56 kB / 0.8062 GB, free: 11.99 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.185e-05/0.6012, allocations: 39.98 kB / 0.8063 GB, free: 11.95 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004791/0.606, allocations: 1.512 MB / 0.8077 GB, free: 10.43 MB / 0.5417 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.009438/0.6154, allocations: 7.554 MB / 0.8151 GB, free: 2.465 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004116/0.6196, allocations: 1.17 MB / 0.8163 GB, free: 1.293 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001945/0.6215, allocations: 0.5844 MB / 0.8168 GB, free: 0.707 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001209/0.6227, allocations: 1.275 MB / 0.8181 GB, free: 15.15 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002249/0.625, allocations: 0.6913 MB / 0.8188 GB, free: 14.45 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=80): time 3.086e-06/0.625, allocations: 0 / 0.8188 GB, free: 14.45 MB / 0.5573 GB Notification: Performance of matching and sorting (n=80): time 0.01828/0.6433, allocations: 3.167 MB / 0.8218 GB, free: 11.25 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.12e-05/0.6434, allocations: 137.2 kB / 0.822 GB, free: 11.09 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001822/0.6453, allocations: 1.282 MB / 0.8232 GB, free: 9.789 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001226/0.6454, allocations: 45.7 kB / 0.8233 GB, free: 9.738 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006145/0.646, allocations: 0.7192 MB / 0.824 GB, free: 9.012 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002931/0.6463, allocations: 276 kB / 0.8242 GB, free: 8.738 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003683/0.6467, allocations: 230.3 kB / 0.8245 GB, free: 8.504 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.6468, allocations: 341.9 kB / 0.8248 GB, free: 8.164 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002024/0.6488, allocations: 0.5278 MB / 0.8253 GB, free: 7.633 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002175/0.651, allocations: 0.7983 MB / 0.8261 GB, free: 6.727 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003958/0.655, allocations: 1.233 MB / 0.8273 GB, free: 5.414 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/0.655, allocations: 4 kB / 0.8273 GB, free: 5.41 MB / 0.5573 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.005339/0.6604, allocations: 1.652 MB / 0.8289 GB, free: 3.742 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.6604, allocations: 8 kB / 0.8289 GB, free: 3.734 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.294e-05/0.6604, allocations: 8 kB / 0.8289 GB, free: 3.727 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002028/0.6624, allocations: 0.5699 MB / 0.8295 GB, free: 3.156 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001353/0.6638, allocations: 247.6 kB / 0.8297 GB, free: 2.914 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002003/0.6658, allocations: 1.178 MB / 0.8309 GB, free: 1.711 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002015/0.6679, allocations: 226.8 kB / 0.8311 GB, free: 1.488 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001293/0.668, allocations: 59.94 kB / 0.8311 GB, free: 1.43 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00243/0.6704, allocations: 0.8298 MB / 0.8319 GB, free: 0.5977 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002124/0.6726, allocations: 0.7944 MB / 0.8327 GB, free: 15.69 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003884/0.6765, allocations: 1.209 MB / 0.8339 GB, free: 14.4 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.897e-06/0.6765, allocations: 0 / 0.8339 GB, free: 14.4 MB / 0.573 GB Notification: Performance of matching and sorting (n=119) (initialization_lambda0): time 0.005155/0.6817, allocations: 1.637 MB / 0.8355 GB, free: 12.75 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.6817, allocations: 8 kB / 0.8355 GB, free: 12.75 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.6817, allocations: 11.88 kB / 0.8355 GB, free: 12.73 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001892/0.6836, allocations: 0.5675 MB / 0.8361 GB, free: 12.16 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001298/0.6849, allocations: 243.6 kB / 0.8363 GB, free: 11.93 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001926/0.6868, allocations: 1.17 MB / 0.8374 GB, free: 10.73 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001943/0.6888, allocations: 207.2 kB / 0.8376 GB, free: 10.53 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001142/0.6889, allocations: 51.95 kB / 0.8377 GB, free: 10.48 MB / 0.573 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.0003332/0.6893, allocations: 244 kB / 0.8379 GB, free: 10.23 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003985/0.6897, allocations: 146.2 kB / 0.8381 GB, free: 10.09 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0129/0.7026, allocations: 2.13 MB / 0.8401 GB, free: 7.941 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.937e-05/0.7027, allocations: 12 kB / 0.8402 GB, free: 7.93 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.7027, allocations: 0 / 0.8402 GB, free: 7.93 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01176/0.7144, allocations: 1.954 MB / 0.8421 GB, free: 5.934 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008441/0.7229, allocations: 3.641 MB / 0.8456 GB, free: 2.121 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.351e-05/0.723, allocations: 8.031 kB / 0.8456 GB, free: 2.113 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001092/0.7241, allocations: 175.7 kB / 0.8458 GB, free: 1.941 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001836/0.7259, allocations: 0.5473 MB / 0.8463 GB, free: 1.391 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.77e-05/0.726, allocations: 39.94 kB / 0.8464 GB, free: 1.352 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001919/0.7279, allocations: 1.158 MB / 0.8475 GB, free: 172 kB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.728, allocations: 0 / 0.8475 GB, free: 172 kB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007791/0.7358, allocations: 3.058 MB / 0.8505 GB, free: 13.03 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008032/0.7366, allocations: 375 kB / 0.8508 GB, free: 12.64 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002749/0.7369, allocations: 23.94 kB / 0.8509 GB, free: 12.62 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001758/0.7386, allocations: 155.7 kB / 0.851 GB, free: 12.46 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001145/0.7388, allocations: 56.58 kB / 0.8511 GB, free: 12.41 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000125/0.7389, allocations: 55.92 kB / 0.8511 GB, free: 12.36 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.001198/0.7401, allocations: 0.8673 MB / 0.852 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7401, allocations: 0 / 0.852 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.002751/0.7429, allocations: 0.9977 MB / 0.8529 GB, free: 10.49 MB / 0.5886 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.002021/0.7449, allocations: 0.8847 MB / 0.8538 GB, free: 9.781 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.00676/0.7517, allocations: 2.006 MB / 0.8558 GB, free: 7.777 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 5.591e-06/0.7517, allocations: 0 / 0.8558 GB, free: 7.777 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.002157/0.7538, allocations: 0.6243 MB / 0.8564 GB, free: 7.152 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003634/0.7575, allocations: 0.7545 MB / 0.8571 GB, free: 6.406 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006651/0.7641, allocations: 3.774 MB / 0.8608 GB, free: 2.566 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00106/0.7652, allocations: 1.278 MB / 0.862 GB, free: 1.262 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001906/0.7671, allocations: 367.9 kB / 0.8624 GB, free: 0.8984 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004015/0.7676, allocations: 143.3 kB / 0.8625 GB, free: 0.7617 MB / 0.5886 GB Notification: Performance of SimCode: time 6.61e-07/0.7676, allocations: 0 / 0.8625 GB, free: 0.7617 MB / 0.5886 GB Notification: Performance of Templates: time 0.05743/0.825, allocations: 39.45 MB / 0.9011 GB, free: 9.648 MB / 0.6355 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)