Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001658, allocations: 110.4 kB / 16.42 MB, free: 6.508 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.001853/0.001853, allocations: 185.5 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.332/1.332, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.221/2.221, allocations: 390.3 MB / 0.6655 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001385, allocations: 63.91 kB / 0.9516 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8495/0.8509, allocations: 140.4 MB / 1.089 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow): time 0.2746/1.126, allocations: 250.9 MB / 1.334 GB, free: 2.504 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02668/1.152, allocations: 19.26 MB / 1.353 GB, free: 15.19 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00331/1.156, allocations: 75.62 kB / 1.353 GB, free: 15.12 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.003058/1.159, allocations: 1.215 MB / 1.354 GB, free: 13.89 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.01055/1.169, allocations: 4.204 MB / 1.358 GB, free: 9.672 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.006091/1.175, allocations: 2.45 MB / 1.36 GB, free: 7.238 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.007338/1.183, allocations: 5.365 MB / 1.366 GB, free: 1.859 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002784/1.186, allocations: 1.921 MB / 1.367 GB, free: 15.9 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005716/1.191, allocations: 2.436 MB / 1.37 GB, free: 13.48 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00318/1.195, allocations: 1.708 MB / 1.371 GB, free: 11.77 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0008294/1.195, allocations: 276 kB / 1.372 GB, free: 11.5 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01142/1.207, allocations: 4.491 MB / 1.376 GB, free: 7.004 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0009929/1.208, allocations: 0.7203 MB / 1.377 GB, free: 6.281 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.001959/1.21, allocations: 1.404 MB / 1.378 GB, free: 4.871 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.009012/1.219, allocations: 5.376 MB / 1.383 GB, free: 15.48 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/1.219, allocations: 0 / 1.383 GB, free: 15.48 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.563e-06/1.219, allocations: 0 / 1.383 GB, free: 15.48 MB / 1.123 GB Notification: Performance of Transformations before backend: time 4.63e-05/1.219, allocations: 0 / 1.383 GB, free: 15.48 MB / 1.123 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.006706/1.226, allocations: 3.291 MB / 1.387 GB, free: 12.1 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/1.226, allocations: 8.031 kB / 1.387 GB, free: 12.09 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01563/1.241, allocations: 2.139 MB / 1.389 GB, free: 9.949 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004211/1.246, allocations: 1.921 MB / 1.391 GB, free: 7.977 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001148/1.246, allocations: 131.2 kB / 1.391 GB, free: 7.848 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003555/1.246, allocations: 176 kB / 1.391 GB, free: 7.676 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007157/1.253, allocations: 2.864 MB / 1.394 GB, free: 4.77 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.127e-05/1.253, allocations: 0 / 1.394 GB, free: 4.77 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002273/1.253, allocations: 72 kB / 1.394 GB, free: 4.699 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.057e-05/1.254, allocations: 63.19 kB / 1.394 GB, free: 4.637 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01028/1.264, allocations: 3.409 MB / 1.397 GB, free: 1.223 MB / 1.123 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.01624/1.28, allocations: 9.074 MB / 1.406 GB, free: 7.699 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007489/1.288, allocations: 2.475 MB / 1.408 GB, free: 5.219 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004428/1.292, allocations: 1.532 MB / 1.41 GB, free: 3.688 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009579/1.302, allocations: 5.252 MB / 1.415 GB, free: 14.11 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004866/1.307, allocations: 1.71 MB / 1.417 GB, free: 12.36 MB / 1.154 GB Notification: Performance of pre-optimization done (n=150): time 4.809e-06/1.307, allocations: 0 / 1.417 GB, free: 12.36 MB / 1.154 GB Notification: Performance of matching and sorting (n=150): time 0.01874/1.325, allocations: 5.093 MB / 1.422 GB, free: 7.207 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.464e-05/1.325, allocations: 149.8 kB / 1.422 GB, free: 7.031 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003024/1.328, allocations: 1.665 MB / 1.423 GB, free: 5.367 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0002604/1.329, allocations: 61.7 kB / 1.424 GB, free: 5.301 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008138/1.33, allocations: 0.8346 MB / 1.424 GB, free: 4.453 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005973/1.33, allocations: 0.489 MB / 1.425 GB, free: 3.957 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001001/1.331, allocations: 431 kB / 1.425 GB, free: 3.527 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 9.071e-05/1.331, allocations: 301.1 kB / 1.426 GB, free: 3.23 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004613/1.336, allocations: 1.43 MB / 1.427 GB, free: 1.797 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004921/1.341, allocations: 1.76 MB / 1.429 GB, free: 15.93 MB / 1.17 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.01129/1.352, allocations: 3.671 MB / 1.432 GB, free: 12.13 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.662e-05/1.352, allocations: 4 kB / 1.432 GB, free: 12.12 MB / 1.17 GB Notification: Performance of matching and sorting (n=234) (initialization): time 0.01344/1.366, allocations: 3.956 MB / 1.436 GB, free: 8.141 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 7.822e-05/1.366, allocations: 76.94 kB / 1.436 GB, free: 8.055 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.039e-05/1.366, allocations: 7.938 kB / 1.436 GB, free: 8.047 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001341/1.367, allocations: 347.3 kB / 1.436 GB, free: 7.695 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004499/1.372, allocations: 0.7294 MB / 1.437 GB, free: 6.965 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00718/1.379, allocations: 6.263 MB / 1.443 GB, free: 244 kB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004407/1.383, allocations: 444.6 kB / 1.444 GB, free: 15.8 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005409/1.384, allocations: 99.91 kB / 1.444 GB, free: 15.71 MB / 1.186 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.005958/1.39, allocations: 1.831 MB / 1.446 GB, free: 13.87 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005234/1.395, allocations: 1.752 MB / 1.447 GB, free: 12.01 MB / 1.186 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.407, allocations: 3.652 MB / 1.451 GB, free: 8.238 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.737e-05/1.407, allocations: 0 / 1.451 GB, free: 8.238 MB / 1.186 GB Notification: Performance of matching and sorting (n=234) (initialization_lambda0): time 0.01601/1.423, allocations: 3.953 MB / 1.455 GB, free: 4.246 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 0.000103/1.423, allocations: 77.83 kB / 1.455 GB, free: 4.16 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.888e-05/1.423, allocations: 4.188 kB / 1.455 GB, free: 4.156 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001296/1.424, allocations: 351.1 kB / 1.455 GB, free: 3.801 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004617/1.429, allocations: 0.7333 MB / 1.456 GB, free: 3.066 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007034/1.436, allocations: 6.257 MB / 1.462 GB, free: 12.34 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004247/1.44, allocations: 398.5 kB / 1.462 GB, free: 11.95 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004919/1.441, allocations: 95.92 kB / 1.462 GB, free: 11.85 MB / 1.201 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: 27 * Number of states: 0 () * Number of discrete variables: 18 (hex.UAFroRated.isFulWet,hex.UAFroRated.isFulDry,hex.flowRegime_nominal,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 (212): * Single equations (assignments): 203 * 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.0009854/1.442, allocations: 363.2 kB / 1.463 GB, free: 11.48 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000892/1.443, allocations: 197.6 kB / 1.463 GB, free: 11.28 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01319/1.456, allocations: 3.795 MB / 1.467 GB, free: 7.449 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.319e-05/1.456, allocations: 7.969 kB / 1.467 GB, free: 7.441 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/1.456, allocations: 0 / 1.467 GB, free: 7.441 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001501/1.458, allocations: 0.5918 MB / 1.467 GB, free: 6.828 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006273/1.458, allocations: 32 kB / 1.467 GB, free: 6.797 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003161/1.461, allocations: 279.7 kB / 1.468 GB, free: 6.523 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002385/1.462, allocations: 97.11 kB / 1.468 GB, free: 6.43 MB / 1.201 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0128/1.474, allocations: 3.648 MB / 1.471 GB, free: 2.723 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01387/1.488, allocations: 4.967 MB / 1.476 GB, free: 13.72 MB / 1.217 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004289/1.493, allocations: 1.474 MB / 1.478 GB, free: 12.25 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.002665/1.495, allocations: 1.134 MB / 1.479 GB, free: 11.12 MB / 1.217 GB Notification: Performance of Backend: time 9.32e-07/1.495, allocations: 0 / 1.479 GB, free: 11.12 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.01878/1.514, allocations: 5.86 MB / 1.484 GB, free: 5.172 MB / 1.217 GB Notification: Performance of SimCode: time 0.00917/1.523, allocations: 4.269 MB / 1.489 GB, free: 0.8281 MB / 1.217 GB Notification: Performance of Templates: time 0.1135/1.637, allocations: 74.06 MB / 1.561 GB, free: 7.188 MB / 1.295 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.pipe 2>&1)