Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static") translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.677/1.677, allocations: 287.5 MB / 302.6 MB, free: 8.172 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001016/0.001016, allocations: 184.8 kB / 371.2 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.51/1.51, allocations: 205.4 MB / 0.6299 GB, free: 10.56 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007755/0.0007753, allocations: 89.28 kB / 0.7432 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004167/0.0004168, allocations: 11.88 kB / 0.8661 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2015/0.202, allocations: 115.3 MB / 0.9787 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static): time 0.05289/0.2549, allocations: 64.48 MB / 1.042 GB, free: 11.52 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.01916/0.2741, allocations: 13.38 MB / 1.055 GB, free: 14.12 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002422/0.2766, allocations: 63.56 kB / 1.055 GB, free: 14.06 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.002171/0.2788, allocations: 0.6405 MB / 1.055 GB, free: 13.41 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.006269/0.2851, allocations: 1.987 MB / 1.057 GB, free: 11.42 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.004356/0.2894, allocations: 1.42 MB / 1.059 GB, free: 10.02 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.006246/0.2957, allocations: 5.074 MB / 1.064 GB, free: 4.93 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00225/0.298, allocations: 1.266 MB / 1.065 GB, free: 3.633 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002677/0.3006, allocations: 1.373 MB / 1.066 GB, free: 2.254 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001585/0.3023, allocations: 1.132 MB / 1.067 GB, free: 1.117 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0003461/0.3026, allocations: 68 kB / 1.067 GB, free: 1.051 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.4018/0.7044, allocations: 1.419 MB / 1.069 GB, free: 30.05 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.000783/0.7053, allocations: 313.3 kB / 1.069 GB, free: 30.05 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0008305/0.7061, allocations: 401.6 kB / 1.069 GB, free: 30.02 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.004618/0.7107, allocations: 2.578 MB / 1.072 GB, free: 29.94 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.7107, allocations: 1 kB / 1.072 GB, free: 29.94 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.104e-06/0.7108, allocations: 3.656 kB / 1.072 GB, free: 29.94 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.02e-05/0.7108, allocations: 0 / 1.072 GB, free: 29.94 MB / 0.6823 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.004601/0.7154, allocations: 1.95 MB / 1.074 GB, free: 28.91 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.7155, allocations: 9.281 kB / 1.074 GB, free: 28.91 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00534/0.7208, allocations: 0.7328 MB / 1.075 GB, free: 28.81 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002611/0.7235, allocations: 1.544 MB / 1.076 GB, free: 28.41 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001356/0.7236, allocations: 132.8 kB / 1.076 GB, free: 28.37 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001994/0.7238, allocations: 119.6 kB / 1.076 GB, free: 28.37 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004247/0.7281, allocations: 1.675 MB / 1.078 GB, free: 28.1 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.056e-05/0.7281, allocations: 1.094 kB / 1.078 GB, free: 28.1 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001446/0.7283, allocations: 51.28 kB / 1.078 GB, free: 28.1 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.968e-05/0.7283, allocations: 33.92 kB / 1.078 GB, free: 28.1 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004994/0.7333, allocations: 1.517 MB / 1.08 GB, free: 28.06 MB / 0.6823 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.01019/0.7435, allocations: 7.301 MB / 1.087 GB, free: 24.55 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002326/0.7459, allocations: 0.8405 MB / 1.088 GB, free: 24.52 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00167/0.7476, allocations: 0.5267 MB / 1.088 GB, free: 24.5 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001043/0.7486, allocations: 1.272 MB / 1.089 GB, free: 23.09 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.993e-05/0.7487, allocations: 43.28 kB / 1.089 GB, free: 23.04 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=70): time 3.146e-06/0.7487, allocations: 0 / 1.089 GB, free: 23.04 MB / 0.6823 GB Notification: Performance of matching and sorting (n=70): time 0.02865/0.7773, allocations: 4.308 MB / 1.094 GB, free: 22.64 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.765e-05/0.7774, allocations: 114.8 kB / 1.094 GB, free: 22.52 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002441/0.7799, allocations: 1.35 MB / 1.095 GB, free: 22.35 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.00019/0.7801, allocations: 50.5 kB / 1.095 GB, free: 22.31 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006375/0.7807, allocations: 0.6735 MB / 1.096 GB, free: 22.07 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002504/0.781, allocations: 243.7 kB / 1.096 GB, free: 21.91 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.601e-05/0.781, allocations: 17.38 kB / 1.096 GB, free: 21.91 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.199e-05/0.7811, allocations: 343.9 kB / 1.096 GB, free: 21.61 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001899/0.783, allocations: 0.5181 MB / 1.097 GB, free: 21.6 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002018/0.7851, allocations: 0.7912 MB / 1.098 GB, free: 21.29 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003486/0.7885, allocations: 1.178 MB / 1.099 GB, free: 21.04 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.7886, allocations: 2.406 kB / 1.099 GB, free: 21.04 MB / 0.6823 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.005103/0.7937, allocations: 1.635 MB / 1.1 GB, free: 20.89 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001164/0.7938, allocations: 281.3 kB / 1.101 GB, free: 20.58 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/0.7938, allocations: 7.688 kB / 1.101 GB, free: 20.58 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001811/0.7956, allocations: 0.5684 MB / 1.101 GB, free: 20.54 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001263/0.7969, allocations: 254.3 kB / 1.101 GB, free: 20.53 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001714/0.7986, allocations: 1.167 MB / 1.103 GB, free: 19.99 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002495/0.8012, allocations: 287.1 kB / 1.103 GB, free: 19.92 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001167/0.8013, allocations: 58.17 kB / 1.103 GB, free: 19.92 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.438e-06/0.8013, allocations: 7.094 kB / 1.103 GB, free: 19.91 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004563/0.8059, allocations: 1.468 MB / 1.104 GB, free: 19.87 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.8059, allocations: 9.641 kB / 1.104 GB, free: 19.87 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001641/0.8075, allocations: 0.5647 MB / 1.105 GB, free: 19.83 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001196/0.8087, allocations: 249.4 kB / 1.105 GB, free: 19.82 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001628/0.8104, allocations: 1.168 MB / 1.106 GB, free: 19.29 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002193/0.8126, allocations: 247.7 kB / 1.106 GB, free: 19.23 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001083/0.8127, allocations: 57.38 kB / 1.107 GB, free: 19.23 MB / 0.6823 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 (82): * Single equations (assignments): 81 * 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.0009344/0.8137, allocations: 448.6 kB / 1.107 GB, free: 19.03 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002402/0.8139, allocations: 147.2 kB / 1.107 GB, free: 18.96 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004156/0.8181, allocations: 1.412 MB / 1.108 GB, free: 18.83 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.561e-05/0.8181, allocations: 10.75 kB / 1.108 GB, free: 18.83 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.8181, allocations: 4 kB / 1.108 GB, free: 18.82 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003626/0.8217, allocations: 1.206 MB / 1.11 GB, free: 18.62 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007585/0.8293, allocations: 3.506 MB / 1.113 GB, free: 17.64 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.707e-06/0.8294, allocations: 6.922 kB / 1.113 GB, free: 17.64 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008707/0.8302, allocations: 150.9 kB / 1.113 GB, free: 17.63 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00181/0.8321, allocations: 0.5522 MB / 1.114 GB, free: 17.59 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.782e-05/0.8321, allocations: 33.19 kB / 1.114 GB, free: 17.58 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001754/0.8339, allocations: 1.169 MB / 1.115 GB, free: 17.04 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.803e-06/0.8339, allocations: 5.062 kB / 1.115 GB, free: 17.04 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004291/0.8382, allocations: 1.476 MB / 1.116 GB, free: 16.65 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007804/0.839, allocations: 403.1 kB / 1.117 GB, free: 16.46 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002285/0.8393, allocations: 20.89 kB / 1.117 GB, free: 16.46 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00175/0.841, allocations: 158.9 kB / 1.117 GB, free: 16.46 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001161/0.8411, allocations: 61.09 kB / 1.117 GB, free: 16.45 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.084e-05/0.8412, allocations: 44.45 kB / 1.117 GB, free: 16.45 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001669/0.8429, allocations: 0.9473 MB / 1.118 GB, free: 16.34 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.71e-07/0.8429, allocations: 0 / 1.118 GB, free: 16.34 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002811/0.8457, allocations: 0.892 MB / 1.119 GB, free: 16.21 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 0 () * 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 (42): * Single equations (assignments): 39 * 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 {4 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.001245/0.847, allocations: 0.5193 MB / 1.119 GB, free: 16.04 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.006698/0.8537, allocations: 1.904 MB / 1.121 GB, free: 15.97 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.121e-05/0.8537, allocations: 2.219 kB / 1.121 GB, free: 15.97 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.00195/0.8557, allocations: 0.5594 MB / 1.122 GB, free: 15.95 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004646/0.8604, allocations: 0.8018 MB / 1.123 GB, free: 15.87 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006524/0.8669, allocations: 3.115 MB / 1.126 GB, free: 14.38 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007308/0.8676, allocations: 1.202 MB / 1.127 GB, free: 13.47 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001864/0.8695, allocations: 338 kB / 1.127 GB, free: 13.3 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003048/0.8698, allocations: 127.6 kB / 1.127 GB, free: 13.27 MB / 0.6823 GB Notification: Performance of SimCode: time 8.52e-07/0.8698, allocations: 0 / 1.127 GB, free: 13.27 MB / 0.6823 GB Notification: Performance of Templates: time 0.05693/0.9268, allocations: 38.07 MB / 1.164 GB, free: 0.9297 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe 2>&1)