Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.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.001899/0.001899, allocations: 97.11 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.002219/0.002219, allocations: 207.5 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.68/1.68, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.542/3.542, allocations: 0.49 GB / 0.7959 GB, free: 35.52 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.Examples.WetCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hex.Q2_flow|hex.QLat2_flow|hex.port_a1.m_flow|hex.port_a2.m_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow") translateModel(Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hex.Q2_flow|hex.QLat2_flow|hex.port_a1.m_flow|hex.port_a2.m_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow") [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.002125/0.002125, allocations: 68.59 kB / 1.155 GB, free: 25.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4862/0.4883, allocations: 176.1 MB / 1.327 GB, free: 0.9688 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow): time 0.3319/0.8202, allocations: 223.6 MB / 1.545 GB, free: 0.6094 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.03449/0.8547, allocations: 17.93 MB / 1.563 GB, free: 14.64 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005542/0.8603, allocations: 103.1 kB / 1.563 GB, free: 14.54 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.004646/0.8649, allocations: 1.149 MB / 1.564 GB, free: 13.38 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.01683/0.8817, allocations: 4.223 MB / 1.568 GB, free: 9.141 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.009004/0.8907, allocations: 2.489 MB / 1.571 GB, free: 6.664 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.0117/0.9024, allocations: 5.439 MB / 1.576 GB, free: 1.215 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004092/0.9065, allocations: 1.551 MB / 1.578 GB, free: 15.62 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01228/0.9188, allocations: 2.769 MB / 1.58 GB, free: 12.87 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006048/0.9249, allocations: 1.768 MB / 1.582 GB, free: 11.1 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.001283/0.9261, allocations: 272 kB / 1.582 GB, free: 10.84 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01244/0.9386, allocations: 3.926 MB / 1.586 GB, free: 6.902 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.001449/0.94, allocations: 0.7396 MB / 1.587 GB, free: 6.16 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.002636/0.9427, allocations: 1.128 MB / 1.588 GB, free: 5.027 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.01386/0.9565, allocations: 5.362 MB / 1.593 GB, free: 15.65 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 8.637e-06/0.9565, allocations: 0 / 1.593 GB, free: 15.65 MB / 1.295 GB Notification: Performance of FrontEnd: time 2.315e-06/0.9565, allocations: 3.938 kB / 1.593 GB, free: 15.64 MB / 1.295 GB Notification: Performance of Transformations before backend: time 6.901e-05/0.9566, allocations: 0 / 1.593 GB, free: 15.64 MB / 1.295 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 421 * Number of variables: 421 Notification: Performance of Generate backend data structure: time 0.009579/0.9662, allocations: 3.321 MB / 1.596 GB, free: 12.25 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 6.918e-05/0.9663, allocations: 8.031 kB / 1.596 GB, free: 12.24 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01698/0.9832, allocations: 2.179 MB / 1.599 GB, free: 10.06 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005651/0.9889, allocations: 1.882 MB / 1.6 GB, free: 8.133 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001851/0.9891, allocations: 139.2 kB / 1.6 GB, free: 7.996 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005195/0.9896, allocations: 176 kB / 1.601 GB, free: 7.824 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008438/0.998, allocations: 3.026 MB / 1.604 GB, free: 4.719 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.687e-05/0.9981, allocations: 4 kB / 1.604 GB, free: 4.715 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002473/0.9983, allocations: 63.94 kB / 1.604 GB, free: 4.652 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.962e-05/0.9984, allocations: 67.2 kB / 1.604 GB, free: 4.586 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01075/1.009, allocations: 3.463 MB / 1.607 GB, free: 1.105 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 1.124/2.133, allocations: 6.574 MB / 1.614 GB, free: 277.6 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00929/2.143, allocations: 2.396 MB / 1.616 GB, free: 276.8 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005013/2.148, allocations: 1.474 MB / 1.617 GB, free: 276.3 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01041/2.158, allocations: 3.499 MB / 1.621 GB, free: 274.5 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006267/2.164, allocations: 1.87 MB / 1.623 GB, free: 273.8 MB / 1.295 GB Notification: Performance of pre-optimization done (n=149): time 5.5e-06/2.164, allocations: 0.5625 kB / 1.623 GB, free: 273.8 MB / 1.295 GB Notification: Performance of matching and sorting (n=149): time 0.02394/2.188, allocations: 5.05 MB / 1.627 GB, free: 272.2 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001194/2.188, allocations: 154.3 kB / 1.628 GB, free: 272.1 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004276/2.193, allocations: 1.529 MB / 1.629 GB, free: 271.5 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0006261/2.193, allocations: 59.55 kB / 1.629 GB, free: 271.4 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0012/2.194, allocations: 0.8715 MB / 1.63 GB, free: 270.8 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008706/2.195, allocations: 0.5119 MB / 1.631 GB, free: 270.5 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00113/2.196, allocations: 435.7 kB / 1.631 GB, free: 270.3 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 8.465e-05/2.197, allocations: 302.7 kB / 1.631 GB, free: 270 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005226/2.202, allocations: 1.488 MB / 1.633 GB, free: 269.5 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006/2.208, allocations: 2.257 MB / 1.635 GB, free: 268.1 MB / 1.295 GB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.01322/2.221, allocations: 3.581 MB / 1.638 GB, free: 266.6 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.618e-05/2.221, allocations: 6.219 kB / 1.638 GB, free: 266.6 MB / 1.295 GB Notification: Performance of matching and sorting (n=233) (initialization): time 0.01486/2.236, allocations: 4.033 MB / 1.642 GB, free: 265.2 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 8.154e-05/2.236, allocations: 73 kB / 1.642 GB, free: 265.1 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.819e-05/2.236, allocations: 5.406 kB / 1.642 GB, free: 265.1 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001509/2.237, allocations: 340.9 kB / 1.643 GB, free: 265 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004961/2.242, allocations: 0.7239 MB / 1.643 GB, free: 265 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006738/2.249, allocations: 5.912 MB / 1.649 GB, free: 259.7 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005121/2.254, allocations: 420.8 kB / 1.65 GB, free: 259.6 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006131/2.255, allocations: 95.33 kB / 1.65 GB, free: 259.5 MB / 1.295 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: hex.UAFroRated.TAirIn = 293.15 hex.UAFroRated.TWatIn = 293.15. Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005631/2.261, allocations: 1.888 MB / 1.652 GB, free: 258.5 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004731/2.265, allocations: 2.254 MB / 1.654 GB, free: 256.8 MB / 1.295 GB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01124/2.277, allocations: 3.586 MB / 1.657 GB, free: 253.8 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.968e-05/2.277, allocations: 8 kB / 1.657 GB, free: 253.8 MB / 1.295 GB Notification: Performance of matching and sorting (n=233) (initialization_lambda0): time 0.01384/2.29, allocations: 4.006 MB / 1.661 GB, free: 249.7 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 7.075e-05/2.29, allocations: 75.33 kB / 1.661 GB, free: 249.6 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.813e-05/2.29, allocations: 4 kB / 1.661 GB, free: 249.6 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001247/2.292, allocations: 350.4 kB / 1.662 GB, free: 249.3 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004735/2.296, allocations: 0.7294 MB / 1.662 GB, free: 248.6 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006434/2.303, allocations: 5.906 MB / 1.668 GB, free: 242.3 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005075/2.308, allocations: 404.1 kB / 1.668 GB, free: 241.9 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007544/2.309, allocations: 95.92 kB / 1.669 GB, free: 241.8 MB / 1.295 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization_lambda0 system: hex.UAFroRated.TAirIn = 293.15 hex.UAFroRated.TWatIn = 293.15. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 17 (hex.UAFroRated.isFulWet,hex.UAFroRated.isFulDry,hex.flowRegime_nominal,mAirGai.nextEventScaled,mAirGai.nextEvent,$PRE.mAirGai.nextEvent,mAirGai.last,mAirGai.b,mAirGai.a,mWatGai.nextEventScaled,mWatGai.nextEvent,$PRE.mWatGai.nextEvent,mWatGai.last,mWatGai.b,mWatGai.a,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (211): * Single equations (assignments): 202 * Array equations: 2 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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): 4 systems {(1,1), (1,3), (1,4), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001501/2.31, allocations: 364.9 kB / 1.669 GB, free: 241.5 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001418/2.312, allocations: 198.7 kB / 1.669 GB, free: 241.3 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01317/2.325, allocations: 3.85 MB / 1.673 GB, free: 237.4 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.255e-05/2.325, allocations: 7.969 kB / 1.673 GB, free: 237.4 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.311e-06/2.325, allocations: 0 / 1.673 GB, free: 237.4 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00199/2.327, allocations: 0.5118 MB / 1.673 GB, free: 236.9 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008104/2.328, allocations: 35.95 kB / 1.673 GB, free: 236.8 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003729/2.331, allocations: 296 kB / 1.674 GB, free: 236.5 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002801/2.332, allocations: 101.1 kB / 1.674 GB, free: 236.4 MB / 1.295 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01319/2.345, allocations: 3.7 MB / 1.677 GB, free: 232.7 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01365/2.358, allocations: 5.08 MB / 1.682 GB, free: 227.6 MB / 1.295 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003916/2.362, allocations: 1.41 MB / 1.684 GB, free: 226.1 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.002278/2.365, allocations: 1.033 MB / 1.685 GB, free: 225.1 MB / 1.295 GB Notification: Performance of Backend: time 7.72e-07/2.365, allocations: 0 / 1.685 GB, free: 225.1 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.02087/2.386, allocations: 5.778 MB / 1.69 GB, free: 219.3 MB / 1.295 GB Notification: Performance of SimCode: time 0.009697/2.395, allocations: 4.272 MB / 1.695 GB, free: 215 MB / 1.295 GB Notification: Performance of Templates: time 0.1055/2.501, allocations: 79.14 MB / 1.772 GB, free: 136.4 MB / 1.295 GB " [Timeout remaining time 297] make -j1 -f Buildings_12_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.sim & ./Buildings_12_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 15.137904076997074] Failed to read output from testmodel.py, exit status != 0: 2.5117184659975464 2.520391987 1.5611432170000001 Calling exit ...