Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.00151/0.00151, allocations: 113 kB / 16.42 MB, free: 6.449 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.001812/0.001813, allocations: 185.7 kB / 17.35 MB, free: 5.738 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.35/1.35, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.532/2.532, allocations: 437.1 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001375, allocations: 64.12 kB / 1.019 GB, free: 9.387 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8046/0.806, allocations: 151.6 MB / 1.167 GB, free: 3.812 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow): time 0.2445/1.051, allocations: 251 MB / 1.412 GB, free: 7.934 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.02681/1.077, allocations: 19.26 MB / 1.431 GB, free: 4.617 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003268/1.081, allocations: 75.56 kB / 1.431 GB, free: 4.543 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.003126/1.084, allocations: 1.215 MB / 1.432 GB, free: 3.32 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.01146/1.095, allocations: 4.199 MB / 1.437 GB, free: 15.1 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.007087/1.102, allocations: 2.49 MB / 1.439 GB, free: 12.63 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.007993/1.11, allocations: 5.372 MB / 1.444 GB, free: 7.242 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003988/1.115, allocations: 1.921 MB / 1.446 GB, free: 5.285 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00733/1.122, allocations: 2.447 MB / 1.449 GB, free: 2.855 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003424/1.125, allocations: 1.697 MB / 1.45 GB, free: 1.156 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.001066/1.126, allocations: 276 kB / 1.45 GB, free: 0.8867 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009805/1.136, allocations: 4.493 MB / 1.455 GB, free: 12.38 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.001206/1.137, allocations: 0.7242 MB / 1.456 GB, free: 11.66 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.002923/1.14, allocations: 1.415 MB / 1.457 GB, free: 10.23 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.01086/1.151, allocations: 5.384 MB / 1.462 GB, free: 4.836 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/1.151, allocations: 0 / 1.462 GB, free: 4.836 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.944e-06/1.151, allocations: 0 / 1.462 GB, free: 4.836 MB / 1.186 GB Notification: Performance of Transformations before backend: time 9.055e-05/1.151, allocations: 0 / 1.462 GB, free: 4.836 MB / 1.186 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.007972/1.159, allocations: 3.295 MB / 1.465 GB, free: 1.453 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.88e-05/1.159, allocations: 8.922 kB / 1.465 GB, free: 1.445 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01581/1.175, allocations: 2.135 MB / 1.468 GB, free: 15.3 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005033/1.18, allocations: 1.939 MB / 1.469 GB, free: 13.32 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002017/1.181, allocations: 135.2 kB / 1.47 GB, free: 13.18 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009149/1.181, allocations: 176 kB / 1.47 GB, free: 13.01 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008689/1.19, allocations: 2.864 MB / 1.472 GB, free: 10.11 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.468e-05/1.19, allocations: 4 kB / 1.472 GB, free: 10.1 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002989/1.191, allocations: 67.94 kB / 1.473 GB, free: 10.04 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.329e-05/1.191, allocations: 67.19 kB / 1.473 GB, free: 9.969 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01109/1.202, allocations: 3.397 MB / 1.476 GB, free: 6.566 MB / 1.201 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.01855/1.22, allocations: 9.082 MB / 1.485 GB, free: 13.04 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007699/1.228, allocations: 2.46 MB / 1.487 GB, free: 10.58 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004587/1.233, allocations: 1.516 MB / 1.489 GB, free: 9.062 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009791/1.242, allocations: 5.251 MB / 1.494 GB, free: 3.48 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004943/1.247, allocations: 1.706 MB / 1.495 GB, free: 1.742 MB / 1.217 GB Notification: Performance of pre-optimization done (n=149): time 4.739e-06/1.247, allocations: 0 / 1.495 GB, free: 1.742 MB / 1.217 GB Notification: Performance of matching and sorting (n=149): time 0.01976/1.267, allocations: 5.082 MB / 1.5 GB, free: 12.6 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.038e-05/1.267, allocations: 157.8 kB / 1.501 GB, free: 12.41 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003028/1.27, allocations: 1.674 MB / 1.502 GB, free: 10.74 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0003523/1.271, allocations: 57.7 kB / 1.502 GB, free: 10.68 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009135/1.272, allocations: 0.8347 MB / 1.503 GB, free: 9.832 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007451/1.272, allocations: 0.489 MB / 1.504 GB, free: 9.336 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001191/1.274, allocations: 435 kB / 1.504 GB, free: 8.906 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 9.611e-05/1.274, allocations: 309.1 kB / 1.504 GB, free: 8.602 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004815/1.279, allocations: 1.433 MB / 1.506 GB, free: 7.164 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00528/1.284, allocations: 1.769 MB / 1.507 GB, free: 5.281 MB / 1.232 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.01242/1.296, allocations: 3.666 MB / 1.511 GB, free: 1.488 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-05/1.296, allocations: 0 / 1.511 GB, free: 1.488 MB / 1.232 GB Notification: Performance of matching and sorting (n=237) (initialization): time 0.01517/1.312, allocations: 3.976 MB / 1.515 GB, free: 13.47 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001101/1.312, allocations: 71.39 kB / 1.515 GB, free: 13.39 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.447e-05/1.312, allocations: 4 kB / 1.515 GB, free: 13.39 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001425/1.313, allocations: 351.2 kB / 1.515 GB, free: 13.03 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004892/1.318, allocations: 0.7256 MB / 1.516 GB, free: 12.3 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007233/1.325, allocations: 6.26 MB / 1.522 GB, free: 5.582 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004495/1.33, allocations: 438 kB / 1.523 GB, free: 5.152 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005593/1.33, allocations: 103.9 kB / 1.523 GB, free: 5.051 MB / 1.248 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.006008/1.337, allocations: 1.831 MB / 1.524 GB, free: 3.215 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005165/1.342, allocations: 1.761 MB / 1.526 GB, free: 1.344 MB / 1.248 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.0118/1.354, allocations: 3.66 MB / 1.53 GB, free: 13.57 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.468e-06/1.354, allocations: 0 / 1.53 GB, free: 13.57 MB / 1.264 GB Notification: Performance of matching and sorting (n=237) (initialization_lambda0): time 0.01409/1.368, allocations: 3.976 MB / 1.534 GB, free: 9.555 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 7.545e-05/1.368, allocations: 75.33 kB / 1.534 GB, free: 9.469 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.551e-05/1.368, allocations: 8 kB / 1.534 GB, free: 9.461 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001299/1.369, allocations: 343.3 kB / 1.534 GB, free: 9.113 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004747/1.374, allocations: 0.7255 MB / 1.535 GB, free: 8.387 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007469/1.381, allocations: 6.267 MB / 1.541 GB, free: 1.648 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004767/1.386, allocations: 406.5 kB / 1.541 GB, free: 1.25 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006643/1.387, allocations: 95.92 kB / 1.541 GB, free: 1.156 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.001348/1.388, allocations: 369 kB / 1.542 GB, free: 0.7773 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001066/1.389, allocations: 201.6 kB / 1.542 GB, free: 0.5781 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01374/1.403, allocations: 3.771 MB / 1.546 GB, free: 12.77 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.575e-05/1.403, allocations: 11.91 kB / 1.546 GB, free: 12.76 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.972e-06/1.403, allocations: 0 / 1.546 GB, free: 12.76 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001638/1.405, allocations: 0.5918 MB / 1.546 GB, free: 12.14 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007437/1.406, allocations: 39.94 kB / 1.546 GB, free: 12.11 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003525/1.409, allocations: 300.1 kB / 1.546 GB, free: 11.81 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003015/1.409, allocations: 93.17 kB / 1.547 GB, free: 11.72 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0137/1.423, allocations: 3.64 MB / 1.55 GB, free: 8.031 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01476/1.438, allocations: 4.951 MB / 1.555 GB, free: 3.047 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004327/1.442, allocations: 1.466 MB / 1.556 GB, free: 1.578 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.002208/1.444, allocations: 1.139 MB / 1.557 GB, free: 460 kB / 1.279 GB Notification: Performance of Backend: time 6.91e-07/1.444, allocations: 0 / 1.557 GB, free: 460 kB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.6512/2.096, allocations: 5.855 MB / 1.563 GB, free: 382.7 MB / 1.279 GB Notification: Performance of SimCode: time 0.008474/2.104, allocations: 4.286 MB / 1.567 GB, free: 380.5 MB / 1.279 GB Notification: Performance of Templates: time 0.09712/2.201, allocations: 74.2 MB / 1.64 GB, free: 315.3 MB / 1.279 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.makefile (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.sim & ./Buildings_10_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.pipe 2>&1)