Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001124/0.001124, allocations: 105.5 kB / 16.41 MB, free: 6.492 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.001289/0.001289, allocations: 192.3 kB / 17.35 MB, free: 5.738 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.449/1.449, 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 11.0.1-master/package.mo): time 2.547/2.547, allocations: 461.9 MB / 0.7355 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001437, allocations: 63.91 kB / 1.055 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.806/0.8075, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic): time 0.1389/0.9464, allocations: 130.9 MB / 1.336 GB, free: 10.27 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.04015/0.9866, allocations: 25.02 MB / 1.361 GB, free: 1.184 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006167/0.9928, allocations: 139.2 kB / 1.361 GB, free: 1.047 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.00633/0.9993, allocations: 1.724 MB / 1.362 GB, free: 15.31 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.01477/1.014, allocations: 4.504 MB / 1.367 GB, free: 10.79 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.009769/1.024, allocations: 3.518 MB / 1.37 GB, free: 7.301 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.01261/1.036, allocations: 8.96 MB / 1.379 GB, free: 14.32 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005252/1.042, allocations: 3.195 MB / 1.382 GB, free: 11.07 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007843/1.05, allocations: 3.525 MB / 1.386 GB, free: 7.539 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004391/1.054, allocations: 2.47 MB / 1.388 GB, free: 5.059 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.001155/1.055, allocations: 392 kB / 1.388 GB, free: 4.676 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007443/1.063, allocations: 2.891 MB / 1.391 GB, free: 1.781 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.001467/1.064, allocations: 0.8799 MB / 1.392 GB, free: 0.8984 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.003893/1.068, allocations: 1.995 MB / 1.394 GB, free: 14.89 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.01109/1.079, allocations: 6.347 MB / 1.4 GB, free: 8.531 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 6.593e-06/1.079, allocations: 0 / 1.4 GB, free: 8.531 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.674e-06/1.079, allocations: 3.938 kB / 1.4 GB, free: 8.527 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0001568/1.079, allocations: 4 kB / 1.4 GB, free: 8.523 MB / 1.123 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.01012/1.09, allocations: 4.06 MB / 1.404 GB, free: 4.355 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.068e-05/1.09, allocations: 8.031 kB / 1.404 GB, free: 4.348 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01247/1.102, allocations: 1.382 MB / 1.406 GB, free: 2.961 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007549/1.11, allocations: 2.981 MB / 1.408 GB, free: 15.9 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003576/1.11, allocations: 251.9 kB / 1.409 GB, free: 15.64 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007777/1.111, allocations: 235.9 kB / 1.409 GB, free: 15.41 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009675/1.121, allocations: 3.195 MB / 1.412 GB, free: 12.03 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.268e-05/1.121, allocations: 7.938 kB / 1.412 GB, free: 12.02 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004077/1.121, allocations: 96 kB / 1.412 GB, free: 11.93 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.543e-05/1.121, allocations: 83.86 kB / 1.412 GB, free: 11.84 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0104/1.132, allocations: 2.831 MB / 1.415 GB, free: 8.996 MB / 1.139 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.02397/1.156, allocations: 13.58 MB / 1.428 GB, free: 10.76 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005/1.161, allocations: 1.468 MB / 1.43 GB, free: 9.293 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003484/1.164, allocations: 0.9164 MB / 1.431 GB, free: 8.375 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00213/1.166, allocations: 1.777 MB / 1.432 GB, free: 6.211 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00429/1.171, allocations: 1.188 MB / 1.434 GB, free: 4.953 MB / 1.154 GB Notification: Performance of pre-optimization done (n=126): time 5.09e-06/1.171, allocations: 0 / 1.434 GB, free: 4.953 MB / 1.154 GB Notification: Performance of matching and sorting (n=132): time 0.05976/1.23, allocations: 11.66 MB / 1.445 GB, free: 9.129 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002788/1.231, allocations: 0.5805 MB / 1.445 GB, free: 8.414 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004928/1.236, allocations: 2.647 MB / 1.448 GB, free: 5.75 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0003835/1.236, allocations: 61.7 kB / 1.448 GB, free: 5.684 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.001489/1.238, allocations: 1.322 MB / 1.449 GB, free: 4.348 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006852/1.238, allocations: 465.4 kB / 1.45 GB, free: 3.887 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000995/1.239, allocations: 462.9 kB / 1.45 GB, free: 3.426 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001256/1.239, allocations: 301.1 kB / 1.451 GB, free: 3.129 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004071/1.243, allocations: 0.9884 MB / 1.452 GB, free: 2.137 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004872/1.248, allocations: 1.577 MB / 1.453 GB, free: 328 kB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008017/1.256, allocations: 2.247 MB / 1.455 GB, free: 13.89 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.727e-05/1.256, allocations: 4 kB / 1.455 GB, free: 13.89 MB / 1.186 GB Notification: Performance of matching and sorting (n=225) (initialization): time 0.02596/1.282, allocations: 4.151 MB / 1.459 GB, free: 9.711 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 7.163e-05/1.283, allocations: 41.73 kB / 1.459 GB, free: 9.664 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.912e-05/1.283, allocations: 15.98 kB / 1.459 GB, free: 9.648 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004477/1.287, allocations: 1.152 MB / 1.461 GB, free: 8.496 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003/1.29, allocations: 467.2 kB / 1.461 GB, free: 8.039 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00455/1.295, allocations: 2.378 MB / 1.463 GB, free: 5.609 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004906/1.3, allocations: 291.7 kB / 1.464 GB, free: 5.324 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003933/1.3, allocations: 107.8 kB / 1.464 GB, free: 5.219 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005253/1.305, allocations: 1.484 MB / 1.465 GB, free: 3.73 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004662/1.31, allocations: 1.565 MB / 1.467 GB, free: 1.926 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007752/1.318, allocations: 2.228 MB / 1.469 GB, free: 15.52 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.116e-05/1.318, allocations: 4 kB / 1.469 GB, free: 15.52 MB / 1.201 GB Notification: Performance of matching and sorting (n=225) (initialization_lambda0): time 0.02533/1.343, allocations: 4.126 MB / 1.473 GB, free: 11.36 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 6.445e-05/1.343, allocations: 39.73 kB / 1.473 GB, free: 11.32 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.129e-05/1.343, allocations: 15.94 kB / 1.473 GB, free: 11.3 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004255/1.348, allocations: 1.15 MB / 1.474 GB, free: 10.15 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002832/1.35, allocations: 447.2 kB / 1.474 GB, free: 9.715 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004523/1.355, allocations: 2.389 MB / 1.477 GB, free: 7.277 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004964/1.36, allocations: 308 kB / 1.477 GB, free: 6.977 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003433/1.36, allocations: 112 kB / 1.477 GB, free: 6.867 MB / 1.201 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.0006892/1.361, allocations: 299.8 kB / 1.477 GB, free: 6.566 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009425/1.362, allocations: 280.6 kB / 1.478 GB, free: 6.289 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008983/1.371, allocations: 2.402 MB / 1.48 GB, free: 3.863 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007564/1.379, allocations: 2.006 MB / 1.482 GB, free: 1.801 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.61e-05/1.379, allocations: 4 kB / 1.482 GB, free: 1.797 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00183/1.38, allocations: 0.5757 MB / 1.483 GB, free: 1.199 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000857/1.381, allocations: 31.94 kB / 1.483 GB, free: 1.168 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003835/1.385, allocations: 216 kB / 1.483 GB, free: 0.957 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002976/1.385, allocations: 100.8 kB / 1.483 GB, free: 0.8555 MB / 1.201 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01399/1.399, allocations: 3.372 MB / 1.486 GB, free: 13.47 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0118/1.411, allocations: 3.77 MB / 1.49 GB, free: 9.684 MB / 1.217 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003439/1.415, allocations: 0.8864 MB / 1.491 GB, free: 8.797 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.004156/1.419, allocations: 1.839 MB / 1.493 GB, free: 6.957 MB / 1.217 GB Notification: Performance of Backend: time 2.284e-06/1.419, allocations: 4 kB / 1.493 GB, free: 6.953 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.01746/1.436, allocations: 4.028 MB / 1.497 GB, free: 2.918 MB / 1.217 GB Notification: Performance of SimCode: time 0.01549/1.452, allocations: 6.416 MB / 1.503 GB, free: 12.49 MB / 1.232 GB Notification: Performance of Templates: time 0.8787/2.331, allocations: 92.13 MB / 1.593 GB, free: 330.4 MB / 1.279 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe 2>&1)