Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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.Validation.WetCoilEffectivenessNTU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU") translateModel(Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001195/0.001195, allocations: 109.3 kB / 16.38 MB, free: 6.457 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.001134/0.001134, allocations: 186.7 kB / 17.31 MB, free: 5.812 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.39/1.39, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.784/1.784, allocations: 292.3 MB / 0.5496 GB, free: 17.5 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001437, allocations: 67.91 kB / 0.6729 GB, free: 5.805 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2089/0.2104, allocations: 114.6 MB / 0.7848 GB, free: 3.129 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 1.537/1.748, allocations: 490.1 MB / 1.263 GB, free: 49.35 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.06699/1.815, allocations: 47.39 MB / 1.31 GB, free: 41.55 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01308/1.828, allocations: 233.7 kB / 1.31 GB, free: 41.55 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.01122/1.839, allocations: 3.553 MB / 1.313 GB, free: 39.94 MB / 0.92 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.03554/1.875, allocations: 11.15 MB / 1.324 GB, free: 34.19 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.01759/1.893, allocations: 6.837 MB / 1.331 GB, free: 28.58 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.1614/2.054, allocations: 127.2 MB / 1.455 GB, free: 1.699 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.1061/2.16, allocations: 61.02 MB / 1.515 GB, free: 5.168 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 1.275/3.436, allocations: 43.24 MB / 1.557 GB, free: 60.91 MB / 1.108 GB Notification: Performance of NFSimplifyModel.simplify: time 0.07255/3.508, allocations: 37.02 MB / 1.593 GB, free: 59.12 MB / 1.108 GB Notification: Performance of NFPackage.collectConstants: time 0.02326/3.531, allocations: 6.145 MB / 1.599 GB, free: 59.12 MB / 1.108 GB Notification: Performance of NFFlatten.collectFunctions: time 0.06023/3.592, allocations: 15.68 MB / 1.614 GB, free: 59.12 MB / 1.108 GB Notification: Performance of NFScalarize.scalarize: time 0.03541/3.627, allocations: 16.45 MB / 1.63 GB, free: 57.38 MB / 1.108 GB Notification: Performance of NFVerifyModel.verify: time 0.06829/3.695, allocations: 30.33 MB / 1.66 GB, free: 50.41 MB / 1.108 GB Notification: Performance of NFConvertDAE.convert: time 0.1111/3.807, allocations: 95.79 MB / 1.754 GB, free: 20.64 MB / 1.108 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/3.807, allocations: 0.8125 kB / 1.754 GB, free: 20.64 MB / 1.108 GB Notification: Performance of FrontEnd: time 1.483e-06/3.807, allocations: 0 / 1.754 GB, free: 20.64 MB / 1.108 GB Notification: Performance of Transformations before backend: time 0.002859/3.809, allocations: 1.125 kB / 1.754 GB, free: 20.64 MB / 1.108 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8579 * Number of variables: 8579 Notification: Performance of Generate backend data structure: time 0.1806/3.99, allocations: 53.93 MB / 1.806 GB, free: 11.72 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 5.17e-05/3.99, allocations: 15.97 kB / 1.806 GB, free: 11.7 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0929/4.083, allocations: 13.36 MB / 1.819 GB, free: 14.33 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1129/4.196, allocations: 46.16 MB / 1.864 GB, free: 1.707 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00334/4.199, allocations: 2.585 MB / 1.867 GB, free: 15.14 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01708/4.217, allocations: 3.411 MB / 1.87 GB, free: 11.75 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1726/4.389, allocations: 52.98 MB / 1.922 GB, free: 5.887 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001891/4.391, allocations: 98.17 kB / 1.922 GB, free: 5.82 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01648/4.408, allocations: 1.368 MB / 1.923 GB, free: 4.473 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001964/4.41, allocations: 1.521 MB / 1.925 GB, free: 2.953 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1339/4.544, allocations: 48.14 MB / 1.972 GB, free: 3.035 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.454/5.998, allocations: 225.2 MB / 2.192 GB, free: 476 MB / 1.358 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06346/6.061, allocations: 29.62 MB / 2.221 GB, free: 462.6 MB / 1.358 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03955/6.101, allocations: 21.02 MB / 2.241 GB, free: 455.7 MB / 1.358 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1626/6.263, allocations: 62.99 MB / 2.303 GB, free: 417.1 MB / 1.358 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03972/6.303, allocations: 15.73 MB / 2.318 GB, free: 407.9 MB / 1.358 GB Notification: Performance of pre-optimization done (n=1799): time 2.886e-05/6.303, allocations: 0 / 2.318 GB, free: 407.9 MB / 1.358 GB Notification: Performance of matching and sorting (n=1801): time 0.2086/6.512, allocations: 71.8 MB / 2.388 GB, free: 338.4 MB / 1.358 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003673/6.512, allocations: 1.762 MB / 2.39 GB, free: 336.3 MB / 1.358 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.07732/6.59, allocations: 39.14 MB / 2.428 GB, free: 297.4 MB / 1.358 GB Notification: Performance of collectPreVariables (initialization): time 0.005404/6.595, allocations: 459.7 kB / 2.429 GB, free: 296.9 MB / 1.358 GB Notification: Performance of collectInitialEqns (initialization): time 0.0229/6.618, allocations: 19.86 MB / 2.448 GB, free: 277.1 MB / 1.358 GB Notification: Performance of collectInitialBindings (initialization): time 0.008915/6.627, allocations: 6.418 MB / 2.454 GB, free: 270.7 MB / 1.358 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0206/6.648, allocations: 5.334 MB / 2.46 GB, free: 265.3 MB / 1.358 GB Notification: Performance of setup shared object (initialization): time 4.114e-05/6.648, allocations: 301.1 kB / 2.46 GB, free: 265 MB / 1.358 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02921/6.677, allocations: 14.62 MB / 2.474 GB, free: 250.4 MB / 1.358 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03674/6.714, allocations: 22.78 MB / 2.496 GB, free: 224.7 MB / 1.358 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. Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: hexDis.ele[1].vol2.dynBal.medium.p = hexDis.ele[1].vol2.dynBal.p_start (sinAir.p = hexDis.ele[1].vol2.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.2794/6.993, allocations: 95.22 MB / 2.589 GB, free: 127.8 MB / 1.358 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002332/6.993, allocations: 44 kB / 2.59 GB, free: 127.7 MB / 1.358 GB Notification: Performance of matching and sorting (n=3269) (initialization): time 0.09585/7.089, allocations: 40.43 MB / 2.629 GB, free: 87.24 MB / 1.358 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001897/7.089, allocations: 72 kB / 2.629 GB, free: 87.17 MB / 1.358 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002334/7.09, allocations: 160 kB / 2.629 GB, free: 87.02 MB / 1.358 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002801/7.092, allocations: 0.81 MB / 2.63 GB, free: 86.18 MB / 1.358 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03545/7.128, allocations: 6.763 MB / 2.637 GB, free: 79.41 MB / 1.358 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007837/7.136, allocations: 10.34 MB / 2.647 GB, free: 68.26 MB / 1.358 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04323/7.179, allocations: 2.848 MB / 2.649 GB, free: 65.43 MB / 1.358 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006987/7.186, allocations: 1.014 MB / 2.65 GB, free: 64.42 MB / 1.358 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: hexWetNTU.UAFroRated.TAirIn = 293.15 hexWetNTU.UAFroRated.TWatIn = 293.15 hexDis.ele[1].vol2.dynBal.medium.p = hexDis.ele[1].vol2.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 708 * Number of states: 0 () * Number of discrete variables: 13 (hexWetNTU.UAFroRated.isFulWet,hexWetNTU.UAFroRated.isFulDry,hexWetNTU.flowRegime_nominal,hexWetNTU_TX.flowRegime_nominal,$PRE.w_a2.nextTimeEvent,$whenCondition1,hexWetNTU_TX.UAFroRated.isFulWet,hexWetNTU_TX.UAFroRated.isFulDry,w_a2.nextTimeEventScaled,$PRE.w_a2.nextTimeEventScaled,w_a2.nextTimeEvent,hexWetNTU_TX.flowRegime,hexWetNTU.flowRegime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3217): * Single equations (assignments): 3174 * Array equations: 34 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 7 * 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): 2 systems {1, 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): 7 systems {(1,1), (1,3), (1,2), (1,2), (1,2), (1,2), (5,2)} Notification: Performance of prepare postOptimizeDAE: time 0.03602/7.222, allocations: 16.22 MB / 2.666 GB, free: 48.18 MB / 1.358 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01422/7.236, allocations: 3.435 MB / 2.67 GB, free: 44.7 MB / 1.358 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0887/7.325, allocations: 30.32 MB / 2.699 GB, free: 14.35 MB / 1.358 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.636/7.961, allocations: 24.5 MB / 2.723 GB, free: 0.5619 GB / 1.358 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001034/7.961, allocations: 3.281 kB / 2.723 GB, free: 0.5619 GB / 1.358 GB Notification: Performance of postOpt removeConstants (simulation): time 0.03118/7.992, allocations: 7.362 MB / 2.73 GB, free: 0.5618 GB / 1.358 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.02051/8.013, allocations: 427.6 kB / 2.731 GB, free: 0.5618 GB / 1.358 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.04223/8.055, allocations: 1.85 MB / 2.733 GB, free: 0.5618 GB / 1.358 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.008093/8.063, allocations: 0.9831 MB / 2.734 GB, free: 0.5617 GB / 1.358 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.1013/8.165, allocations: 30.65 MB / 2.764 GB, free: 0.5572 GB / 1.358 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.121/8.286, allocations: 47.86 MB / 2.81 GB, free: 0.5406 GB / 1.358 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.02679/8.313, allocations: 13.43 MB / 2.823 GB, free: 0.5358 GB / 1.358 GB Notification: Performance of sorting global known variables: time 0.06968/8.382, allocations: 27.73 MB / 2.85 GB, free: 0.5268 GB / 1.358 GB Notification: Performance of Backend: time 7.81e-07/8.382, allocations: 3.688 kB / 2.85 GB, free: 0.5268 GB / 1.358 GB Notification: Performance of simCode: created initialization part: time 0.1017/8.484, allocations: 23.85 MB / 2.874 GB, free: 0.5196 GB / 1.358 GB Notification: Performance of SimCode: time 0.2508/8.735, allocations: 101.7 MB / 2.973 GB, free: 433.5 MB / 1.358 GB Notification: Performance of Templates: time 1.517/10.25, allocations: 0.7861 GB / 3.759 GB, free: 221.6 MB / 1.358 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe 2>&1)