Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.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.Validation.ScrollWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed") translateModel(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001061/0.001061, allocations: 104.8 kB / 16.36 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.00114/0.00114, allocations: 199.2 kB / 17.3 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.333/1.333, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7609/0.7609, allocations: 132.2 MB / 423.3 MB, free: 6.629 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 59.91 kB / 0.5032 GB, free: 10.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3195/0.3207, allocations: 80.18 MB / 0.5815 GB, free: 27.58 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed): time 0.05848/0.3793, allocations: 69.91 MB / 0.6497 GB, free: 8.141 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01954/0.3989, allocations: 14.36 MB / 0.6638 GB, free: 9.746 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002727/0.4016, allocations: 71.56 kB / 0.6638 GB, free: 9.676 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002253/0.404, allocations: 0.9161 MB / 0.6647 GB, free: 8.754 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006299/0.4103, allocations: 2.541 MB / 0.6672 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004735/0.415, allocations: 1.976 MB / 0.6691 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005725/0.4208, allocations: 4.684 MB / 0.6737 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002178/0.423, allocations: 1.618 MB / 0.6753 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00386/0.4269, allocations: 1.775 MB / 0.677 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001928/0.4288, allocations: 1.269 MB / 0.6783 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0003299/0.4291, allocations: 196 kB / 0.6785 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004185/0.4333, allocations: 1.977 MB / 0.6804 GB, free: 8.688 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0005516/0.4339, allocations: 470.5 kB / 0.6808 GB, free: 8.227 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001368/0.4353, allocations: 1.023 MB / 0.6818 GB, free: 7.199 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004731/0.44, allocations: 3.521 MB / 0.6853 GB, free: 3.672 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.44, allocations: 0 / 0.6853 GB, free: 3.672 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.543e-06/0.4401, allocations: 0 / 0.6853 GB, free: 3.672 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.723e-05/0.4401, allocations: 3.938 kB / 0.6853 GB, free: 3.668 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.003882/0.444, allocations: 2.294 MB / 0.6875 GB, free: 1.305 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.444, allocations: 8.031 kB / 0.6875 GB, free: 1.297 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005277/0.4493, allocations: 0.7009 MB / 0.6882 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002702/0.452, allocations: 1.58 MB / 0.6898 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001371/0.4522, allocations: 140 kB / 0.6899 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002061/0.4524, allocations: 116 kB / 0.69 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003671/0.4561, allocations: 1.635 MB / 0.6916 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.201e-05/0.4561, allocations: 4 kB / 0.6916 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000127/0.4562, allocations: 51.94 kB / 0.6916 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.801e-05/0.4563, allocations: 35.98 kB / 0.6917 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004486/0.4608, allocations: 1.46 MB / 0.6931 GB, free: 11.42 MB / 0.5294 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.01049/0.4713, allocations: 6.999 MB / 0.6999 GB, free: 4.07 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002163/0.4735, allocations: 0.7283 MB / 0.7007 GB, free: 3.336 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001579/0.4751, allocations: 0.4903 MB / 0.7011 GB, free: 2.84 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001278/0.4764, allocations: 1.267 MB / 0.7024 GB, free: 1.297 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.432e-05/0.4764, allocations: 51.06 kB / 0.7024 GB, free: 1.238 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=68): time 2.595e-06/0.4765, allocations: 0 / 0.7024 GB, free: 1.238 MB / 0.5294 GB Notification: Performance of matching and sorting (n=68): time 0.01915/0.4956, allocations: 3.008 MB / 0.7054 GB, free: 14.2 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.739e-05/0.4957, allocations: 111.4 kB / 0.7055 GB, free: 14.07 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002086/0.4978, allocations: 1.382 MB / 0.7068 GB, free: 12.67 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001333/0.4979, allocations: 45.7 kB / 0.7069 GB, free: 12.62 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005796/0.4985, allocations: 0.6879 MB / 0.7075 GB, free: 11.93 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002773/0.4988, allocations: 244.5 kB / 0.7078 GB, free: 11.68 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003739/0.4992, allocations: 230.3 kB / 0.708 GB, free: 11.45 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.4993, allocations: 345.9 kB / 0.7083 GB, free: 11.11 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001942/0.5013, allocations: 0.5083 MB / 0.7088 GB, free: 10.6 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002089/0.5034, allocations: 0.7822 MB / 0.7096 GB, free: 9.707 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003511/0.5069, allocations: 1.133 MB / 0.7107 GB, free: 8.488 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.5069, allocations: 4 kB / 0.7107 GB, free: 8.484 MB / 0.545 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.005077/0.512, allocations: 1.562 MB / 0.7122 GB, free: 6.91 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.5121, allocations: 8 kB / 0.7122 GB, free: 6.902 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.5121, allocations: 4 kB / 0.7122 GB, free: 6.898 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001709/0.5138, allocations: 482.1 kB / 0.7127 GB, free: 6.426 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001365/0.5152, allocations: 259.6 kB / 0.7129 GB, free: 6.172 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001601/0.5168, allocations: 0.9938 MB / 0.7139 GB, free: 5.152 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002181/0.519, allocations: 226.6 kB / 0.7141 GB, free: 4.93 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001211/0.5191, allocations: 55.95 kB / 0.7142 GB, free: 4.875 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002301/0.5214, allocations: 0.8025 MB / 0.7149 GB, free: 4.066 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00205/0.5235, allocations: 0.7751 MB / 0.7157 GB, free: 3.184 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003454/0.5269, allocations: 1.129 MB / 0.7168 GB, free: 1.969 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.673e-06/0.527, allocations: 3.984 kB / 0.7168 GB, free: 1.965 MB / 0.545 GB Notification: Performance of matching and sorting (n=114) (initialization_lambda0): time 0.004973/0.5319, allocations: 1.551 MB / 0.7183 GB, free: 412 kB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.532, allocations: 11.94 kB / 0.7183 GB, free: 400 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/0.532, allocations: 8 kB / 0.7183 GB, free: 392 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001593/0.5336, allocations: 486.8 kB / 0.7188 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001358/0.535, allocations: 255.8 kB / 0.7191 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001599/0.5366, allocations: 1.001 MB / 0.72 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002264/0.5389, allocations: 195.3 kB / 0.7202 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001193/0.539, allocations: 55.94 kB / 0.7203 GB, free: 14.39 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (heaPum.com.isOn,$PRE.heaPum.com.isOn) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 93 * 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 {(2,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0003347/0.5393, allocations: 236 kB / 0.7205 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003119/0.5397, allocations: 146.2 kB / 0.7206 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004116/0.5438, allocations: 1.296 MB / 0.7219 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.339e-05/0.5438, allocations: 8 kB / 0.7219 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.5438, allocations: 0 / 0.7219 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003459/0.5473, allocations: 1.111 MB / 0.723 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007468/0.5548, allocations: 3.038 MB / 0.726 GB, free: 8.371 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.818e-06/0.5548, allocations: 4 kB / 0.726 GB, free: 8.367 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008918/0.5557, allocations: 155.8 kB / 0.7261 GB, free: 8.215 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001596/0.5573, allocations: 479.3 kB / 0.7266 GB, free: 7.75 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.135e-05/0.5574, allocations: 31.97 kB / 0.7266 GB, free: 7.719 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001577/0.559, allocations: 0.9941 MB / 0.7276 GB, free: 6.703 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.356e-05/0.559, allocations: 7.938 kB / 0.7276 GB, free: 6.695 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00575/0.5648, allocations: 1.92 MB / 0.7295 GB, free: 4.703 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008288/0.5656, allocations: 363 kB / 0.7298 GB, free: 4.328 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002369/0.5659, allocations: 16 kB / 0.7298 GB, free: 4.312 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001598/0.5675, allocations: 115.8 kB / 0.7299 GB, free: 4.199 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001157/0.5676, allocations: 60.25 kB / 0.73 GB, free: 4.137 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.889e-05/0.5677, allocations: 51.88 kB / 0.73 GB, free: 4.086 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001575/0.5693, allocations: 0.9894 MB / 0.731 GB, free: 3.098 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5693, allocations: 0 / 0.731 GB, free: 3.098 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00244/0.5718, allocations: 0.9007 MB / 0.7319 GB, free: 2.195 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * Number of discrete variables: 1 (heaPum.com.isOn) * Number of discrete states: 1 (heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(2,19)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0013/0.5731, allocations: 0.5527 MB / 0.7324 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006269/0.5794, allocations: 1.83 MB / 0.7342 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.814e-06/0.5794, allocations: 0 / 0.7342 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001769/0.5812, allocations: 0.5177 MB / 0.7347 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0034/0.5846, allocations: 0.8185 MB / 0.7355 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005469/0.5901, allocations: 2.686 MB / 0.7381 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007473/0.5908, allocations: 1.203 MB / 0.7393 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001508/0.5924, allocations: 375.3 kB / 0.7397 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000327/0.5927, allocations: 127.3 kB / 0.7398 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of SimCode: time 7.41e-07/0.5927, allocations: 0 / 0.7398 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of Templates: time 0.3042/0.8969, allocations: 39.18 MB / 0.778 GB, free: 140.9 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.makefile (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe 2>&1)