Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic") translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.694/1.694, allocations: 288.4 MB / 304.3 MB, free: 8.199 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.001102/0.001102, allocations: 179.2 kB / 372.9 MB, free: 10.15 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.33/1.33, allocations: 205.4 MB / 0.6316 GB, free: 9.902 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.0006843/0.0006843, allocations: 84.64 kB / 0.745 GB, free: 5.812 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003488/0.0003488, allocations: 16.88 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1541/0.1545, allocations: 115.3 MB / 0.9807 GB, free: 27.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic): time 0.432/0.5865, allocations: 120.8 MB / 1.099 GB, free: 34.44 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.02715/0.6137, allocations: 23.25 MB / 1.121 GB, free: 27.79 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004289/0.618, allocations: 115.5 kB / 1.121 GB, free: 27.75 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.004364/0.6224, allocations: 1.189 MB / 1.123 GB, free: 27.22 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. [/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.01075/0.6332, allocations: 3.689 MB / 1.126 GB, free: 25.55 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.00775/0.641, allocations: 2.532 MB / 1.129 GB, free: 24.31 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.01127/0.6522, allocations: 9.844 MB / 1.138 GB, free: 19.7 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004318/0.6566, allocations: 2.5 MB / 1.141 GB, free: 18.15 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006007/0.6626, allocations: 2.715 MB / 1.143 GB, free: 16.7 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004048/0.6667, allocations: 2.168 MB / 1.146 GB, free: 15.44 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0008836/0.6676, allocations: 129.6 kB / 1.146 GB, free: 15.44 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006571/0.6742, allocations: 2.353 MB / 1.148 GB, free: 14.25 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001137/0.6754, allocations: 0.5887 MB / 1.149 GB, free: 13.81 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.003898/0.6793, allocations: 1.64 MB / 1.15 GB, free: 12.78 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.006411/0.6857, allocations: 4.831 MB / 1.155 GB, free: 9.449 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.6857, allocations: 0 / 1.155 GB, free: 9.449 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.633e-06/0.6857, allocations: 0 / 1.155 GB, free: 9.449 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001575/0.6859, allocations: 0 / 1.155 GB, free: 9.449 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: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.006383/0.6923, allocations: 3.375 MB / 1.158 GB, free: 6.949 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.6923, allocations: 9.812 kB / 1.158 GB, free: 6.949 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01055/0.7029, allocations: 1.456 MB / 1.16 GB, free: 6.344 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005017/0.7079, allocations: 2.908 MB / 1.162 GB, free: 4.062 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001884/0.7082, allocations: 259.2 kB / 1.163 GB, free: 3.902 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003385/0.7085, allocations: 233.1 kB / 1.163 GB, free: 3.828 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006641/0.7152, allocations: 3.232 MB / 1.166 GB, free: 1.711 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.331e-05/0.7152, allocations: 6.938 kB / 1.166 GB, free: 1.707 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002398/0.7155, allocations: 96.62 kB / 1.166 GB, free: 1.637 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-05/0.7155, allocations: 78.5 kB / 1.166 GB, free: 1.621 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008389/0.7239, allocations: 2.883 MB / 1.169 GB, free: 176 kB / 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.01897/0.7429, allocations: 13.64 MB / 1.182 GB, free: 2.695 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004225/0.7472, allocations: 1.503 MB / 1.184 GB, free: 1.188 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003099/0.7503, allocations: 0.9315 MB / 1.185 GB, free: 264 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001734/0.752, allocations: 1.782 MB / 1.186 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003597/0.7557, allocations: 1.22 MB / 1.188 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=126): time 5.53e-06/0.7557, allocations: 3.938 kB / 1.188 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of matching and sorting (n=132): time 0.05307/0.8088, allocations: 11.91 MB / 1.199 GB, free: 0.7305 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002309/0.809, allocations: 0.5804 MB / 1.2 GB, free: 16 kB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00394/0.813, allocations: 2.588 MB / 1.202 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0002987/0.8133, allocations: 61.7 kB / 1.202 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001091/0.8144, allocations: 1.315 MB / 1.204 GB, free: 12.02 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004675/0.8149, allocations: 457.5 kB / 1.204 GB, free: 11.56 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001156/0.815, allocations: 36 kB / 1.204 GB, free: 11.53 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.8151, allocations: 373.9 kB / 1.205 GB, free: 11.16 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003753/0.8189, allocations: 0.9993 MB / 1.206 GB, free: 10.16 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004207/0.8231, allocations: 1.604 MB / 1.207 GB, free: 8.309 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00729/0.8304, allocations: 2.295 MB / 1.209 GB, free: 5.84 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.385e-05/0.8305, allocations: 4 kB / 1.209 GB, free: 5.836 MB / 0.7292 GB Notification: Performance of matching and sorting (n=225) (initialization): time 0.02378/0.8543, allocations: 4.186 MB / 1.213 GB, free: 1.625 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003592/0.8547, allocations: 498 kB / 1.214 GB, free: 0.9609 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.431e-05/0.8547, allocations: 12 kB / 1.214 GB, free: 0.9492 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003968/0.8587, allocations: 1.164 MB / 1.215 GB, free: 15.78 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002696/0.8614, allocations: 463.2 kB / 1.216 GB, free: 15.33 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004104/0.8655, allocations: 2.386 MB / 1.218 GB, free: 12.89 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005042/0.8706, allocations: 420.2 kB / 1.218 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003348/0.8709, allocations: 107.9 kB / 1.218 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.008e-05/0.8709, allocations: 4 kB / 1.218 GB, free: 12.37 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02135/0.8923, allocations: 3.906 MB / 1.222 GB, free: 8.449 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.99e-05/0.8924, allocations: 12 kB / 1.222 GB, free: 8.438 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004291/0.8967, allocations: 1.162 MB / 1.223 GB, free: 7.27 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002756/0.8995, allocations: 471.2 kB / 1.224 GB, free: 6.809 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004378/0.9039, allocations: 2.385 MB / 1.226 GB, free: 4.371 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004733/0.9087, allocations: 383.2 kB / 1.226 GB, free: 3.996 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003808/0.9091, allocations: 107.9 kB / 1.227 GB, free: 3.891 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$PRE.heaPum.com.isOn,heaPum.com.isOn,$PRE.heaPum1.com.isOn,heaPum1.com.isOn,$PRE.N.T_start,N.T_start,$PRE.N.count,N.count,realToInteger.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (166): * Single equations (assignments): 163 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {4 25,4 27} Notification: Performance of prepare postOptimizeDAE: time 0.001633/0.9107, allocations: 0.7037 MB / 1.227 GB, free: 3.176 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007275/0.9114, allocations: 280.6 kB / 1.228 GB, free: 2.898 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008973/0.9204, allocations: 2.45 MB / 1.23 GB, free: 436 kB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007372/0.9278, allocations: 2.057 MB / 1.232 GB, free: 14.31 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.935e-05/0.9279, allocations: 4 kB / 1.232 GB, free: 14.31 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001884/0.9298, allocations: 0.6418 MB / 1.233 GB, free: 13.64 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009163/0.9307, allocations: 32 kB / 1.233 GB, free: 13.61 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004231/0.935, allocations: 295.5 kB / 1.233 GB, free: 13.32 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003469/0.9353, allocations: 100.8 kB / 1.233 GB, free: 13.23 MB / 0.7605 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01377/0.9491, allocations: 3.483 MB / 1.236 GB, free: 9.719 MB / 0.7605 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0116/0.9608, allocations: 3.837 MB / 1.24 GB, free: 5.855 MB / 0.7605 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003348/0.9642, allocations: 0.8899 MB / 1.241 GB, free: 4.965 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.003664/0.9678, allocations: 1.788 MB / 1.243 GB, free: 3.176 MB / 0.7605 GB Notification: Performance of Backend: time 7.11e-07/0.9679, allocations: 3.938 kB / 1.243 GB, free: 3.172 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.01629/0.9842, allocations: 4.064 MB / 1.247 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of SimCode: time 0.01528/0.9995, allocations: 7.196 MB / 1.254 GB, free: 7.848 MB / 0.7761 GB Notification: Performance of Templates: time 0.1354/1.135, allocations: 89.88 MB / 1.341 GB, free: 14.37 MB / 0.8698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe 2>&1)