Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.QCon_flow|heaPum1.QCon_flow|appCap.y|heaPum.com.y",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic") translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.QCon_flow|heaPum1.QCon_flow|appCap.y|heaPum.com.y",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001115/0.001116, allocations: 115.8 kB / 16.42 MB, free: 6.5 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.001131/0.001131, allocations: 183.9 kB / 17.35 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.321/1.321, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.255/2.255, allocations: 390.3 MB / 0.6655 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 67.89 kB / 0.9515 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7224/0.7237, allocations: 140.4 MB / 1.089 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic): time 0.1372/0.861, allocations: 130.9 MB / 1.216 GB, free: 5.125 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.03836/0.8994, allocations: 25.02 MB / 1.241 GB, free: 0.6367 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005648/0.9051, allocations: 135.2 kB / 1.241 GB, free: 0.5898 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.00514/0.9103, allocations: 1.786 MB / 1.243 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.01279/0.9231, allocations: 4.727 MB / 1.247 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.008936/0.9321, allocations: 3.515 MB / 1.251 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.01294/0.945, allocations: 8.986 MB / 1.26 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005254/0.9503, allocations: 3.207 MB / 1.263 GB, free: 11.55 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008121/0.9584, allocations: 3.513 MB / 1.266 GB, free: 8.035 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004474/0.9629, allocations: 2.478 MB / 1.269 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001349/0.9643, allocations: 388 kB / 1.269 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007469/0.9718, allocations: 2.894 MB / 1.272 GB, free: 2.27 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001325/0.9731, allocations: 0.8877 MB / 1.273 GB, free: 1.379 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.003667/0.9768, allocations: 1.984 MB / 1.275 GB, free: 15.38 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01062/0.9874, allocations: 6.343 MB / 1.281 GB, free: 9.027 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.9875, allocations: 0 / 1.281 GB, free: 9.027 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.794e-06/0.9875, allocations: 0 / 1.281 GB, free: 9.027 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001538/0.9876, allocations: 4 kB / 1.281 GB, free: 9.023 MB / 1.014 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.008182/0.9958, allocations: 4.075 MB / 1.285 GB, free: 4.844 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.9959, allocations: 12.03 kB / 1.285 GB, free: 4.832 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01134/1.007, allocations: 1.377 MB / 1.286 GB, free: 3.449 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00663/1.014, allocations: 2.984 MB / 1.289 GB, free: 396 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003306/1.014, allocations: 255.9 kB / 1.289 GB, free: 124 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007316/1.015, allocations: 236 kB / 1.289 GB, free: 15.89 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00902/1.024, allocations: 3.195 MB / 1.293 GB, free: 12.51 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.024e-05/1.024, allocations: 7.844 kB / 1.293 GB, free: 12.5 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004647/1.025, allocations: 111.9 kB / 1.293 GB, free: 12.39 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-05/1.025, allocations: 60 kB / 1.293 GB, free: 12.33 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009821/1.035, allocations: 2.842 MB / 1.296 GB, free: 9.473 MB / 1.029 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.02224/1.057, allocations: 13.59 MB / 1.309 GB, free: 11.24 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004518/1.061, allocations: 1.467 MB / 1.31 GB, free: 9.766 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003402/1.065, allocations: 0.9164 MB / 1.311 GB, free: 8.84 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002112/1.067, allocations: 1.777 MB / 1.313 GB, free: 6.676 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003959/1.071, allocations: 1.181 MB / 1.314 GB, free: 5.43 MB / 1.045 GB Notification: Performance of pre-optimization done (n=126): time 5.52e-06/1.071, allocations: 0 / 1.314 GB, free: 5.43 MB / 1.045 GB Notification: Performance of matching and sorting (n=132): time 0.05713/1.128, allocations: 11.67 MB / 1.325 GB, free: 9.59 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000215/1.128, allocations: 0.5688 MB / 1.326 GB, free: 8.883 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004196/1.133, allocations: 2.643 MB / 1.329 GB, free: 6.223 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0002686/1.133, allocations: 59.56 kB / 1.329 GB, free: 6.16 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.001135/1.134, allocations: 1.325 MB / 1.33 GB, free: 4.82 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005014/1.134, allocations: 457.5 kB / 1.33 GB, free: 4.367 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007767/1.135, allocations: 466.8 kB / 1.331 GB, free: 3.902 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 8.128e-05/1.135, allocations: 301.1 kB / 1.331 GB, free: 3.605 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003785/1.139, allocations: 0.9922 MB / 1.332 GB, free: 2.609 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004481/1.144, allocations: 1.573 MB / 1.334 GB, free: 0.793 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007102/1.151, allocations: 2.252 MB / 1.336 GB, free: 14.37 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.628e-06/1.151, allocations: 7.938 kB / 1.336 GB, free: 14.36 MB / 1.076 GB Notification: Performance of matching and sorting (n=225) (initialization): time 0.02344/1.174, allocations: 4.161 MB / 1.34 GB, free: 10.17 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 9.188e-05/1.174, allocations: 38.67 kB / 1.34 GB, free: 10.13 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.11e-05/1.174, allocations: 12 kB / 1.34 GB, free: 10.12 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004261/1.179, allocations: 1.154 MB / 1.341 GB, free: 8.961 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002782/1.181, allocations: 455.2 kB / 1.341 GB, free: 8.516 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004446/1.186, allocations: 2.382 MB / 1.344 GB, free: 6.082 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00469/1.191, allocations: 291.6 kB / 1.344 GB, free: 5.797 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00035/1.191, allocations: 104.2 kB / 1.344 GB, free: 5.695 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004866/1.196, allocations: 1.491 MB / 1.346 GB, free: 4.199 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004305/1.2, allocations: 1.561 MB / 1.347 GB, free: 2.402 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007242/1.207, allocations: 2.22 MB / 1.349 GB, free: 8 kB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.085e-05/1.208, allocations: 4 kB / 1.349 GB, free: 4 kB / 1.076 GB Notification: Performance of matching and sorting (n=225) (initialization_lambda0): time 0.0236/1.231, allocations: 4.131 MB / 1.353 GB, free: 11.84 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 4.958e-05/1.231, allocations: 37.7 kB / 1.353 GB, free: 11.8 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.968e-05/1.231, allocations: 12.25 kB / 1.353 GB, free: 11.79 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003844/1.235, allocations: 1.17 MB / 1.355 GB, free: 10.62 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00256/1.238, allocations: 447.2 kB / 1.355 GB, free: 10.18 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003939/1.242, allocations: 2.385 MB / 1.357 GB, free: 7.742 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004535/1.246, allocations: 312.2 kB / 1.358 GB, free: 7.438 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003303/1.247, allocations: 103.9 kB / 1.358 GB, free: 7.336 MB / 1.092 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 (realToInteger.y,N.count,$PRE.N.count,N.T_start,$PRE.N.T_start,heaPum1.com.isOn,$PRE.heaPum1.com.isOn,heaPum.com.isOn,$PRE.heaPum.com.isOn,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(4,25), (4,27)} Notification: Performance of prepare postOptimizeDAE: time 0.000659/1.247, allocations: 302.4 kB / 1.358 GB, free: 7.035 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008822/1.248, allocations: 280.6 kB / 1.358 GB, free: 6.758 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008605/1.257, allocations: 2.405 MB / 1.361 GB, free: 4.332 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006955/1.264, allocations: 2.006 MB / 1.363 GB, free: 2.27 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.136e-05/1.264, allocations: 0 / 1.363 GB, free: 2.27 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001497/1.265, allocations: 0.5794 MB / 1.363 GB, free: 1.668 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000784/1.266, allocations: 39.98 kB / 1.363 GB, free: 1.629 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003429/1.269, allocations: 211.7 kB / 1.363 GB, free: 1.422 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002095/1.27, allocations: 100.8 kB / 1.363 GB, free: 1.324 MB / 1.092 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01321/1.283, allocations: 3.366 MB / 1.367 GB, free: 13.94 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01107/1.294, allocations: 3.762 MB / 1.37 GB, free: 10.15 MB / 1.107 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003147/1.297, allocations: 0.894 MB / 1.371 GB, free: 9.266 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.003618/1.301, allocations: 1.839 MB / 1.373 GB, free: 7.426 MB / 1.107 GB Notification: Performance of Backend: time 7.91e-07/1.301, allocations: 0 / 1.373 GB, free: 7.426 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.01563/1.316, allocations: 4.039 MB / 1.377 GB, free: 3.379 MB / 1.107 GB Notification: Performance of SimCode: time 0.01398/1.33, allocations: 6.395 MB / 1.383 GB, free: 12.96 MB / 1.123 GB Notification: Performance of Templates: time 0.1363/1.467, allocations: 92.14 MB / 1.473 GB, free: 1.547 MB / 1.201 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.makefile (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.sim & ./Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe 2>&1)