Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.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.001324/0.001324, allocations: 95.92 kB / 19.7 MB, free: 2.129 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.001481/0.001481, allocations: 212.9 kB / 23 MB, free: 4.934 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.485/1.485, allocations: 230.6 MB / 256.8 MB, free: 7.777 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.228/3.228, allocations: 0.49 GB / 0.7959 GB, free: 35.38 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.ReciprocatingWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaPum.QCon_flow|heaPum1.QCon_flow|capErr.y",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor") translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaPum.QCon_flow|heaPum1.QCon_flow|capErr.y",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor") [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.002071/0.002071, allocations: 70.98 kB / 1.155 GB, free: 25.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.364/0.366, allocations: 176.1 MB / 1.327 GB, free: 0.9727 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor): time 0.1438/0.5098, allocations: 120.3 MB / 1.445 GB, free: 8.312 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.03923/0.549, allocations: 23.38 MB / 1.467 GB, free: 0.8789 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005014/0.5541, allocations: 186.4 kB / 1.468 GB, free: 0.6953 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.005002/0.5591, allocations: 1.708 MB / 1.469 GB, free: 14.97 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.01478/0.5738, allocations: 4.823 MB / 1.474 GB, free: 10.14 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.009598/0.5834, allocations: 3.575 MB / 1.477 GB, free: 6.59 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0135/0.5969, allocations: 9.216 MB / 1.486 GB, free: 13.35 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004211/0.6011, allocations: 2.544 MB / 1.489 GB, free: 10.74 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008681/0.6098, allocations: 3.846 MB / 1.493 GB, free: 6.895 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004746/0.6146, allocations: 2.557 MB / 1.495 GB, free: 4.328 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0008835/0.6155, allocations: 388 kB / 1.496 GB, free: 3.949 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006956/0.6224, allocations: 2.586 MB / 1.498 GB, free: 1.359 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.001379/0.6238, allocations: 0.9186 MB / 1.499 GB, free: 448 kB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.003052/0.6268, allocations: 1.599 MB / 1.501 GB, free: 14.83 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.01073/0.6376, allocations: 6.451 MB / 1.507 GB, free: 8.359 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.6376, allocations: 0 / 1.507 GB, free: 8.359 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.844e-06/0.6376, allocations: 0 / 1.507 GB, free: 8.359 MB / 1.201 GB Notification: Performance of Transformations before backend: time 9.293e-05/0.6377, allocations: 0 / 1.507 GB, free: 8.359 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: 577 * Number of variables: 577 Notification: Performance of Generate backend data structure: time 0.008419/0.6461, allocations: 4.112 MB / 1.511 GB, free: 4.152 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.6461, allocations: 8.031 kB / 1.511 GB, free: 4.145 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01195/0.6581, allocations: 1.305 MB / 1.512 GB, free: 2.836 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006697/0.6648, allocations: 2.97 MB / 1.515 GB, free: 15.77 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003159/0.6651, allocations: 303.3 kB / 1.515 GB, free: 15.45 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005137/0.6656, allocations: 239.9 kB / 1.516 GB, free: 15.22 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009116/0.6747, allocations: 4 MB / 1.519 GB, free: 10.83 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.554e-05/0.6748, allocations: 11.89 kB / 1.519 GB, free: 10.82 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003226/0.6751, allocations: 103.9 kB / 1.52 GB, free: 10.71 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.614e-05/0.6752, allocations: 67.98 kB / 1.52 GB, free: 10.65 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009451/0.6847, allocations: 2.592 MB / 1.522 GB, free: 8.039 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.02195/0.7066, allocations: 10.68 MB / 1.533 GB, free: 13.12 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004492/0.7111, allocations: 1.313 MB / 1.534 GB, free: 11.8 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003214/0.7143, allocations: 0.8352 MB / 1.535 GB, free: 10.97 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001199/0.7155, allocations: 209.1 kB / 1.535 GB, free: 10.76 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004393/0.7199, allocations: 1.869 MB / 1.537 GB, free: 8.652 MB / 1.232 GB Notification: Performance of pre-optimization done (n=128): time 4.439e-06/0.7199, allocations: 0 / 1.537 GB, free: 8.652 MB / 1.232 GB Notification: Performance of matching and sorting (n=128): time 0.02115/0.7411, allocations: 3.726 MB / 1.54 GB, free: 4.926 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000369/0.7414, allocations: 0.5805 MB / 1.541 GB, free: 4.211 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004167/0.7456, allocations: 2.238 MB / 1.543 GB, free: 1.949 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0003382/0.7459, allocations: 61.64 kB / 1.543 GB, free: 1.883 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.001452/0.7474, allocations: 1.368 MB / 1.544 GB, free: 0.5 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006105/0.748, allocations: 475.9 kB / 1.545 GB, free: 32 kB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000855/0.7489, allocations: 467.1 kB / 1.545 GB, free: 15.57 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.749, allocations: 301.1 kB / 1.546 GB, free: 15.27 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004028/0.753, allocations: 0.9901 MB / 1.547 GB, free: 14.27 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005092/0.7581, allocations: 2.262 MB / 1.549 GB, free: 11.6 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007633/0.7658, allocations: 2.169 MB / 1.551 GB, free: 9.266 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-05/0.7658, allocations: 11.94 kB / 1.551 GB, free: 9.254 MB / 1.248 GB Notification: Performance of matching and sorting (n=223) (initialization): time 0.01322/0.779, allocations: 3.051 MB / 1.554 GB, free: 6.176 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 6.099e-05/0.779, allocations: 41.69 kB / 1.554 GB, free: 6.129 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.465e-05/0.7791, allocations: 12 kB / 1.554 GB, free: 6.117 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003088/0.7822, allocations: 0.7648 MB / 1.555 GB, free: 5.355 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003427/0.7856, allocations: 0.5148 MB / 1.555 GB, free: 4.84 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003008/0.7886, allocations: 1.826 MB / 1.557 GB, free: 2.965 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00462/0.7932, allocations: 382.5 kB / 1.557 GB, free: 2.59 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002386/0.7935, allocations: 103.9 kB / 1.557 GB, free: 2.488 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005007/0.7985, allocations: 1.485 MB / 1.559 GB, free: 0.9922 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004963/0.8034, allocations: 2.243 MB / 1.561 GB, free: 14.34 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00727/0.8107, allocations: 2.15 MB / 1.563 GB, free: 12.03 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.367e-05/0.8107, allocations: 4 kB / 1.563 GB, free: 12.03 MB / 1.264 GB Notification: Performance of matching and sorting (n=223) (initialization_lambda0): time 0.01293/0.8236, allocations: 3.026 MB / 1.566 GB, free: 8.973 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 5e-05/0.8237, allocations: 37.7 kB / 1.566 GB, free: 8.93 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.044e-05/0.8237, allocations: 12 kB / 1.566 GB, free: 8.918 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00296/0.8267, allocations: 0.758 MB / 1.567 GB, free: 8.164 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003323/0.83, allocations: 0.5186 MB / 1.567 GB, free: 7.645 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002922/0.8329, allocations: 1.832 MB / 1.569 GB, free: 5.766 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004742/0.8377, allocations: 355.3 kB / 1.57 GB, free: 5.418 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002439/0.8379, allocations: 99.91 kB / 1.57 GB, free: 5.32 MB / 1.264 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * 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 (186): * Single equations (assignments): 183 * 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 {(5,14), (5,14)} Notification: Performance of prepare postOptimizeDAE: time 0.000638/0.8385, allocations: 300.6 kB / 1.57 GB, free: 5.02 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006957/0.8392, allocations: 258.4 kB / 1.57 GB, free: 4.766 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01037/0.8496, allocations: 2.297 MB / 1.572 GB, free: 2.445 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009066/0.8587, allocations: 1.943 MB / 1.574 GB, free: 452 kB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-05/0.8587, allocations: 0 / 1.574 GB, free: 452 kB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001767/0.8604, allocations: 494.5 kB / 1.575 GB, free: 15.96 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006253/0.8611, allocations: 31.98 kB / 1.575 GB, free: 15.93 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003197/0.8643, allocations: 191.8 kB / 1.575 GB, free: 15.74 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002596/0.8645, allocations: 100.8 kB / 1.575 GB, free: 15.64 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01071/0.8752, allocations: 2.868 MB / 1.578 GB, free: 12.75 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01162/0.8869, allocations: 3.606 MB / 1.581 GB, free: 9.133 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003204/0.8901, allocations: 0.82 MB / 1.582 GB, free: 8.316 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.003304/0.8934, allocations: 1.527 MB / 1.584 GB, free: 6.777 MB / 1.279 GB Notification: Performance of Backend: time 4.51e-07/0.8934, allocations: 4 kB / 1.584 GB, free: 6.773 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.01929/0.9127, allocations: 4.162 MB / 1.588 GB, free: 2.582 MB / 1.279 GB Notification: Performance of SimCode: time 0.01259/0.9253, allocations: 6.038 MB / 1.594 GB, free: 12.5 MB / 1.295 GB Notification: Performance of Templates: time 0.7375/1.663, allocations: 92.1 MB / 1.684 GB, free: 221.2 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.sim & ./Buildings_12_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 12.695026676003181] Failed to read output from testmodel.py, exit status != 0: 1.6712081369987573 1.680545335 1.04050165 Calling exit ...