Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001961/0.001961, allocations: 107.8 kB / 19.71 MB, free: 2.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002395/0.002395, allocations: 216.9 kB / 23 MB, free: 4.969 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.548/1.548, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.231/3.231, allocations: 0.49 GB / 0.7959 GB, free: 35.49 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaPum.QCon_flow|heaPum1.QCon_flow|appCap.y|heaPum.com.y",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic") translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaPum.QCon_flow|heaPum1.QCon_flow|appCap.y|heaPum.com.y",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003024/0.003024, allocations: 64.72 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3648/0.3679, allocations: 176.1 MB / 1.327 GB, free: 1 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic): time 0.1378/0.5056, allocations: 120.3 MB / 1.445 GB, free: 8.32 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.03799/0.5436, allocations: 23.3 MB / 1.467 GB, free: 0.9648 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004922/0.5485, allocations: 186.4 kB / 1.467 GB, free: 0.7812 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.004934/0.5535, allocations: 1.7 MB / 1.469 GB, free: 15.07 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.01357/0.567, allocations: 4.823 MB / 1.474 GB, free: 10.23 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.009309/0.5763, allocations: 3.583 MB / 1.477 GB, free: 6.676 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.01588/0.5922, allocations: 9.118 MB / 1.486 GB, free: 13.53 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005914/0.5981, allocations: 2.544 MB / 1.489 GB, free: 10.93 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009578/0.6077, allocations: 3.837 MB / 1.492 GB, free: 7.086 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005338/0.6131, allocations: 2.56 MB / 1.495 GB, free: 4.516 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.001423/0.6145, allocations: 392 kB / 1.495 GB, free: 4.133 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007723/0.6222, allocations: 2.582 MB / 1.498 GB, free: 1.551 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.001692/0.6239, allocations: 0.9224 MB / 1.499 GB, free: 0.625 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.003937/0.6278, allocations: 1.607 MB / 1.5 GB, free: 15.01 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.01259/0.6404, allocations: 6.448 MB / 1.507 GB, free: 8.543 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.6404, allocations: 4 kB / 1.507 GB, free: 8.539 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.893e-06/0.6404, allocations: 0 / 1.507 GB, free: 8.539 MB / 1.201 GB Notification: Performance of Transformations before backend: time 0.0001679/0.6406, allocations: 0 / 1.507 GB, free: 8.539 MB / 1.201 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.0103/0.6509, allocations: 4.112 MB / 1.511 GB, free: 4.332 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 5.005e-05/0.651, allocations: 8.031 kB / 1.511 GB, free: 4.324 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01265/0.6636, allocations: 1.399 MB / 1.512 GB, free: 2.922 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007405/0.671, allocations: 2.973 MB / 1.515 GB, free: 15.86 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003681/0.6714, allocations: 311.3 kB / 1.515 GB, free: 15.53 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007812/0.6722, allocations: 232 kB / 1.515 GB, free: 15.3 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009667/0.6818, allocations: 4.087 MB / 1.519 GB, free: 10.82 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.91e-05/0.6819, allocations: 7.984 kB / 1.519 GB, free: 10.81 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003162/0.6822, allocations: 99.94 kB / 1.52 GB, free: 10.71 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.721e-05/0.6823, allocations: 75.88 kB / 1.52 GB, free: 10.64 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00978/0.6921, allocations: 2.667 MB / 1.522 GB, free: 7.957 MB / 1.217 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.02189/0.714, allocations: 11.12 MB / 1.533 GB, free: 12.58 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004842/0.7188, allocations: 1.342 MB / 1.534 GB, free: 11.22 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003603/0.7224, allocations: 0.8817 MB / 1.535 GB, free: 10.34 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001208/0.7236, allocations: 205.1 kB / 1.535 GB, free: 10.14 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004863/0.7285, allocations: 1.927 MB / 1.537 GB, free: 7.969 MB / 1.232 GB Notification: Performance of pre-optimization done (n=128): time 4.509e-06/0.7285, allocations: 3.938 kB / 1.537 GB, free: 7.965 MB / 1.232 GB Notification: Performance of matching and sorting (n=134): time 0.05506/0.7835, allocations: 11.65 MB / 1.549 GB, free: 12.24 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003245/0.7839, allocations: 0.5745 MB / 1.549 GB, free: 11.54 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003815/0.7877, allocations: 2.229 MB / 1.551 GB, free: 9.281 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.000311/0.788, allocations: 65.7 kB / 1.552 GB, free: 9.211 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.001426/0.7894, allocations: 1.361 MB / 1.553 GB, free: 7.832 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005915/0.79, allocations: 491.8 kB / 1.553 GB, free: 7.348 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008557/0.7909, allocations: 471.1 kB / 1.554 GB, free: 6.883 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.791, allocations: 305.1 kB / 1.554 GB, free: 6.582 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004305/0.7953, allocations: 1.037 MB / 1.555 GB, free: 5.535 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005246/0.8005, allocations: 2.327 MB / 1.557 GB, free: 2.793 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008249/0.8088, allocations: 2.272 MB / 1.56 GB, free: 360 kB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.009e-05/0.8088, allocations: 8 kB / 1.56 GB, free: 352 kB / 1.248 GB Notification: Performance of matching and sorting (n=225) (initialization): time 0.01513/0.8239, allocations: 3.299 MB / 1.563 GB, free: 13.02 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 5.391e-05/0.824, allocations: 38.8 kB / 1.563 GB, free: 12.97 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.31e-05/0.824, allocations: 12.91 kB / 1.563 GB, free: 12.96 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00455/0.8285, allocations: 1.192 MB / 1.564 GB, free: 11.77 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003133/0.8317, allocations: 479.2 kB / 1.564 GB, free: 11.3 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005171/0.8369, allocations: 2.471 MB / 1.567 GB, free: 8.773 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004721/0.8416, allocations: 287.6 kB / 1.567 GB, free: 8.492 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002747/0.8418, allocations: 107.9 kB / 1.567 GB, free: 8.387 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005206/0.8471, allocations: 1.532 MB / 1.569 GB, free: 6.844 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005237/0.8523, allocations: 2.303 MB / 1.571 GB, free: 4.129 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008168/0.8605, allocations: 2.249 MB / 1.573 GB, free: 1.711 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.508e-06/0.8605, allocations: 4 kB / 1.573 GB, free: 1.707 MB / 1.264 GB Notification: Performance of matching and sorting (n=225) (initialization_lambda0): time 0.01491/0.8754, allocations: 3.272 MB / 1.576 GB, free: 14.41 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 5.204e-05/0.8754, allocations: 45.69 kB / 1.576 GB, free: 14.36 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.047e-05/0.8755, allocations: 12 kB / 1.576 GB, free: 14.34 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004544/0.88, allocations: 1.192 MB / 1.578 GB, free: 13.15 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00326/0.8833, allocations: 479.2 kB / 1.578 GB, free: 12.68 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005316/0.8886, allocations: 2.463 MB / 1.58 GB, free: 10.16 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005042/0.8936, allocations: 300.1 kB / 1.581 GB, free: 9.871 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000289/0.8939, allocations: 103.9 kB / 1.581 GB, free: 9.77 MB / 1.279 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 {(11,18), (11,20)} Notification: Performance of prepare postOptimizeDAE: time 0.0006762/0.8946, allocations: 307.7 kB / 1.581 GB, free: 9.461 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007074/0.8953, allocations: 250.5 kB / 1.581 GB, free: 9.215 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01662/0.9119, allocations: 2.965 MB / 1.584 GB, free: 6.223 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01541/0.9273, allocations: 2.591 MB / 1.587 GB, free: 3.578 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.97e-05/0.9273, allocations: 7.938 kB / 1.587 GB, free: 3.57 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001793/0.9291, allocations: 490.7 kB / 1.587 GB, free: 3.09 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005067/0.9296, allocations: 28 kB / 1.587 GB, free: 3.062 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003391/0.933, allocations: 211.7 kB / 1.588 GB, free: 2.855 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002497/0.9333, allocations: 100.8 kB / 1.588 GB, free: 2.754 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01192/0.9452, allocations: 3.165 MB / 1.591 GB, free: 15.57 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01221/0.9574, allocations: 3.795 MB / 1.594 GB, free: 11.75 MB / 1.295 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003524/0.9609, allocations: 0.8751 MB / 1.595 GB, free: 10.88 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.003013/0.9639, allocations: 1.519 MB / 1.597 GB, free: 9.348 MB / 1.295 GB Notification: Performance of Backend: time 4.11e-07/0.9639, allocations: 0 / 1.597 GB, free: 9.348 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.02142/0.9854, allocations: 4.501 MB / 1.601 GB, free: 4.82 MB / 1.295 GB Notification: Performance of SimCode: time 0.6522/1.638, allocations: 6.101 MB / 1.607 GB, free: 269.6 MB / 1.295 GB Notification: Performance of Templates: time 0.1158/1.753, allocations: 94.17 MB / 1.699 GB, free: 204.1 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.sim & ./Buildings_12_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 13.015128320999793] Failed to read output from testmodel.py, exit status != 0: 1.7634507050024695 1.77113428 1.128125996 Calling exit ...