Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.Validation.ScrollWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed") translateModel(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001074/0.001074, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.001388/0.001388, allocations: 168.7 kB / 15.95 MB, free: 204 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.442/1.442, allocations: 223.3 MB / 240 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9859/0.9859, allocations: 135.3 MB / 426.4 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003269/0.0003269, allocations: 8 kB / 0.507 GB, free: 5.133 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1812/0.1815, allocations: 82.31 MB / 0.5874 GB, free: 2.992 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed): time 0.377/0.5586, allocations: 64.46 MB / 0.6503 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01971/0.5783, allocations: 13.44 MB / 0.6634 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003427/0.5818, allocations: 61.69 kB / 0.6635 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002506/0.5843, allocations: 0.6453 MB / 0.6641 GB, free: 4.527 MB / 0.4981 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.006925/0.5913, allocations: 2.002 MB / 0.6661 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005136/0.5964, allocations: 1.399 MB / 0.6675 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00927/0.6057, allocations: 5.112 MB / 0.6724 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003247/0.609, allocations: 1.159 MB / 0.6736 GB, free: 76 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004859/0.6139, allocations: 1.373 MB / 0.6749 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003721/0.6176, allocations: 1.131 MB / 0.676 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0004378/0.6181, allocations: 66.94 kB / 0.6761 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005608/0.6237, allocations: 1.426 MB / 0.6775 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0006444/0.6244, allocations: 312.4 kB / 0.6778 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001156/0.6255, allocations: 399 kB / 0.6782 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.006413/0.632, allocations: 2.596 MB / 0.6807 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 9.969e-06/0.632, allocations: 0.7812 kB / 0.6807 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.846e-06/0.632, allocations: 0 / 0.6807 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.288e-05/0.6321, allocations: 0 / 0.6807 GB, free: 13.61 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.005842/0.6379, allocations: 1.936 MB / 0.6826 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.535e-05/0.638, allocations: 13.62 kB / 0.6826 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005351/0.6433, allocations: 0.7299 MB / 0.6833 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003636/0.647, allocations: 1.523 MB / 0.6848 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001651/0.6472, allocations: 132.7 kB / 0.6849 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002396/0.6474, allocations: 122.5 kB / 0.685 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004696/0.6521, allocations: 1.645 MB / 0.6866 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.021e-05/0.6522, allocations: 5.281 kB / 0.6866 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001484/0.6523, allocations: 49.75 kB / 0.6867 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.098e-05/0.6524, allocations: 41.23 kB / 0.6867 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004915/0.6573, allocations: 1.488 MB / 0.6882 GB, free: 9.891 MB / 0.5137 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.01261/0.6699, allocations: 7.022 MB / 0.695 GB, free: 4.977 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002254/0.6722, allocations: 0.7449 MB / 0.6958 GB, free: 4.699 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001611/0.6738, allocations: 0.5016 MB / 0.6963 GB, free: 4.535 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001393/0.6752, allocations: 1.271 MB / 0.6975 GB, free: 3.09 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.449e-05/0.6753, allocations: 39.5 kB / 0.6975 GB, free: 3.047 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=68): time 2.855e-06/0.6753, allocations: 0 / 0.6975 GB, free: 3.047 MB / 0.5137 GB Notification: Performance of matching and sorting (n=68): time 0.01842/0.6937, allocations: 3.115 MB / 0.7006 GB, free: 1.512 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.523e-05/0.6938, allocations: 114.8 kB / 0.7007 GB, free: 1.379 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002972/0.6968, allocations: 1.352 MB / 0.702 GB, free: 0.6289 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002462/0.6971, allocations: 45.11 kB / 0.7021 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007388/0.6978, allocations: 0.6956 MB / 0.7027 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000286/0.6981, allocations: 242.7 kB / 0.703 GB, free: 15.76 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.933e-05/0.6982, allocations: 16.06 kB / 0.703 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001895/0.6984, allocations: 341.6 kB / 0.7033 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001854/0.7003, allocations: 0.5161 MB / 0.7038 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002053/0.7023, allocations: 0.7946 MB / 0.7046 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001875/0.7042, allocations: 0.5602 MB / 0.7051 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/0.7042, allocations: 2.344 kB / 0.7051 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.01166/0.7159, allocations: 2.153 MB / 0.7072 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002382/0.7162, allocations: 274.1 kB / 0.7075 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.568e-05/0.7162, allocations: 7.156 kB / 0.7075 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001787/0.718, allocations: 0.491 MB / 0.708 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001547/0.7195, allocations: 265 kB / 0.7082 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001698/0.7213, allocations: 0.997 MB / 0.7092 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002801/0.7241, allocations: 273.6 kB / 0.7095 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001512/0.7242, allocations: 58.09 kB / 0.7095 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.7243, allocations: 6.031 kB / 0.7095 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01112/0.7354, allocations: 2.002 MB / 0.7115 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.111e-05/0.7354, allocations: 16.48 kB / 0.7115 GB, free: 10.69 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001547/0.737, allocations: 483.4 kB / 0.712 GB, free: 10.49 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001399/0.7384, allocations: 270.9 kB / 0.7122 GB, free: 10.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001488/0.7399, allocations: 0.9843 MB / 0.7132 GB, free: 9.641 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002479/0.7424, allocations: 252.1 kB / 0.7134 GB, free: 9.508 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001501/0.7426, allocations: 52.52 kB / 0.7135 GB, free: 9.488 MB / 0.5294 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 ($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 (94): * Single equations (assignments): 93 * 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 {2 19} Notification: Performance of prepare postOptimizeDAE: time 0.001183/0.7437, allocations: 463 kB / 0.7139 GB, free: 9.125 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003358/0.7441, allocations: 140.8 kB / 0.7141 GB, free: 9.055 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003974/0.7481, allocations: 1.335 MB / 0.7154 GB, free: 8.309 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.615e-05/0.7481, allocations: 10.22 kB / 0.7154 GB, free: 8.309 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.7481, allocations: 0 / 0.7154 GB, free: 8.309 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003348/0.7515, allocations: 1.145 MB / 0.7165 GB, free: 7.391 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007659/0.7591, allocations: 3.069 MB / 0.7195 GB, free: 4.199 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.037e-05/0.7592, allocations: 4 kB / 0.7195 GB, free: 4.195 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008736/0.7601, allocations: 155.8 kB / 0.7196 GB, free: 4.043 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001605/0.7617, allocations: 488.8 kB / 0.7201 GB, free: 3.57 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.651e-05/0.7617, allocations: 27.97 kB / 0.7201 GB, free: 3.543 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001579/0.7633, allocations: 0.9895 MB / 0.7211 GB, free: 2.527 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.015e-05/0.7634, allocations: 11.98 kB / 0.7211 GB, free: 2.516 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005793/0.7692, allocations: 1.971 MB / 0.723 GB, free: 472 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001091/0.7703, allocations: 402.7 kB / 0.7234 GB, free: 48 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002591/0.7705, allocations: 20 kB / 0.7234 GB, free: 28 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001649/0.7722, allocations: 155.2 kB / 0.7236 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001223/0.7723, allocations: 60.25 kB / 0.7236 GB, free: 15.82 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.788e-05/0.7724, allocations: 47.95 kB / 0.7237 GB, free: 15.77 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001667/0.7741, allocations: 0.9698 MB / 0.7246 GB, free: 14.8 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.41e-07/0.7741, allocations: 0 / 0.7246 GB, free: 14.8 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003027/0.7772, allocations: 0.885 MB / 0.7255 GB, free: 13.92 MB / 0.545 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 (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 {2 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.001562/0.7787, allocations: 0.5144 MB / 0.726 GB, free: 13.41 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.006169/0.7849, allocations: 1.865 MB / 0.7278 GB, free: 11.54 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.095e-06/0.7849, allocations: 0 / 0.7278 GB, free: 11.54 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001733/0.7867, allocations: 0.5297 MB / 0.7283 GB, free: 11.02 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004179/0.7909, allocations: 0.797 MB / 0.7291 GB, free: 10.24 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006939/0.7978, allocations: 3.145 MB / 0.7322 GB, free: 7 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001149/0.799, allocations: 1.215 MB / 0.7334 GB, free: 5.758 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.002374/0.8014, allocations: 367.7 kB / 0.7337 GB, free: 5.402 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003468/0.8018, allocations: 131.3 kB / 0.7338 GB, free: 5.273 MB / 0.545 GB Notification: Performance of SimCode: time 7.42e-07/0.8018, allocations: 4 kB / 0.7339 GB, free: 5.27 MB / 0.545 GB Notification: Performance of Templates: time 0.06438/0.8662, allocations: 36.14 MB / 0.7691 GB, free: 1.516 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe 2>&1)