Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.DHC.ETS.Heating.Examples.Indirect.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.001993/0.001993, 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.002632/0.002632, allocations: 212.4 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.608/1.608, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.193/3.193, allocations: 0.49 GB / 0.7959 GB, free: 35.53 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.DHC.ETS.Heating.Examples.Indirect,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaETS.senTDisSup.T|heaETS.senTDisRet.T|heaETS.senTBuiSup.T|heaETS.senTBuiRet.T|heaETS.hex.m1_flow|heaETS.hex.m2_flow|loa.m_flow|heaETS.conVal.y|heaETS.hex.port_a1.p|heaETS.hex.port_b1.p|heaETS.hex.port_a2.p|heaETS.hex.port_b2.p|heaETS.Q_flow|heaETS.Q",fileNamePrefix="Buildings_12_Buildings.DHC.ETS.Heating.Examples.Indirect") translateModel(Buildings.DHC.ETS.Heating.Examples.Indirect,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaETS.senTDisSup.T|heaETS.senTDisRet.T|heaETS.senTBuiSup.T|heaETS.senTBuiRet.T|heaETS.hex.m1_flow|heaETS.hex.m2_flow|loa.m_flow|heaETS.conVal.y|heaETS.hex.port_a1.p|heaETS.hex.port_b1.p|heaETS.hex.port_a2.p|heaETS.hex.port_b2.p|heaETS.Q_flow|heaETS.Q",fileNamePrefix="Buildings_12_Buildings.DHC.ETS.Heating.Examples.Indirect") [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.003357/0.003357, allocations: 68.7 kB / 1.155 GB, free: 25.24 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4161/0.4194, allocations: 176.1 MB / 1.327 GB, free: 1.02 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.ETS.Heating.Examples.Indirect): time 0.1282/0.5477, allocations: 106.3 MB / 1.431 GB, free: 6.352 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.04811/0.5958, allocations: 29.05 MB / 1.459 GB, free: 9.215 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006257/0.602, allocations: 178.5 kB / 1.459 GB, free: 9.039 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.009075/0.6111, allocations: 2.734 MB / 1.462 GB, free: 6.293 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.01586/0.627, allocations: 4.836 MB / 1.467 GB, free: 1.438 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.01224/0.6392, allocations: 4.151 MB / 1.471 GB, free: 13.31 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.02009/0.6593, allocations: 11.08 MB / 1.482 GB, free: 2.203 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005687/0.665, allocations: 2.468 MB / 1.484 GB, free: 15.67 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01202/0.677, allocations: 4.362 MB / 1.488 GB, free: 11.3 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005771/0.6828, allocations: 2.47 MB / 1.491 GB, free: 8.82 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.001673/0.6844, allocations: 344 kB / 1.491 GB, free: 8.484 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009481/0.6939, allocations: 3.37 MB / 1.494 GB, free: 5.113 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.002089/0.696, allocations: 1.02 MB / 1.495 GB, free: 4.09 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.003633/0.6997, allocations: 1.602 MB / 1.497 GB, free: 2.48 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.01588/0.7155, allocations: 6.863 MB / 1.504 GB, free: 11.59 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 1.091e-05/0.7155, allocations: 7.922 kB / 1.504 GB, free: 11.59 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.455e-06/0.7155, allocations: 0 / 1.504 GB, free: 11.59 MB / 1.201 GB Notification: Performance of Transformations before backend: time 0.0001803/0.7157, allocations: 0 / 1.504 GB, free: 11.59 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: 477 * Number of variables: 477 Notification: Performance of Generate backend data structure: time 0.01242/0.7281, allocations: 4.687 MB / 1.508 GB, free: 6.828 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 5.962e-05/0.7282, allocations: 12.03 kB / 1.508 GB, free: 6.816 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004736/0.7329, allocations: 0.8599 MB / 1.509 GB, free: 5.953 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01058/0.7435, allocations: 3.967 MB / 1.513 GB, free: 1.914 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002299/0.7437, allocations: 163.8 kB / 1.513 GB, free: 1.754 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006817/0.7444, allocations: 211.9 kB / 1.513 GB, free: 1.547 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005786/0.7502, allocations: 2.633 MB / 1.516 GB, free: 14.76 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.21e-05/0.7503, allocations: 8 kB / 1.516 GB, free: 14.75 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002303/0.7505, allocations: 76 kB / 1.516 GB, free: 14.68 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.616e-05/0.7506, allocations: 51.94 kB / 1.516 GB, free: 14.62 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005114/0.7557, allocations: 1.997 MB / 1.518 GB, free: 12.62 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.01888/0.7746, allocations: 8.389 MB / 1.526 GB, free: 4.07 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004164/0.7787, allocations: 1.495 MB / 1.528 GB, free: 2.562 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002137/0.7809, allocations: 0.831 MB / 1.528 GB, free: 1.734 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009939/0.7908, allocations: 3.293 MB / 1.532 GB, free: 14.42 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002615/0.7934, allocations: 1.262 MB / 1.533 GB, free: 13.07 MB / 1.232 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001251/0.7947, allocations: 127.1 kB / 1.533 GB, free: 12.95 MB / 1.232 GB Notification: Performance of pre-optimization done (n=130): time 5.33e-06/0.7947, allocations: 0 / 1.533 GB, free: 12.95 MB / 1.232 GB Notification: Performance of matching and sorting (n=133): time 0.01587/0.8105, allocations: 5.569 MB / 1.538 GB, free: 7.328 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.494e-05/0.8106, allocations: 116.1 kB / 1.539 GB, free: 7.188 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004805/0.8154, allocations: 2.907 MB / 1.541 GB, free: 4.281 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.000419/0.8158, allocations: 57.7 kB / 1.541 GB, free: 4.219 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.00156/0.8174, allocations: 1.486 MB / 1.543 GB, free: 2.723 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006726/0.8181, allocations: 499.7 kB / 1.543 GB, free: 2.23 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008377/0.8189, allocations: 479.7 kB / 1.544 GB, free: 1.754 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.8191, allocations: 313.1 kB / 1.544 GB, free: 1.445 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002371/0.8214, allocations: 0.958 MB / 1.545 GB, free: 496 kB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003285/0.8247, allocations: 2.023 MB / 1.547 GB, free: 14.13 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004844/0.8296, allocations: 2.237 MB / 1.549 GB, free: 11.73 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.091e-05/0.8296, allocations: 4 kB / 1.549 GB, free: 11.73 MB / 1.248 GB Notification: Performance of matching and sorting (n=283) (initialization): time 0.007435/0.837, allocations: 2.962 MB / 1.552 GB, free: 8.758 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 4.856e-05/0.837, allocations: 8 kB / 1.552 GB, free: 8.75 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.876e-05/0.8371, allocations: 15.94 kB / 1.552 GB, free: 8.734 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001248/0.8383, allocations: 311.1 kB / 1.552 GB, free: 8.426 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002125/0.8404, allocations: 483.3 kB / 1.553 GB, free: 7.953 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001626/0.8421, allocations: 1.481 MB / 1.554 GB, free: 6.422 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002902/0.845, allocations: 168 kB / 1.555 GB, free: 6.258 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003064/0.8453, allocations: 99.95 kB / 1.555 GB, free: 6.16 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003678/0.849, allocations: 1.523 MB / 1.556 GB, free: 4.633 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003048/0.852, allocations: 1.988 MB / 1.558 GB, free: 2.305 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004515/0.8565, allocations: 2.189 MB / 1.56 GB, free: 15.96 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.427e-05/0.8565, allocations: 4 kB / 1.56 GB, free: 15.96 MB / 1.264 GB Notification: Performance of matching and sorting (n=283) (initialization_lambda0): time 0.006672/0.8632, allocations: 2.867 MB / 1.563 GB, free: 13.08 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.535e-05/0.8632, allocations: 14.03 kB / 1.563 GB, free: 13.07 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.186e-05/0.8633, allocations: 12 kB / 1.563 GB, free: 13.05 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001067/0.8643, allocations: 289.5 kB / 1.563 GB, free: 12.77 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001949/0.8663, allocations: 475.2 kB / 1.564 GB, free: 12.3 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002678/0.869, allocations: 2.422 MB / 1.566 GB, free: 9.758 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002853/0.8718, allocations: 181.4 kB / 1.566 GB, free: 9.582 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003262/0.8721, allocations: 103.9 kB / 1.566 GB, free: 9.48 MB / 1.264 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.QHea.nextTimeEvent,$whenCondition1,heaETS.con.con1.y,heaETS.int.local_reset,heaETS.hex.flowRegime_nominal,QHea.nextTimeEvent,QHea.nextTimeEventScaled,$PRE.QHea.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (231): * Single equations (assignments): 227 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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 {(3,14), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0006834/0.8728, allocations: 299.7 kB / 1.567 GB, free: 9.18 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009365/0.8738, allocations: 317.9 kB / 1.567 GB, free: 8.867 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00659/0.8803, allocations: 2.486 MB / 1.569 GB, free: 6.367 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004713/0.8851, allocations: 2.065 MB / 1.571 GB, free: 4.227 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.167e-06/0.8851, allocations: 0 / 1.571 GB, free: 4.227 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002075/0.8871, allocations: 0.5424 MB / 1.572 GB, free: 3.684 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008797/0.888, allocations: 28.05 kB / 1.572 GB, free: 3.656 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002318/0.8903, allocations: 152.3 kB / 1.572 GB, free: 3.508 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002388/0.8906, allocations: 109 kB / 1.572 GB, free: 3.398 MB / 1.264 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007034/0.8976, allocations: 2.414 MB / 1.575 GB, free: 0.9727 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008354/0.906, allocations: 3.393 MB / 1.578 GB, free: 13.56 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00227/0.9082, allocations: 0.8573 MB / 1.579 GB, free: 12.7 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.004626/0.9129, allocations: 1.917 MB / 1.581 GB, free: 10.8 MB / 1.279 GB Notification: Performance of Backend: time 8.21e-07/0.9129, allocations: 0 / 1.581 GB, free: 10.8 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.01674/0.9296, allocations: 4.312 MB / 1.585 GB, free: 6.676 MB / 1.279 GB Notification: Performance of SimCode: time 0.01656/0.9462, allocations: 7.015 MB / 1.592 GB, free: 15.64 MB / 1.295 GB Notification: Performance of Templates: time 0.8702/1.816, allocations: 85.19 MB / 1.675 GB, free: 231 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.DHC.ETS.Heating.Examples.Indirect.makefile [Timeout 300] (rm -f Buildings_12_Buildings.DHC.ETS.Heating.Examples.Indirect.pipe ; mkfifo Buildings_12_Buildings.DHC.ETS.Heating.Examples.Indirect.pipe ; head -c 1048576 < Buildings_12_Buildings.DHC.ETS.Heating.Examples.Indirect.pipe >> ../files/Buildings_12_Buildings.DHC.ETS.Heating.Examples.Indirect.sim & ./Buildings_12_Buildings.DHC.ETS.Heating.Examples.Indirect -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.DHC.ETS.Heating.Examples.Indirect.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 13.193674479996844] Failed to read output from testmodel.py, exit status != 0: 1.8278144099967903 1.835130769 1.116926594 Calling exit ...