Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Chillers.Examples.ElectricEIR_HeatRecovery.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.001375/0.001375, 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.001772/0.001772, allocations: 212.3 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.584/1.584, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.454/3.454, allocations: 0.49 GB / 0.7959 GB, free: 35.56 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.Chillers.Examples.ElectricEIR_HeatRecovery,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|chi.TSet|chi.TEvaEnt|chi.TEvaLvg|chi.TConEnt|chi.TConLvg|chi.COP_h|chi.PLR1|chi.PLR2|chi.CR",fileNamePrefix="Buildings_12_Buildings.Fluid.Chillers.Examples.ElectricEIR_HeatRecovery") translateModel(Buildings.Fluid.Chillers.Examples.ElectricEIR_HeatRecovery,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|chi.TSet|chi.TEvaEnt|chi.TEvaLvg|chi.TConEnt|chi.TConLvg|chi.COP_h|chi.PLR1|chi.PLR2|chi.CR",fileNamePrefix="Buildings_12_Buildings.Fluid.Chillers.Examples.ElectricEIR_HeatRecovery") [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.002043/0.002043, allocations: 68.41 kB / 1.155 GB, free: 25.15 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5307/0.5328, allocations: 176.1 MB / 1.327 GB, free: 0.957 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR_HeatRecovery): time 0.06883/0.6016, allocations: 55.96 MB / 1.382 GB, free: 8.812 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.02501/0.6266, allocations: 12.26 MB / 1.394 GB, free: 12.52 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005032/0.6316, allocations: 95.19 kB / 1.394 GB, free: 12.43 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.004011/0.6357, allocations: 0.9315 MB / 1.395 GB, free: 11.49 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.01041/0.6461, allocations: 2.475 MB / 1.397 GB, free: 9.008 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.005922/0.652, allocations: 1.63 MB / 1.399 GB, free: 7.387 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.009745/0.6617, allocations: 4.45 MB / 1.403 GB, free: 2.93 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002504/0.6642, allocations: 1.085 MB / 1.404 GB, free: 1.809 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006077/0.6703, allocations: 1.866 MB / 1.406 GB, free: 15.94 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002944/0.6733, allocations: 1.26 MB / 1.407 GB, free: 14.68 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0003338/0.6736, allocations: 140 kB / 1.407 GB, free: 14.54 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004349/0.6779, allocations: 1.248 MB / 1.409 GB, free: 13.29 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0006613/0.6786, allocations: 450.2 kB / 1.409 GB, free: 12.85 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.001399/0.68, allocations: 0.7387 MB / 1.41 GB, free: 12.11 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.005926/0.6859, allocations: 2.841 MB / 1.412 GB, free: 9.254 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.6859, allocations: 0 / 1.412 GB, free: 9.254 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.845e-06/0.6859, allocations: 0 / 1.412 GB, free: 9.254 MB / 1.107 GB Notification: Performance of Transformations before backend: time 2.618e-05/0.686, allocations: 4 kB / 1.412 GB, free: 9.25 MB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 236 * Number of variables: 236 Notification: Performance of Generate backend data structure: time 0.005131/0.6911, allocations: 2.19 MB / 1.415 GB, free: 7.008 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 5.759e-05/0.6912, allocations: 12.02 kB / 1.415 GB, free: 6.996 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004431/0.6956, allocations: 0.62 MB / 1.415 GB, free: 6.375 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002944/0.6985, allocations: 1.421 MB / 1.417 GB, free: 4.914 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002373/0.6988, allocations: 196.8 kB / 1.417 GB, free: 4.695 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002169/0.699, allocations: 104 kB / 1.417 GB, free: 4.594 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003601/0.7026, allocations: 1.54 MB / 1.418 GB, free: 2.984 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.239e-05/0.7026, allocations: 4 kB / 1.418 GB, free: 2.98 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001207/0.7027, allocations: 36 kB / 1.418 GB, free: 2.945 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-05/0.7028, allocations: 24 kB / 1.418 GB, free: 2.922 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004124/0.7069, allocations: 1.432 MB / 1.42 GB, free: 1.484 MB / 1.107 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.008056/0.715, allocations: 4.029 MB / 1.424 GB, free: 13.37 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005687/0.7206, allocations: 1.259 MB / 1.425 GB, free: 12.1 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001792/0.7224, allocations: 0.6156 MB / 1.426 GB, free: 11.48 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000455/0.7229, allocations: 116.6 kB / 1.426 GB, free: 11.37 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002268/0.7252, allocations: 0.877 MB / 1.427 GB, free: 10.44 MB / 1.123 GB Notification: Performance of pre-optimization done (n=71): time 5.22e-06/0.7252, allocations: 0 / 1.427 GB, free: 10.44 MB / 1.123 GB Notification: Performance of matching and sorting (n=71): time 0.02244/0.7476, allocations: 3.788 MB / 1.43 GB, free: 6.645 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.193e-05/0.7477, allocations: 60.06 kB / 1.43 GB, free: 6.574 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002173/0.7498, allocations: 1.229 MB / 1.432 GB, free: 5.332 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.00018/0.75, allocations: 45.7 kB / 1.432 GB, free: 5.281 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008065/0.7508, allocations: 0.6819 MB / 1.432 GB, free: 4.594 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003499/0.7512, allocations: 253.8 kB / 1.433 GB, free: 4.344 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003564/0.7515, allocations: 178.5 kB / 1.433 GB, free: 4.164 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001894/0.7517, allocations: 337.9 kB / 1.433 GB, free: 3.828 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001828/0.7535, allocations: 0.6115 MB / 1.434 GB, free: 3.207 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002502/0.756, allocations: 1.311 MB / 1.435 GB, free: 1.695 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003672/0.7597, allocations: 1.238 MB / 1.436 GB, free: 416 kB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/0.7597, allocations: 0 / 1.436 GB, free: 416 kB / 1.123 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.011/0.7707, allocations: 2.261 MB / 1.438 GB, free: 14.12 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 8.376e-05/0.7708, allocations: 37.64 kB / 1.438 GB, free: 14.08 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.934e-05/0.7708, allocations: 4 kB / 1.438 GB, free: 14.07 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001762/0.7726, allocations: 0.4967 MB / 1.439 GB, free: 13.57 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001168/0.7738, allocations: 207.7 kB / 1.439 GB, free: 13.37 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01743/0.7912, allocations: 3.926 MB / 1.443 GB, free: 9.348 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002459/0.7936, allocations: 199.3 kB / 1.443 GB, free: 9.152 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001399/0.7938, allocations: 35.98 kB / 1.443 GB, free: 9.117 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002594/0.7964, allocations: 0.8665 MB / 1.444 GB, free: 8.238 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002487/0.7989, allocations: 1.313 MB / 1.445 GB, free: 6.723 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003639/0.8025, allocations: 1.23 MB / 1.446 GB, free: 5.441 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.947e-06/0.8025, allocations: 0 / 1.446 GB, free: 5.441 MB / 1.139 GB Notification: Performance of matching and sorting (n=99) (initialization_lambda0): time 0.01084/0.8134, allocations: 2.245 MB / 1.449 GB, free: 3.172 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 5.969e-05/0.8134, allocations: 33.64 kB / 1.449 GB, free: 3.133 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.375e-06/0.8134, allocations: 4 kB / 1.449 GB, free: 3.129 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00167/0.8151, allocations: 0.4892 MB / 1.449 GB, free: 2.637 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001085/0.8162, allocations: 207.7 kB / 1.449 GB, free: 2.434 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01703/0.8332, allocations: 3.941 MB / 1.453 GB, free: 14.39 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002248/0.8354, allocations: 195.5 kB / 1.453 GB, free: 14.2 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001297/0.8356, allocations: 35.98 kB / 1.453 GB, free: 14.16 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 7 (fal.y,chi.on,pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (93): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.000504/0.8361, allocations: 236 kB / 1.454 GB, free: 13.93 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003941/0.8365, allocations: 147.1 kB / 1.454 GB, free: 13.78 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01063/0.8471, allocations: 2.297 MB / 1.456 GB, free: 11.45 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009672/0.8568, allocations: 2.054 MB / 1.458 GB, free: 9.363 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.396e-05/0.8568, allocations: 3.938 kB / 1.458 GB, free: 9.359 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001345/0.8581, allocations: 254.8 kB / 1.458 GB, free: 9.109 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002081/0.8583, allocations: 19.98 kB / 1.458 GB, free: 9.09 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001303/0.8597, allocations: 131.8 kB / 1.458 GB, free: 8.961 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001792/0.8598, allocations: 68.53 kB / 1.458 GB, free: 8.895 MB / 1.154 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00862/0.8684, allocations: 2.094 MB / 1.46 GB, free: 6.789 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006605/0.8751, allocations: 2.332 MB / 1.463 GB, free: 4.438 MB / 1.154 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001815/0.8769, allocations: 0.614 MB / 1.463 GB, free: 3.82 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.00151/0.8784, allocations: 0.8398 MB / 1.464 GB, free: 2.98 MB / 1.154 GB Notification: Performance of Backend: time 4.61e-07/0.8784, allocations: 0 / 1.464 GB, free: 2.98 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.009606/0.888, allocations: 2.639 MB / 1.467 GB, free: 284 kB / 1.154 GB Notification: Performance of SimCode: time 0.006578/0.8946, allocations: 3.233 MB / 1.47 GB, free: 13 MB / 1.17 GB Notification: Performance of Templates: time 0.08001/0.9746, allocations: 46.86 MB / 1.516 GB, free: 14.62 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Chillers.Examples.ElectricEIR_HeatRecovery.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Chillers.Examples.ElectricEIR_HeatRecovery.pipe ; mkfifo Buildings_12_Buildings.Fluid.Chillers.Examples.ElectricEIR_HeatRecovery.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Chillers.Examples.ElectricEIR_HeatRecovery.pipe >> ../files/Buildings_12_Buildings.Fluid.Chillers.Examples.ElectricEIR_HeatRecovery.sim & ./Buildings_12_Buildings.Fluid.Chillers.Examples.ElectricEIR_HeatRecovery -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Chillers.Examples.ElectricEIR_HeatRecovery.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 12.27281693200348] Failed to read output from testmodel.py, exit status != 0: 0.9847253900006763 1.000033993 0.310502386 Calling exit ...