Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.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.002007/0.002007, allocations: 101.1 kB / 19.71 MB, free: 2.152 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.002856/0.002856, allocations: 207.9 kB / 23 MB, free: 4.965 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.648/1.648, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.504/3.504, allocations: 0.49 GB / 0.7959 GB, free: 35.4 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.HeatExchangers.BaseClasses.Examples.HexElementLatent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hex.vol1.T|hex.vol2.T|hex.port_a1.m_flow|hex.port_a2.m_flow|netEne.y|hex.Q1_flow|hex.Q2_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hex.vol1.T|hex.vol2.T|hex.port_a1.m_flow|hex.port_a2.m_flow|netEne.y|hex.Q1_flow|hex.Q2_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent") [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.002062/0.002062, allocations: 65.89 kB / 1.155 GB, free: 25.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5007/0.5027, allocations: 176.1 MB / 1.327 GB, free: 1.094 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent): time 0.3416/0.8443, allocations: 226.4 MB / 1.548 GB, free: 13.83 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.03238/0.8767, allocations: 16.84 MB / 1.565 GB, free: 12.96 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00454/0.8812, allocations: 111.1 kB / 1.565 GB, free: 12.85 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.004242/0.8855, allocations: 1.067 MB / 1.566 GB, free: 11.77 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.01433/0.8998, allocations: 4.012 MB / 1.57 GB, free: 7.746 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.00644/0.9062, allocations: 1.859 MB / 1.572 GB, free: 5.898 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.01042/0.9167, allocations: 5.169 MB / 1.577 GB, free: 0.7148 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003618/0.9203, allocations: 1.42 MB / 1.578 GB, free: 15.24 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008623/0.9289, allocations: 2.592 MB / 1.581 GB, free: 12.64 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00453/0.9334, allocations: 1.609 MB / 1.582 GB, free: 11.03 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.0007753/0.9342, allocations: 184 kB / 1.582 GB, free: 10.85 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006938/0.9412, allocations: 2.034 MB / 1.584 GB, free: 8.812 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.001244/0.9424, allocations: 0.6111 MB / 1.585 GB, free: 8.199 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.002454/0.9448, allocations: 0.9061 MB / 1.586 GB, free: 7.289 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.01007/0.9549, allocations: 3.671 MB / 1.589 GB, free: 3.605 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 8.135e-06/0.9549, allocations: 0 / 1.589 GB, free: 3.605 MB / 1.279 GB Notification: Performance of FrontEnd: time 2.445e-06/0.9549, allocations: 4 kB / 1.589 GB, free: 3.602 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.0001743/0.9551, allocations: 0 / 1.589 GB, free: 3.602 MB / 1.279 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 348 * Number of variables: 348 Notification: Performance of Generate backend data structure: time 0.007924/0.963, allocations: 2.498 MB / 1.592 GB, free: 1.059 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 6.13e-05/0.9631, allocations: 8.031 kB / 1.592 GB, free: 1.051 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002341/0.9654, allocations: 398.3 kB / 1.592 GB, free: 0.6602 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003757/0.9692, allocations: 1.429 MB / 1.594 GB, free: 15.18 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001071/0.9693, allocations: 102.7 kB / 1.594 GB, free: 15.08 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002327/0.9695, allocations: 143.9 kB / 1.594 GB, free: 14.94 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003342/0.9729, allocations: 1.758 MB / 1.596 GB, free: 13.05 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.235e-05/0.9729, allocations: 0 / 1.596 GB, free: 13.05 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002207/0.9731, allocations: 60 kB / 1.596 GB, free: 13 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.367e-05/0.9732, allocations: 54.64 kB / 1.596 GB, free: 12.94 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002479/0.9757, allocations: 1.135 MB / 1.597 GB, free: 11.8 MB / 1.295 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.009563/0.9852, allocations: 4.726 MB / 1.601 GB, free: 6.949 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001476/0.9867, allocations: 0.6833 MB / 1.602 GB, free: 6.258 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007823/0.9875, allocations: 407.8 kB / 1.602 GB, free: 5.859 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006624/0.9882, allocations: 112.5 kB / 1.603 GB, free: 5.746 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.598e-05/0.9882, allocations: 43.22 kB / 1.603 GB, free: 5.695 MB / 1.295 GB Notification: Performance of pre-optimization done (n=74): time 3.216e-06/0.9882, allocations: 4 kB / 1.603 GB, free: 5.691 MB / 1.295 GB Notification: Performance of matching and sorting (n=74): time 0.007094/0.9953, allocations: 1.834 MB / 1.604 GB, free: 3.844 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.467e-05/0.9954, allocations: 60.06 kB / 1.604 GB, free: 3.77 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00198/0.9973, allocations: 1.19 MB / 1.606 GB, free: 2.566 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0001096/0.9974, allocations: 41.7 kB / 1.606 GB, free: 2.52 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.000795/0.9982, allocations: 0.8258 MB / 1.606 GB, free: 1.688 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.000352/0.9986, allocations: 277.6 kB / 1.607 GB, free: 1.414 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003266/0.9989, allocations: 176.3 kB / 1.607 GB, free: 1.238 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.0001928/0.9991, allocations: 341.9 kB / 1.607 GB, free: 0.8984 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006975/0.9998, allocations: 340.6 kB / 1.608 GB, free: 0.5625 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.135/2.135, allocations: 0.907 MB / 1.608 GB, free: 281.1 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002019/2.137, allocations: 0.8677 MB / 1.609 GB, free: 280.9 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.648e-06/2.137, allocations: 3.094 kB / 1.609 GB, free: 280.9 MB / 1.295 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.003853/2.141, allocations: 1.245 MB / 1.61 GB, free: 280.8 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 3.632e-05/2.141, allocations: 7.812 kB / 1.61 GB, free: 280.8 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.002e-05/2.141, allocations: 4.844 kB / 1.61 GB, free: 280.8 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002364/2.143, allocations: 412.9 kB / 1.611 GB, free: 280.8 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007704/2.144, allocations: 153 kB / 1.611 GB, free: 280.8 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001955/2.146, allocations: 2.045 MB / 1.613 GB, free: 279.2 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001464/2.148, allocations: 108.7 kB / 1.613 GB, free: 279.2 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001026/2.148, allocations: 38.73 kB / 1.613 GB, free: 279.2 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001513/2.149, allocations: 0.6402 MB / 1.614 GB, free: 278.9 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001016/2.15, allocations: 0.9052 MB / 1.615 GB, free: 278.1 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001622/2.152, allocations: 0.8609 MB / 1.615 GB, free: 277.6 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.504e-06/2.152, allocations: 1.969 kB / 1.615 GB, free: 277.6 MB / 1.295 GB Notification: Performance of matching and sorting (n=108) (initialization_lambda0): time 0.003049/2.155, allocations: 1.194 MB / 1.617 GB, free: 277.2 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 3.002e-05/2.155, allocations: 6.75 kB / 1.617 GB, free: 277.2 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.585e-05/2.155, allocations: 14.44 kB / 1.617 GB, free: 277.2 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001661/2.157, allocations: 351.8 kB / 1.617 GB, free: 277.1 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006675/2.157, allocations: 164.7 kB / 1.617 GB, free: 277.1 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00331/2.161, allocations: 3.915 MB / 1.621 GB, free: 273.6 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001331/2.162, allocations: 90.33 kB / 1.621 GB, free: 273.6 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.631e-05/2.162, allocations: 41.59 kB / 1.621 GB, free: 273.5 MB / 1.295 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 75 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,21), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0003821/2.162, allocations: 231 kB / 1.621 GB, free: 273.3 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002973/2.163, allocations: 151.2 kB / 1.621 GB, free: 273.2 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00328/2.166, allocations: 1.169 MB / 1.623 GB, free: 272.8 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002598/2.169, allocations: 1.278 MB / 1.624 GB, free: 272 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.113e-06/2.169, allocations: 5.203 kB / 1.624 GB, free: 272 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009974/2.17, allocations: 242 kB / 1.624 GB, free: 271.9 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001795/2.17, allocations: 15.75 kB / 1.624 GB, free: 271.9 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008411/2.171, allocations: 39.98 kB / 1.624 GB, free: 271.8 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002283/2.171, allocations: 57.75 kB / 1.624 GB, free: 271.8 MB / 1.295 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003365/2.174, allocations: 1.139 MB / 1.625 GB, free: 271.4 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003307/2.178, allocations: 1.447 MB / 1.627 GB, free: 270.7 MB / 1.295 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008438/2.178, allocations: 329.4 kB / 1.627 GB, free: 270.6 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001604/2.18, allocations: 0.7983 MB / 1.628 GB, free: 270.3 MB / 1.295 GB Notification: Performance of Backend: time 5.71e-07/2.18, allocations: 0 / 1.628 GB, free: 270.3 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.0062/2.186, allocations: 1.956 MB / 1.63 GB, free: 269.7 MB / 1.295 GB Notification: Performance of SimCode: time 0.007854/2.194, allocations: 3.757 MB / 1.633 GB, free: 267.7 MB / 1.295 GB Notification: Performance of Templates: time 0.0683/2.262, allocations: 40.28 MB / 1.673 GB, free: 239.3 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.sim & ./Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 13.167069843999343] Failed to read output from testmodel.py, exit status != 0: 2.2720650649935124 2.2812008870000002 1.3235906290000001 Calling exit ...