Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed") translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.401/1.401, allocations: 252 MB / 267.6 MB, free: 10.91 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001054/0.001053, allocations: 188.8 kB / 327.3 MB, free: 2.203 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.872/1.872, allocations: 205.4 MB / 0.5783 GB, free: 20.23 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008581/0.0008581, allocations: 90.3 kB / 0.6829 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003216/0.0003217, allocations: 8.719 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2259/0.2262, allocations: 106.3 MB / 0.9008 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed): time 0.04632/0.2726, allocations: 64.46 MB / 0.9638 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.02141/0.2941, allocations: 13.65 MB / 0.9771 GB, free: 1.586 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003304/0.2975, allocations: 55.62 kB / 0.9772 GB, free: 1.531 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.002642/0.3001, allocations: 0.6444 MB / 0.9778 GB, free: 0.8828 MB / 0.6198 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.00707/0.3072, allocations: 1.98 MB / 0.9797 GB, free: 14.89 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.005037/0.3123, allocations: 1.449 MB / 0.9811 GB, free: 13.46 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.007722/0.32, allocations: 5.061 MB / 0.9861 GB, free: 8.391 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003158/0.3232, allocations: 1.137 MB / 0.9872 GB, free: 7.223 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003589/0.3268, allocations: 1.365 MB / 0.9885 GB, free: 5.852 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002517/0.3294, allocations: 1.124 MB / 0.9896 GB, free: 4.723 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0005696/0.33, allocations: 68 kB / 0.9897 GB, free: 4.656 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004626/0.3346, allocations: 1.512 MB / 0.9912 GB, free: 3.145 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0008059/0.3355, allocations: 306.7 kB / 0.9915 GB, free: 2.844 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001014/0.3365, allocations: 400.8 kB / 0.9918 GB, free: 2.445 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.004655/0.3412, allocations: 2.627 MB / 0.9944 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.3412, allocations: 0 / 0.9944 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.006e-06/0.3412, allocations: 0 / 0.9944 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.388e-05/0.3413, allocations: 0 / 0.9944 GB, free: 15.81 MB / 0.6511 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.004536/0.3459, allocations: 1.975 MB / 0.9963 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.3459, allocations: 11.97 kB / 0.9963 GB, free: 13.76 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005777/0.3517, allocations: 0.7392 MB / 0.9971 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003186/0.3549, allocations: 1.487 MB / 0.9985 GB, free: 11.47 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001623/0.3551, allocations: 128 kB / 0.9986 GB, free: 11.34 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002132/0.3553, allocations: 127.9 kB / 0.9988 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004131/0.3595, allocations: 1.632 MB / 1 GB, free: 9.492 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.504e-05/0.3595, allocations: 3.938 kB / 1 GB, free: 9.488 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001388/0.3597, allocations: 48 kB / 1 GB, free: 9.441 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-05/0.3597, allocations: 39.98 kB / 1 GB, free: 9.402 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004871/0.3646, allocations: 1.484 MB / 1.002 GB, free: 7.91 MB / 0.6511 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.01167/0.3763, allocations: 7.009 MB / 1.009 GB, free: 0.5625 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00237/0.3787, allocations: 0.759 MB / 1.009 GB, free: 15.79 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001755/0.3805, allocations: 0.5022 MB / 1.01 GB, free: 15.29 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001555/0.3821, allocations: 1.271 MB / 1.011 GB, free: 13.74 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.774e-05/0.3822, allocations: 47.11 kB / 1.011 GB, free: 13.68 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=68): time 3.887e-06/0.3822, allocations: 0 / 1.011 GB, free: 13.68 MB / 0.6667 GB Notification: Performance of matching and sorting (n=68): time 0.0201/0.4023, allocations: 3.102 MB / 1.014 GB, free: 10.55 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.328e-05/0.4025, allocations: 115.4 kB / 1.014 GB, free: 10.41 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002755/0.4052, allocations: 1.343 MB / 1.016 GB, free: 9.055 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0002082/0.4055, allocations: 45.7 kB / 1.016 GB, free: 9.004 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007568/0.4062, allocations: 0.6956 MB / 1.016 GB, free: 8.301 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003622/0.4066, allocations: 240.6 kB / 1.017 GB, free: 8.062 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001036/0.4067, allocations: 16 kB / 1.017 GB, free: 8.047 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001687/0.4069, allocations: 341.9 kB / 1.017 GB, free: 7.707 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002081/0.409, allocations: 0.5094 MB / 1.017 GB, free: 7.199 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002407/0.4114, allocations: 0.794 MB / 1.018 GB, free: 6.289 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002204/0.4136, allocations: 0.5731 MB / 1.019 GB, free: 5.723 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.115e-06/0.4137, allocations: 0 / 1.019 GB, free: 5.723 MB / 0.6667 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.01308/0.4268, allocations: 2.156 MB / 1.021 GB, free: 3.555 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002591/0.4271, allocations: 288.2 kB / 1.021 GB, free: 3.18 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.247e-05/0.4271, allocations: 8 kB / 1.021 GB, free: 3.172 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001917/0.429, allocations: 464 kB / 1.022 GB, free: 2.719 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001661/0.4307, allocations: 263.6 kB / 1.022 GB, free: 2.461 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001797/0.4325, allocations: 0.9895 MB / 1.023 GB, free: 1.445 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002894/0.4355, allocations: 290.3 kB / 1.023 GB, free: 1.164 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002445/0.4357, allocations: 59.84 kB / 1.023 GB, free: 1.105 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.4357, allocations: 4 kB / 1.023 GB, free: 1.102 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01248/0.4482, allocations: 1.998 MB / 1.025 GB, free: 15.09 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.174e-05/0.4483, allocations: 4.5 kB / 1.025 GB, free: 15.09 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001792/0.4501, allocations: 473.7 kB / 1.026 GB, free: 14.62 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001616/0.4517, allocations: 267.6 kB / 1.026 GB, free: 14.36 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001796/0.4536, allocations: 1 MB / 1.027 GB, free: 13.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002586/0.4562, allocations: 255.5 kB / 1.027 GB, free: 13.09 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00023/0.4564, allocations: 55.94 kB / 1.027 GB, free: 13.04 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 (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.001131/0.4576, allocations: 448.8 kB / 1.028 GB, free: 12.59 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004926/0.4581, allocations: 142.3 kB / 1.028 GB, free: 12.45 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004757/0.4628, allocations: 1.331 MB / 1.029 GB, free: 11.1 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.687e-05/0.4629, allocations: 4 kB / 1.029 GB, free: 11.1 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.947e-06/0.4629, allocations: 0 / 1.029 GB, free: 11.1 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003885/0.4668, allocations: 1.151 MB / 1.03 GB, free: 9.91 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008437/0.4752, allocations: 3.053 MB / 1.033 GB, free: 6.738 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.97e-05/0.4753, allocations: 12.12 kB / 1.033 GB, free: 6.727 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009838/0.4763, allocations: 151.8 kB / 1.033 GB, free: 6.578 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001633/0.4779, allocations: 468.4 kB / 1.034 GB, free: 6.117 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.333e-05/0.4781, allocations: 23.97 kB / 1.034 GB, free: 6.094 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001688/0.4798, allocations: 0.9895 MB / 1.035 GB, free: 5.078 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.635e-06/0.4798, allocations: 7.938 kB / 1.035 GB, free: 5.07 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006247/0.486, allocations: 1.971 MB / 1.037 GB, free: 3.02 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001046/0.4871, allocations: 390.9 kB / 1.037 GB, free: 2.617 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004562/0.4876, allocations: 19.98 kB / 1.037 GB, free: 2.598 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002074/0.4897, allocations: 158 kB / 1.037 GB, free: 2.445 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001373/0.4898, allocations: 60.27 kB / 1.037 GB, free: 2.383 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001393/0.49, allocations: 39.95 kB / 1.037 GB, free: 2.344 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002104/0.4921, allocations: 0.9658 MB / 1.038 GB, free: 1.379 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.1e-07/0.4921, allocations: 0 / 1.038 GB, free: 1.379 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003345/0.4955, allocations: 0.9319 MB / 1.039 GB, free: 456 kB / 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: 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.001571/0.4971, allocations: 0.5604 MB / 1.04 GB, free: 15.88 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.007026/0.5041, allocations: 1.861 MB / 1.042 GB, free: 14.03 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.052e-05/0.5042, allocations: 0 / 1.042 GB, free: 14.03 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001983/0.5061, allocations: 0.5333 MB / 1.042 GB, free: 13.5 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004756/0.5109, allocations: 0.7928 MB / 1.043 GB, free: 12.72 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007072/0.518, allocations: 3.196 MB / 1.046 GB, free: 9.434 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001277/0.5193, allocations: 1.206 MB / 1.047 GB, free: 8.199 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007544/0.5201, allocations: 147.3 kB / 1.047 GB, free: 8.055 MB / 0.698 GB Notification: Performance of SimCode: time 1.473e-06/0.5201, allocations: 0 / 1.047 GB, free: 8.055 MB / 0.698 GB Notification: Performance of Templates: time 0.405/0.9251, allocations: 36.1 MB / 1.082 GB, free: 134.2 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe 2>&1)