Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.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_11_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_11_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.001678/0.001678, allocations: 117.9 kB / 16.81 MB, free: 5.758 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.001745/0.001745, allocations: 192.7 kB / 17.77 MB, free: 5.133 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.505/1.505, allocations: 225.6 MB / 244.2 MB, free: 13.89 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.884/2.884, allocations: 476.7 MB / 0.7556 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 64.22 kB / 1.097 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.333/0.3349, allocations: 168.7 MB / 1.262 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 1.307/1.642, allocations: 371.5 MB / 1.625 GB, free: 27.96 MB / 1.264 GB Notification: Performance of NFInst.instExpressions: time 0.04762/1.69, allocations: 33.44 MB / 1.658 GB, free: 27.42 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009033/1.699, allocations: 154.3 kB / 1.658 GB, free: 27.42 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.007326/1.706, allocations: 2.454 MB / 1.66 GB, free: 27.38 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.02324/1.729, allocations: 7.843 MB / 1.668 GB, free: 27.05 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.01255/1.742, allocations: 4.649 MB / 1.672 GB, free: 26.86 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.01828/1.76, allocations: 11.1 MB / 1.683 GB, free: 25.48 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006364/1.767, allocations: 3.291 MB / 1.686 GB, free: 23.92 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01671/1.783, allocations: 5.594 MB / 1.692 GB, free: 22.1 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008435/1.792, allocations: 3.598 MB / 1.695 GB, free: 20.82 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.002236/1.794, allocations: 0.55 MB / 1.696 GB, free: 20.82 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01871/1.813, allocations: 7.115 MB / 1.703 GB, free: 19.4 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.00322/1.816, allocations: 1.507 MB / 1.704 GB, free: 18.56 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.007697/1.824, allocations: 2.841 MB / 1.707 GB, free: 16.86 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.02251/1.846, allocations: 9.817 MB / 1.717 GB, free: 11.2 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/1.846, allocations: 3.938 kB / 1.717 GB, free: 11.2 MB / 1.264 GB Notification: Performance of FrontEnd: time 2.736e-06/1.846, allocations: 0 / 1.717 GB, free: 11.2 MB / 1.264 GB Notification: Performance of Transformations before backend: time 0.0002621/1.846, allocations: 0 / 1.717 GB, free: 11.2 MB / 1.264 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.02046/1.867, allocations: 6.117 MB / 1.723 GB, free: 6.914 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 8.599e-05/1.867, allocations: 7.312 kB / 1.723 GB, free: 6.914 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03046/1.897, allocations: 4.321 MB / 1.727 GB, free: 5.109 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01073/1.908, allocations: 3.733 MB / 1.73 GB, free: 2.434 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004964/1.909, allocations: 306.8 kB / 1.731 GB, free: 2.277 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001906/1.911, allocations: 361.8 kB / 1.731 GB, free: 2.16 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01673/1.927, allocations: 5.69 MB / 1.737 GB, free: 13.27 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.519e-05/1.927, allocations: 15.12 kB / 1.737 GB, free: 13.26 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005068/1.928, allocations: 138.9 kB / 1.737 GB, free: 13.12 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001379/1.928, allocations: 134.5 kB / 1.737 GB, free: 12.99 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02282/1.951, allocations: 6.79 MB / 1.744 GB, free: 6.207 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.04914/2, allocations: 22.21 MB / 1.765 GB, free: 15.22 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01179/2.012, allocations: 3.853 MB / 1.769 GB, free: 11.38 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006943/2.019, allocations: 2.148 MB / 1.771 GB, free: 9.234 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01714/2.036, allocations: 8.169 MB / 1.779 GB, free: 0.7617 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007879/2.044, allocations: 2.499 MB / 1.782 GB, free: 14.25 MB / 1.326 GB Notification: Performance of pre-optimization done (n=228): time 6.702e-06/2.044, allocations: 0 / 1.782 GB, free: 14.25 MB / 1.326 GB Notification: Performance of matching and sorting (n=228): time 0.03566/2.079, allocations: 8.426 MB / 1.79 GB, free: 5.699 MB / 1.326 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.31e-05/2.079, allocations: 128.8 kB / 1.79 GB, free: 5.551 MB / 1.326 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01072/2.09, allocations: 4.321 MB / 1.794 GB, free: 1.215 MB / 1.326 GB Notification: Performance of collectPreVariables (initialization): time 0.0008825/2.091, allocations: 76.36 kB / 1.794 GB, free: 1.137 MB / 1.326 GB Notification: Performance of collectInitialEqns (initialization): time 0.002442/2.094, allocations: 1.853 MB / 1.796 GB, free: 15.28 MB / 1.342 GB Notification: Performance of collectInitialBindings (initialization): time 0.001732/2.095, allocations: 0.8304 MB / 1.797 GB, free: 14.46 MB / 1.342 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003731/2.099, allocations: 0.8267 MB / 1.798 GB, free: 13.63 MB / 1.342 GB Notification: Performance of setup shared object (initialization): time 0.0001407/2.099, allocations: 312.9 kB / 1.798 GB, free: 13.32 MB / 1.342 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009858/2.109, allocations: 2.716 MB / 1.801 GB, free: 10.61 MB / 1.342 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01079/2.12, allocations: 3.442 MB / 1.804 GB, free: 6.922 MB / 1.342 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.02014/2.14, allocations: 5.94 MB / 1.81 GB, free: 0.8047 MB / 1.342 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.987e-05/2.14, allocations: 4 kB / 1.81 GB, free: 0.8008 MB / 1.342 GB Notification: Performance of matching and sorting (n=454) (initialization): time 0.02972/2.17, allocations: 7.58 MB / 1.817 GB, free: 9.258 MB / 1.357 GB Notification: Performance of prepare postOptimizeDAE: time 4.155e-05/2.17, allocations: 12 kB / 1.817 GB, free: 9.246 MB / 1.357 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-05/2.17, allocations: 19.98 kB / 1.817 GB, free: 9.227 MB / 1.357 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00418/2.174, allocations: 0.9725 MB / 1.818 GB, free: 8.234 MB / 1.357 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008948/2.183, allocations: 1.4 MB / 1.819 GB, free: 6.879 MB / 1.357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01918/2.202, allocations: 14.49 MB / 1.834 GB, free: 7.387 MB / 1.373 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01094/2.213, allocations: 1.194 MB / 1.835 GB, free: 6.191 MB / 1.373 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001104/2.214, allocations: 183.8 kB / 1.835 GB, free: 6.012 MB / 1.373 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.003237/2.217, allocations: 0.8627 MB / 1.836 GB, free: 5.184 MB / 1.373 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002123/2.219, allocations: 445.1 kB / 1.836 GB, free: 4.746 MB / 1.373 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02261/2.242, allocations: 5.77 MB / 1.842 GB, free: 14.96 MB / 1.389 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.337e-05/2.242, allocations: 11.95 kB / 1.842 GB, free: 14.95 MB / 1.389 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.224e-06/2.242, allocations: 0 / 1.842 GB, free: 14.95 MB / 1.389 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003344/2.245, allocations: 1.079 MB / 1.843 GB, free: 13.84 MB / 1.389 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001802/2.247, allocations: 39.94 kB / 1.843 GB, free: 13.8 MB / 1.389 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006972/2.254, allocations: 0.5432 MB / 1.843 GB, free: 13.26 MB / 1.389 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005388/2.255, allocations: 157.8 kB / 1.844 GB, free: 13.11 MB / 1.389 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02261/2.277, allocations: 5.267 MB / 1.849 GB, free: 7.859 MB / 1.389 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02478/2.302, allocations: 7.334 MB / 1.856 GB, free: 0.5 MB / 1.389 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006864/2.309, allocations: 2.02 MB / 1.858 GB, free: 14.48 MB / 1.404 GB Notification: Performance of sorting global known variables: time 0.008006/2.317, allocations: 2.971 MB / 1.861 GB, free: 11.51 MB / 1.404 GB Notification: Performance of Backend: time 5.51e-07/2.317, allocations: 4 kB / 1.861 GB, free: 11.51 MB / 1.404 GB Notification: Performance of simCode: created initialization part: time 0.02742/2.344, allocations: 6.284 MB / 1.867 GB, free: 5.559 MB / 1.404 GB Notification: Performance of SimCode: time 0.02205/2.367, allocations: 8.809 MB / 1.876 GB, free: 12.75 MB / 1.42 GB Notification: Performance of Templates: time 0.216/2.583, allocations: 120.2 MB / 1.993 GB, free: 5.477 MB / 1.529 GB make -j1 -f Buildings_11_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.makefile (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.sim & ./Buildings_11_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe 2>&1)