Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.Validation.WetCoilEffectivenessNTU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hexWetNTU.Q1_flow|hexWetNTU_TX.Q1_flow|hexWetNTU.sta_b2.T|hexWetNTU_TX.sta_b2.T|relHumOut_eps.phi|hexWetNTU.SHR|hexWetNTU.dryFra|hexWetNTU.UA_nominal|hexWetNTU_TX.UA_nominal",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU") translateModel(Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hexWetNTU.Q1_flow|hexWetNTU_TX.Q1_flow|hexWetNTU.sta_b2.T|hexWetNTU_TX.sta_b2.T|relHumOut_eps.phi|hexWetNTU.SHR|hexWetNTU.dryFra|hexWetNTU.UA_nominal|hexWetNTU_TX.UA_nominal",fileNamePrefix="Buildings_latest_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.001101/0.001101, allocations: 118.6 kB / 16.42 MB, free: 6.5 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.001035/0.001035, allocations: 187.9 kB / 17.35 MB, free: 5.762 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.418/1.418, 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 11.0.1-master/package.mo): time 2.669/2.669, allocations: 469.4 MB / 0.7428 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002533/0.002533, allocations: 64.12 kB / 1.066 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8786/0.8812, allocations: 159.1 MB / 1.221 GB, free: 2.344 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 1.287/2.168, allocations: 369.8 MB / 1.582 GB, free: 35.38 MB / 1.279 GB Notification: Performance of NFInst.instExpressions: time 0.04654/2.215, allocations: 33.34 MB / 1.615 GB, free: 35.17 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009017/2.224, allocations: 156.2 kB / 1.615 GB, free: 35.17 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.007528/2.231, allocations: 2.441 MB / 1.617 GB, free: 35.13 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.02196/2.253, allocations: 7.841 MB / 1.625 GB, free: 34.89 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.01238/2.266, allocations: 4.606 MB / 1.629 GB, free: 34.77 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.01786/2.284, allocations: 11.12 MB / 1.64 GB, free: 34.74 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009507/2.293, allocations: 3.978 MB / 1.644 GB, free: 34.27 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01758/2.311, allocations: 5.571 MB / 1.649 GB, free: 34.18 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008844/2.32, allocations: 3.461 MB / 1.653 GB, free: 33.77 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.00299/2.323, allocations: 0.5492 MB / 1.653 GB, free: 33.77 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02573/2.348, allocations: 6.814 MB / 1.66 GB, free: 33.69 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.003776/2.352, allocations: 1.478 MB / 1.661 GB, free: 33.5 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.008835/2.361, allocations: 2.843 MB / 1.664 GB, free: 32.77 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.02629/2.387, allocations: 9.777 MB / 1.674 GB, free: 31.62 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 8.326e-06/2.387, allocations: 2.766 kB / 1.674 GB, free: 31.62 MB / 1.279 GB Notification: Performance of FrontEnd: time 1.913e-06/2.387, allocations: 2.625 kB / 1.674 GB, free: 31.62 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.0003288/2.388, allocations: 0 / 1.674 GB, free: 31.62 MB / 1.279 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 851 * Number of variables: 851 Notification: Performance of Generate backend data structure: time 0.02543/2.413, allocations: 5.946 MB / 1.68 GB, free: 29.06 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 6.498e-05/2.413, allocations: 7.906 kB / 1.68 GB, free: 29.06 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03132/2.445, allocations: 4.295 MB / 1.684 GB, free: 28.62 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01074/2.455, allocations: 3.695 MB / 1.687 GB, free: 27.85 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004674/2.456, allocations: 316.7 kB / 1.688 GB, free: 27.8 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001965/2.458, allocations: 356.4 kB / 1.688 GB, free: 27.8 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01706/2.475, allocations: 5.692 MB / 1.694 GB, free: 25.12 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.881e-05/2.475, allocations: 2.344 kB / 1.694 GB, free: 25.12 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005073/2.476, allocations: 145 kB / 1.694 GB, free: 25.02 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001083/2.476, allocations: 134.2 kB / 1.694 GB, free: 25 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02118/2.497, allocations: 6.788 MB / 1.7 GB, free: 21.7 MB / 1.279 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.04318/2.54, allocations: 22.18 MB / 1.722 GB, free: 3.527 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01079/2.551, allocations: 4.031 MB / 1.726 GB, free: 15.52 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006902/2.558, allocations: 2.264 MB / 1.728 GB, free: 13.26 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01597/2.574, allocations: 8.158 MB / 1.736 GB, free: 4.809 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007484/2.581, allocations: 2.499 MB / 1.739 GB, free: 2.293 MB / 1.295 GB Notification: Performance of pre-optimization done (n=228): time 5.33e-06/2.581, allocations: 0 / 1.739 GB, free: 2.293 MB / 1.295 GB Notification: Performance of matching and sorting (n=228): time 0.03498/2.616, allocations: 8.411 MB / 1.747 GB, free: 9.762 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.158e-05/2.617, allocations: 128.8 kB / 1.747 GB, free: 9.613 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01105/2.628, allocations: 4.314 MB / 1.751 GB, free: 5.281 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 0.001008/2.629, allocations: 77.7 kB / 1.751 GB, free: 5.199 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.002147/2.631, allocations: 1.821 MB / 1.753 GB, free: 3.379 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 0.001524/2.632, allocations: 0.7935 MB / 1.754 GB, free: 2.59 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003076/2.635, allocations: 0.8262 MB / 1.755 GB, free: 1.758 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 8.466e-05/2.636, allocations: 301.1 kB / 1.755 GB, free: 1.461 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00934/2.645, allocations: 2.72 MB / 1.758 GB, free: 14.74 MB / 1.326 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01038/2.655, allocations: 3.442 MB / 1.761 GB, free: 11.07 MB / 1.326 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.02036/2.676, allocations: 5.93 MB / 1.767 GB, free: 4.953 MB / 1.326 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.665e-05/2.676, allocations: 8 kB / 1.767 GB, free: 4.945 MB / 1.326 GB Notification: Performance of matching and sorting (n=454) (initialization): time 0.03222/2.708, allocations: 7.575 MB / 1.774 GB, free: 13.41 MB / 1.342 GB Notification: Performance of prepare postOptimizeDAE: time 4.658e-05/2.708, allocations: 12 kB / 1.774 GB, free: 13.4 MB / 1.342 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.05e-05/2.708, allocations: 16 kB / 1.774 GB, free: 13.38 MB / 1.342 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004315/2.712, allocations: 0.9745 MB / 1.775 GB, free: 12.39 MB / 1.342 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009654/2.722, allocations: 1.399 MB / 1.777 GB, free: 11.03 MB / 1.342 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01808/2.74, allocations: 14.47 MB / 1.791 GB, free: 11.55 MB / 1.357 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01262/2.753, allocations: 1.183 MB / 1.792 GB, free: 10.37 MB / 1.357 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001971/2.755, allocations: 179.8 kB / 1.792 GB, free: 10.19 MB / 1.357 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: hexWetNTU.UAFroRated.TAirIn = 293.15 hexWetNTU.UAFroRated.TWatIn = 293.15. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 19 (hexWetNTU.UAFroRated.isFulWet,hexWetNTU.UAFroRated.isFulDry,$PRE.w_a2.nextTimeEvent,$whenCondition1,hexWetNTU.flowRegime_nominal,hexWetNTU.dryWetCalcs.fullyDry.cfg,hexWetNTU.dryWetCalcs.fullyWet.cfg,hexWetNTU.dryWetCalcs.cfg,hexWetNTU.flowRegime,hexWetNTU_TX.flowRegime_nominal,hexWetNTU_TX.dryWetCalcs.fullyDry.cfg,hexWetNTU_TX.dryWetCalcs.fullyWet.cfg,hexWetNTU_TX.dryWetCalcs.cfg,hexWetNTU_TX.flowRegime,hexWetNTU_TX.UAFroRated.isFulWet,hexWetNTU_TX.UAFroRated.isFulDry,w_a2.nextTimeEventScaled,$PRE.w_a2.nextTimeEventScaled,w_a2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (424): * Single equations (assignments): 409 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 9 * 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): 9 systems {(1,1), (1,3), (1,2), (1,2), (1,4), (1,2), (1,4), (1,2), (5,2)} Notification: Performance of prepare postOptimizeDAE: time 0.005415/2.76, allocations: 0.8733 MB / 1.793 GB, free: 9.355 MB / 1.357 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002583/2.763, allocations: 430.7 kB / 1.793 GB, free: 8.93 MB / 1.357 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02462/2.788, allocations: 5.773 MB / 1.799 GB, free: 3.148 MB / 1.357 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.827e-05/2.788, allocations: 11.95 kB / 1.799 GB, free: 3.137 MB / 1.357 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.586e-06/2.788, allocations: 0 / 1.799 GB, free: 3.137 MB / 1.357 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004155/2.792, allocations: 1.057 MB / 1.8 GB, free: 2.055 MB / 1.357 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002302/2.794, allocations: 40 kB / 1.8 GB, free: 2.016 MB / 1.357 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007729/2.802, allocations: 0.5354 MB / 1.801 GB, free: 1.48 MB / 1.357 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006928/2.803, allocations: 157.8 kB / 1.801 GB, free: 1.324 MB / 1.357 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02369/2.826, allocations: 5.267 MB / 1.806 GB, free: 12.07 MB / 1.373 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02534/2.852, allocations: 7.326 MB / 1.813 GB, free: 4.73 MB / 1.373 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.007452/2.859, allocations: 2.117 MB / 1.815 GB, free: 2.621 MB / 1.373 GB Notification: Performance of sorting global known variables: time 0.008988/2.868, allocations: 2.964 MB / 1.818 GB, free: 15.66 MB / 1.389 GB Notification: Performance of Backend: time 9.62e-07/2.868, allocations: 0 / 1.818 GB, free: 15.66 MB / 1.389 GB Notification: Performance of simCode: created initialization part: time 0.03138/2.9, allocations: 6.458 MB / 1.824 GB, free: 9.543 MB / 1.389 GB Notification: Performance of SimCode: time 0.02375/2.924, allocations: 8.681 MB / 1.833 GB, free: 0.8828 MB / 1.389 GB Notification: Performance of Templates: time 0.2006/3.124, allocations: 118.2 MB / 1.948 GB, free: 11.71 MB / 1.514 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe 2>&1)