Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow") translateModel(Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.593/1.593, allocations: 287.4 MB / 303.2 MB, free: 8.188 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009595/0.0009597, allocations: 170.1 kB / 371.8 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.62/1.62, allocations: 205.4 MB / 0.6304 GB, free: 10.55 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008546/0.0008547, allocations: 93.17 kB / 0.7438 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004412/0.0004413, allocations: 12.55 kB / 0.8667 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2062/0.2066, allocations: 115.3 MB / 0.9793 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow): time 0.7242/0.9308, allocations: 229.1 MB / 1.203 GB, free: 0.9492 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.02884/0.9597, allocations: 17.92 MB / 1.22 GB, free: 2.402 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004007/0.9638, allocations: 65.75 kB / 1.221 GB, free: 2.375 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.003451/0.9673, allocations: 0.7775 MB / 1.221 GB, free: 1.727 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.01056/0.9779, allocations: 2.928 MB / 1.224 GB, free: 15.44 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.006276/0.9842, allocations: 1.737 MB / 1.226 GB, free: 14.23 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.008223/0.9924, allocations: 5.711 MB / 1.231 GB, free: 9.738 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003336/0.9958, allocations: 1.511 MB / 1.233 GB, free: 8.199 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005075/1.001, allocations: 1.863 MB / 1.235 GB, free: 6.328 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003252/1.004, allocations: 1.486 MB / 1.236 GB, free: 4.836 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0008708/1.005, allocations: 92 kB / 1.236 GB, free: 4.746 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008036/1.013, allocations: 2.998 MB / 1.239 GB, free: 1.742 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.001157/1.014, allocations: 0.5057 MB / 1.24 GB, free: 1.234 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.001401/1.016, allocations: 0.5238 MB / 1.24 GB, free: 0.7031 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.006793/1.023, allocations: 3.761 MB / 1.244 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/1.023, allocations: 0 / 1.244 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.174e-06/1.023, allocations: 0 / 1.244 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0001467/1.023, allocations: 4 kB / 1.244 GB, free: 12.93 MB / 0.7761 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.007532/1.03, allocations: 2.797 MB / 1.247 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/1.03, allocations: 8.031 kB / 1.247 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01492/1.045, allocations: 2.268 MB / 1.249 GB, free: 7.766 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005044/1.05, allocations: 1.87 MB / 1.251 GB, free: 5.844 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007547/1.051, allocations: 271.5 kB / 1.251 GB, free: 5.578 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007697/1.052, allocations: 176 kB / 1.251 GB, free: 5.406 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008791/1.061, allocations: 2.903 MB / 1.254 GB, free: 2.461 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.398e-05/1.061, allocations: 7.875 kB / 1.254 GB, free: 2.453 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004141/1.061, allocations: 68 kB / 1.254 GB, free: 2.387 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.281e-05/1.061, allocations: 67.19 kB / 1.254 GB, free: 2.32 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01105/1.072, allocations: 3.495 MB / 1.257 GB, free: 14.82 MB / 0.7917 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.01788/1.09, allocations: 9.137 MB / 1.266 GB, free: 5.234 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00765/1.098, allocations: 2.577 MB / 1.269 GB, free: 2.652 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004496/1.103, allocations: 1.571 MB / 1.27 GB, free: 1.082 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009989/1.113, allocations: 5.287 MB / 1.276 GB, free: 11.47 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004773/1.117, allocations: 1.772 MB / 1.277 GB, free: 9.664 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=150): time 5.179e-06/1.118, allocations: 0 / 1.277 GB, free: 9.664 MB / 0.8073 GB Notification: Performance of matching and sorting (n=150): time 0.01613/1.134, allocations: 4.768 MB / 1.282 GB, free: 4.855 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.579e-05/1.134, allocations: 149.8 kB / 1.282 GB, free: 4.68 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003345/1.137, allocations: 1.637 MB / 1.284 GB, free: 3.043 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0004082/1.138, allocations: 61.62 kB / 1.284 GB, free: 2.977 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009671/1.139, allocations: 0.8346 MB / 1.285 GB, free: 2.129 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007605/1.139, allocations: 0.489 MB / 1.285 GB, free: 1.633 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002809/1.14, allocations: 36 kB / 1.285 GB, free: 1.598 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0002022/1.14, allocations: 373.9 kB / 1.285 GB, free: 1.227 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004782/1.145, allocations: 1.464 MB / 1.287 GB, free: 15.76 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005026/1.15, allocations: 1.815 MB / 1.289 GB, free: 13.84 MB / 0.823 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.0112/1.161, allocations: 3.686 MB / 1.292 GB, free: 10.03 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.735e-05/1.161, allocations: 4 kB / 1.292 GB, free: 10.02 MB / 0.823 GB Notification: Performance of matching and sorting (n=234) (initialization): time 0.0125/1.173, allocations: 3.839 MB / 1.296 GB, free: 6.156 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002542/1.174, allocations: 343.7 kB / 1.296 GB, free: 5.719 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.911e-05/1.174, allocations: 8 kB / 1.296 GB, free: 5.711 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008322/1.175, allocations: 194.4 kB / 1.297 GB, free: 5.512 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00473/1.179, allocations: 0.7997 MB / 1.297 GB, free: 4.711 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003512/1.183, allocations: 3.899 MB / 1.301 GB, free: 0.4922 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004404/1.187, allocations: 0.5098 MB / 1.302 GB, free: 15.98 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004956/1.188, allocations: 95.92 kB / 1.302 GB, free: 15.89 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.032e-05/1.188, allocations: 8 kB / 1.302 GB, free: 15.88 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01217/1.2, allocations: 3.714 MB / 1.305 GB, free: 12.14 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.999e-05/1.2, allocations: 8 kB / 1.305 GB, free: 12.13 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008118/1.201, allocations: 194.6 kB / 1.306 GB, free: 11.93 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005037/1.206, allocations: 0.7997 MB / 1.306 GB, free: 11.13 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003785/1.21, allocations: 3.893 MB / 1.31 GB, free: 6.926 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004352/1.214, allocations: 0.49 MB / 1.311 GB, free: 6.434 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006472/1.215, allocations: 99.91 kB / 1.311 GB, free: 6.336 MB / 0.8386 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: hex.UAFroRated.TWatIn = 293.15 hex.UAFroRated.hAirIn = 45300.945. 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.isFulDry,hex.UAFroRated.isFulWet,hex.flowRegime_nominal,$whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,$PRE.mWatGai.nextEvent,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,$PRE.mAirGai.nextEvent,mAirGai.nextEvent,mAirGai.nextEventScaled,hex.flowRegime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (216): * Single equations (assignments): 208 * Array equations: 2 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 1,1 3,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.002119/1.217, allocations: 0.6413 MB / 1.311 GB, free: 5.672 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000899/1.218, allocations: 205.5 kB / 1.312 GB, free: 5.469 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01316/1.231, allocations: 3.683 MB / 1.315 GB, free: 1.75 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.871e-05/1.231, allocations: 7.969 kB / 1.315 GB, free: 1.742 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/1.231, allocations: 4 kB / 1.315 GB, free: 1.738 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001736/1.233, allocations: 0.6306 MB / 1.316 GB, free: 1.086 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007363/1.234, allocations: 31.94 kB / 1.316 GB, free: 1.055 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003422/1.237, allocations: 367.5 kB / 1.316 GB, free: 0.6953 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002809/1.237, allocations: 89.17 kB / 1.316 GB, free: 0.6094 MB / 0.8386 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01301/1.25, allocations: 3.694 MB / 1.32 GB, free: 12.86 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01482/1.265, allocations: 5.131 MB / 1.325 GB, free: 7.695 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004306/1.27, allocations: 1.533 MB / 1.326 GB, free: 6.164 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.002134/1.272, allocations: 1.107 MB / 1.327 GB, free: 5.066 MB / 0.8542 GB Notification: Performance of Backend: time 5.41e-07/1.272, allocations: 4 kB / 1.327 GB, free: 5.062 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01864/1.291, allocations: 5.58 MB / 1.333 GB, free: 15.41 MB / 0.8698 GB Notification: Performance of SimCode: time 0.009857/1.3, allocations: 4.997 MB / 1.338 GB, free: 10.34 MB / 0.8698 GB Notification: Performance of Templates: time 0.1087/1.409, allocations: 68.11 MB / 1.404 GB, free: 6.508 MB / 0.9323 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.pipe 2>&1)