Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.Q2_flow|hex.QLat2_flow|hex.port_a1.m_flow|hex.port_a2.m_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow") translateModel(Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.Q2_flow|hex.QLat2_flow|hex.port_a1.m_flow|hex.port_a2.m_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001657/0.001657, allocations: 113.8 kB / 16.81 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001809/0.001809, allocations: 196.7 kB / 17.77 MB, free: 5.117 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.466/1.466, allocations: 225.6 MB / 244.2 MB, free: 13.9 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.839/2.839, allocations: 476.7 MB / 0.7556 GB, free: 11.31 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001934/0.001934, allocations: 68.92 kB / 1.097 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3335/0.3355, allocations: 168.7 MB / 1.262 GB, free: 12.9 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow): time 0.2984/0.6338, allocations: 252 MB / 1.508 GB, free: 15.98 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.03153/0.6654, allocations: 19.31 MB / 1.527 GB, free: 12.61 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003652/0.669, allocations: 87.5 kB / 1.527 GB, free: 12.53 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.003615/0.6726, allocations: 1.219 MB / 1.528 GB, free: 11.3 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.01151/0.6842, allocations: 4.212 MB / 1.532 GB, free: 7.07 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.007551/0.6917, allocations: 2.488 MB / 1.535 GB, free: 4.602 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.01051/0.7022, allocations: 5.368 MB / 1.54 GB, free: 15.22 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003484/0.7057, allocations: 1.597 MB / 1.542 GB, free: 13.59 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007256/0.713, allocations: 2.447 MB / 1.544 GB, free: 11.16 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004062/0.717, allocations: 1.788 MB / 1.546 GB, free: 9.367 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.001119/0.7181, allocations: 276 kB / 1.546 GB, free: 9.098 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01127/0.7294, allocations: 4.635 MB / 1.551 GB, free: 4.453 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.001792/0.7312, allocations: 0.7357 MB / 1.551 GB, free: 3.715 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.003594/0.7348, allocations: 1.411 MB / 1.553 GB, free: 2.297 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.8099/1.545, allocations: 5.4 MB / 1.558 GB, free: 44.61 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/1.545, allocations: 1.969 kB / 1.558 GB, free: 44.61 MB / 1.264 GB Notification: Performance of FrontEnd: time 2.024e-06/1.545, allocations: 0 / 1.558 GB, free: 44.61 MB / 1.264 GB Notification: Performance of Transformations before backend: time 0.0001082/1.545, allocations: 1.844 kB / 1.558 GB, free: 44.61 MB / 1.264 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.008432/1.553, allocations: 3.391 MB / 1.561 GB, free: 42.95 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/1.553, allocations: 8.469 kB / 1.561 GB, free: 42.95 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01708/1.57, allocations: 2.141 MB / 1.563 GB, free: 42.8 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004922/1.575, allocations: 1.949 MB / 1.565 GB, free: 42.31 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001485/1.575, allocations: 132.3 kB / 1.565 GB, free: 42.31 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006516/1.576, allocations: 181.8 kB / 1.566 GB, free: 42.31 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008197/1.584, allocations: 2.857 MB / 1.568 GB, free: 42.16 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.035e-05/1.584, allocations: 4.031 kB / 1.568 GB, free: 42.16 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000257/1.585, allocations: 71.58 kB / 1.568 GB, free: 42.16 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-05/1.585, allocations: 68.31 kB / 1.568 GB, free: 42.16 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01083/1.596, allocations: 3.398 MB / 1.572 GB, free: 42.14 MB / 1.264 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.01682/1.612, allocations: 9.095 MB / 1.581 GB, free: 39.18 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007297/1.62, allocations: 2.344 MB / 1.583 GB, free: 39.15 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004272/1.624, allocations: 1.411 MB / 1.584 GB, free: 39.13 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008582/1.633, allocations: 5.251 MB / 1.589 GB, free: 37.13 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004658/1.637, allocations: 1.712 MB / 1.591 GB, free: 36.96 MB / 1.264 GB Notification: Performance of pre-optimization done (n=149): time 3.126e-06/1.637, allocations: 0 / 1.591 GB, free: 36.96 MB / 1.264 GB Notification: Performance of matching and sorting (n=149): time 0.01797/1.655, allocations: 5.089 MB / 1.596 GB, free: 36.38 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.538e-05/1.655, allocations: 153.3 kB / 1.596 GB, free: 36.23 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002656/1.658, allocations: 1.68 MB / 1.598 GB, free: 36.04 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 0.0004829/1.658, allocations: 59.27 kB / 1.598 GB, free: 36 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006593/1.659, allocations: 0.8509 MB / 1.599 GB, free: 35.68 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005526/1.66, allocations: 0.5165 MB / 1.599 GB, free: 35.34 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009138/1.66, allocations: 435 kB / 1.6 GB, free: 35.3 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 4.903e-05/1.661, allocations: 305.7 kB / 1.6 GB, free: 35 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004477/1.665, allocations: 1.434 MB / 1.601 GB, free: 34.95 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004764/1.67, allocations: 1.774 MB / 1.603 GB, free: 34.61 MB / 1.264 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.01113/1.681, allocations: 3.666 MB / 1.607 GB, free: 34.04 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.662e-05/1.681, allocations: 2.5 kB / 1.607 GB, free: 34.04 MB / 1.264 GB Notification: Performance of matching and sorting (n=237) (initialization): time 0.01301/1.694, allocations: 3.973 MB / 1.611 GB, free: 33.66 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 5.931e-05/1.694, allocations: 79.08 kB / 1.611 GB, free: 33.6 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.652e-05/1.694, allocations: 5.188 kB / 1.611 GB, free: 33.6 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001222/1.695, allocations: 357.2 kB / 1.611 GB, free: 33.55 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004604/1.7, allocations: 0.7215 MB / 1.612 GB, free: 33.53 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005611/1.705, allocations: 6.272 MB / 1.618 GB, free: 28.29 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004694/1.71, allocations: 438 kB / 1.618 GB, free: 28.18 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004156/1.711, allocations: 101.1 kB / 1.618 GB, free: 28.18 MB / 1.264 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.005287/1.716, allocations: 1.833 MB / 1.62 GB, free: 28.05 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00455/1.72, allocations: 1.767 MB / 1.622 GB, free: 27.71 MB / 1.264 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.01058/1.731, allocations: 3.654 MB / 1.625 GB, free: 27.14 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.127e-06/1.731, allocations: 3.438 kB / 1.625 GB, free: 27.14 MB / 1.264 GB Notification: Performance of matching and sorting (n=237) (initialization_lambda0): time 0.01289/1.744, allocations: 3.975 MB / 1.629 GB, free: 26.75 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 6.241e-05/1.744, allocations: 73.64 kB / 1.629 GB, free: 26.69 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.637e-05/1.744, allocations: 6.5 kB / 1.629 GB, free: 26.69 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001218/1.745, allocations: 342.2 kB / 1.63 GB, free: 26.64 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00473/1.75, allocations: 0.7283 MB / 1.63 GB, free: 26.62 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005694/1.756, allocations: 6.273 MB / 1.637 GB, free: 21.37 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004997/1.761, allocations: 409.3 kB / 1.637 GB, free: 21.29 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005341/1.761, allocations: 95.98 kB / 1.637 GB, free: 21.29 MB / 1.264 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: 21 (hex.UAFroRated.isFulWet,hex.UAFroRated.isFulDry,hex.flowRegime_nominal,hex.dryWetCalcs.fullyDry.cfg,hex.dryWetCalcs.fullyWet.cfg,hex.dryWetCalcs.cfg,hex.flowRegime,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 (215): * Single equations (assignments): 206 * 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.0008107/1.762, allocations: 361.9 kB / 1.637 GB, free: 21.04 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007715/1.763, allocations: 216.8 kB / 1.638 GB, free: 20.93 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01188/1.775, allocations: 3.773 MB / 1.641 GB, free: 20.59 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.467e-05/1.775, allocations: 12.47 kB / 1.641 GB, free: 20.59 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.511e-06/1.775, allocations: 0.6875 kB / 1.641 GB, free: 20.59 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001572/1.776, allocations: 0.6101 MB / 1.642 GB, free: 20.36 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005008/1.777, allocations: 27.84 kB / 1.642 GB, free: 20.36 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003249/1.78, allocations: 300.3 kB / 1.642 GB, free: 20.34 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000235/1.78, allocations: 98.23 kB / 1.642 GB, free: 20.34 MB / 1.264 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01241/1.793, allocations: 3.644 MB / 1.646 GB, free: 19.88 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01347/1.806, allocations: 4.96 MB / 1.651 GB, free: 19.34 MB / 1.264 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003879/1.81, allocations: 1.346 MB / 1.652 GB, free: 19.3 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.001772/1.812, allocations: 1.141 MB / 1.653 GB, free: 19.18 MB / 1.264 GB Notification: Performance of Backend: time 2.61e-07/1.812, allocations: 0 / 1.653 GB, free: 19.18 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.0173/1.829, allocations: 5.56 MB / 1.659 GB, free: 18.1 MB / 1.264 GB Notification: Performance of SimCode: time 0.007385/1.836, allocations: 4.349 MB / 1.663 GB, free: 15.98 MB / 1.264 GB Notification: Performance of Templates: time 0.1143/1.951, allocations: 75.6 MB / 1.737 GB, free: 14.39 MB / 1.326 GB make -j1 -f Buildings_11_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.makefile (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.sim & ./Buildings_11_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.pipe 2>&1)