Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.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.ReciprocatingWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed") translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.671/2.671, allocations: 287.5 MB / 302.4 MB, free: 8.27 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.001302/0.001302, allocations: 182.7 kB / 371 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.086/2.086, allocations: 205.4 MB / 0.6297 GB, free: 10.62 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.0009731/0.0009728, allocations: 89.67 kB / 0.743 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000585/0.0005851, allocations: 16.19 kB / 0.8658 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2128/0.2134, allocations: 115.3 MB / 0.9783 GB, free: 28.4 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed): time 0.09697/0.3105, allocations: 64.51 MB / 1.041 GB, free: 11.71 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.0293/0.3398, allocations: 13.49 MB / 1.055 GB, free: 14.19 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002905/0.3428, allocations: 63.56 kB / 1.055 GB, free: 14.12 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.003312/0.3461, allocations: 0.6404 MB / 1.055 GB, free: 13.48 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.008914/0.3551, allocations: 2.003 MB / 1.057 GB, free: 11.48 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.006942/0.3621, allocations: 1.429 MB / 1.059 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.009462/0.3716, allocations: 5.098 MB / 1.064 GB, free: 4.957 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002975/0.3746, allocations: 1.152 MB / 1.065 GB, free: 3.781 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004564/0.3792, allocations: 1.396 MB / 1.066 GB, free: 2.379 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003266/0.3825, allocations: 1.139 MB / 1.067 GB, free: 1.234 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0007359/0.3833, allocations: 68 kB / 1.067 GB, free: 1.168 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.6579/1.041, allocations: 1.427 MB / 1.069 GB, free: 30.04 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001016/1.042, allocations: 320 kB / 1.069 GB, free: 30.04 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001053/1.043, allocations: 403 kB / 1.069 GB, free: 30.01 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.006839/1.05, allocations: 2.604 MB / 1.072 GB, free: 29.93 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.027e-05/1.05, allocations: 2.672 kB / 1.072 GB, free: 29.93 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.326e-06/1.05, allocations: 1.062 kB / 1.072 GB, free: 29.93 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.045e-05/1.05, allocations: 0 / 1.072 GB, free: 29.93 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.00666/1.057, allocations: 2.002 MB / 1.074 GB, free: 28.87 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/1.057, allocations: 10.38 kB / 1.074 GB, free: 28.87 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009798/1.067, allocations: 0.6939 MB / 1.074 GB, free: 28.77 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004423/1.071, allocations: 1.509 MB / 1.076 GB, free: 28.4 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002116/1.072, allocations: 136.5 kB / 1.076 GB, free: 28.36 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003752/1.072, allocations: 119.4 kB / 1.076 GB, free: 28.36 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006982/1.079, allocations: 1.65 MB / 1.078 GB, free: 28.11 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.511e-05/1.079, allocations: 3.5 kB / 1.078 GB, free: 28.11 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002359/1.079, allocations: 50.89 kB / 1.078 GB, free: 28.11 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.503e-05/1.08, allocations: 43.5 kB / 1.078 GB, free: 28.11 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008837/1.088, allocations: 1.487 MB / 1.079 GB, free: 28.08 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.01632/1.105, allocations: 6.986 MB / 1.086 GB, free: 24.93 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004198/1.109, allocations: 0.8044 MB / 1.087 GB, free: 24.87 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003041/1.112, allocations: 0.4999 MB / 1.087 GB, free: 24.86 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0016/1.114, allocations: 1.272 MB / 1.089 GB, free: 23.45 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003515/1.117, allocations: 0.6613 MB / 1.089 GB, free: 23.31 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=69): time 3.977e-06/1.117, allocations: 0 / 1.089 GB, free: 23.31 MB / 0.6823 GB Notification: Performance of matching and sorting (n=69): time 0.01909/1.136, allocations: 2.16 MB / 1.091 GB, free: 23.04 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/1.136, allocations: 328.4 kB / 1.092 GB, free: 22.67 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003557/1.14, allocations: 1.368 MB / 1.093 GB, free: 22.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003419/1.14, allocations: 46.08 kB / 1.093 GB, free: 22.46 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008047/1.141, allocations: 0.6977 MB / 1.094 GB, free: 22.21 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003837/1.142, allocations: 244 kB / 1.094 GB, free: 22.06 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001167/1.142, allocations: 22.03 kB / 1.094 GB, free: 22.05 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001005/1.142, allocations: 340.1 kB / 1.094 GB, free: 21.75 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003747/1.146, allocations: 0.5219 MB / 1.095 GB, free: 21.74 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004056/1.15, allocations: 0.8307 MB / 1.096 GB, free: 21.41 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005215/1.155, allocations: 0.6035 MB / 1.096 GB, free: 21.35 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.829e-05/1.155, allocations: 1.844 kB / 1.096 GB, free: 21.35 MB / 0.6823 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.0183/1.173, allocations: 1.836 MB / 1.098 GB, free: 21.17 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.00022/1.174, allocations: 314.4 kB / 1.098 GB, free: 20.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.92e-05/1.174, allocations: 6.281 kB / 1.098 GB, free: 20.82 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002272/1.176, allocations: 367.4 kB / 1.099 GB, free: 20.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003097/1.179, allocations: 279.9 kB / 1.099 GB, free: 20.79 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001932/1.181, allocations: 0.8988 MB / 1.1 GB, free: 20.26 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005167/1.186, allocations: 297.6 kB / 1.1 GB, free: 20.18 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003776/1.187, allocations: 61.42 kB / 1.1 GB, free: 20.18 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/1.187, allocations: 7.562 kB / 1.1 GB, free: 20.18 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01368/1.2, allocations: 1.676 MB / 1.102 GB, free: 20.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.771e-05/1.201, allocations: 10.69 kB / 1.102 GB, free: 20.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002067/1.203, allocations: 364.4 kB / 1.102 GB, free: 20.08 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003041/1.206, allocations: 287.3 kB / 1.103 GB, free: 20.07 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001783/1.208, allocations: 0.8997 MB / 1.103 GB, free: 19.54 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004668/1.212, allocations: 262.9 kB / 1.104 GB, free: 19.48 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003917/1.213, allocations: 56.62 kB / 1.104 GB, free: 19.48 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: 7 ($whenCondition1,$PRE.heaPum.com.isOn,heaPum.com.isOn,$PRE.N.T_start,N.T_start,$PRE.N.count,N.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 1 * 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 17} Notification: Performance of prepare postOptimizeDAE: time 0.001547/1.214, allocations: 455.2 kB / 1.104 GB, free: 19.29 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006236/1.215, allocations: 147.6 kB / 1.104 GB, free: 19.21 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007647/1.223, allocations: 1.275 MB / 1.106 GB, free: 19.09 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.859e-05/1.223, allocations: 12.75 kB / 1.106 GB, free: 19.09 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/1.223, allocations: 0 / 1.106 GB, free: 19.09 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006604/1.229, allocations: 1.081 MB / 1.107 GB, free: 18.9 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01345/1.243, allocations: 3.323 MB / 1.11 GB, free: 18.05 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.44e-05/1.243, allocations: 7.125 kB / 1.11 GB, free: 18.05 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002067/1.245, allocations: 171.4 kB / 1.11 GB, free: 18.05 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002094/1.247, allocations: 356.4 kB / 1.11 GB, free: 18.03 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002446/1.247, allocations: 32.75 kB / 1.11 GB, free: 18.02 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001799/1.249, allocations: 0.8996 MB / 1.111 GB, free: 17.49 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.899e-06/1.249, allocations: 9.891 kB / 1.111 GB, free: 17.49 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01114/1.26, allocations: 1.961 MB / 1.113 GB, free: 17.07 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001575/1.262, allocations: 395.7 kB / 1.114 GB, free: 16.89 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007428/1.263, allocations: 20.94 kB / 1.114 GB, free: 16.89 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003993/1.267, allocations: 172 kB / 1.114 GB, free: 16.88 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003133/1.267, allocations: 63.83 kB / 1.114 GB, free: 16.88 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001984/1.267, allocations: 37.98 kB / 1.114 GB, free: 16.88 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.003103/1.27, allocations: 0.9807 MB / 1.115 GB, free: 16.76 MB / 0.6823 GB Notification: Performance of sort global known variables: time 8.12e-07/1.271, allocations: 0 / 1.115 GB, free: 16.76 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.005599/1.276, allocations: 0.8952 MB / 1.116 GB, free: 16.64 MB / 0.6823 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: 4 ($whenCondition1,heaPum.com.isOn,N.T_start,N.count) * Number of discrete states: 2 (N.count,heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * 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 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.002213/1.278, allocations: 0.5255 MB / 1.116 GB, free: 16.46 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.01291/1.291, allocations: 2.008 MB / 1.118 GB, free: 16.29 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.797e-05/1.291, allocations: 6.312 kB / 1.118 GB, free: 16.29 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.003844/1.295, allocations: 0.5704 MB / 1.119 GB, free: 16.28 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007924/1.303, allocations: 0.8018 MB / 1.119 GB, free: 16.21 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01055/1.314, allocations: 3.165 MB / 1.123 GB, free: 14.65 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009482/1.315, allocations: 1.215 MB / 1.124 GB, free: 13.92 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.003471/1.318, allocations: 372.6 kB / 1.124 GB, free: 13.82 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007381/1.319, allocations: 127.2 kB / 1.124 GB, free: 13.81 MB / 0.6823 GB Notification: Performance of SimCode: time 1.463e-06/1.319, allocations: 0 / 1.124 GB, free: 13.81 MB / 0.6823 GB Notification: Performance of Templates: time 0.09499/1.414, allocations: 36.25 MB / 1.16 GB, free: 5.43 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe 2>&1)