Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU") translateModel(IBPSA.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.00132/0.00132, allocations: 103.1 kB / 16.4 MB, free: 6.402 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.001319/0.001319, allocations: 193.2 kB / 17.34 MB, free: 5.699 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.244/1.244, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6743/0.6743, allocations: 115.3 MB / 406.5 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001157, allocations: 62.27 kB / 0.5577 GB, free: 32.25 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.118, allocations: 76.18 MB / 0.6321 GB, free: 4.43 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 0.6255/0.7435, allocations: 369.7 MB / 0.9931 GB, free: 10.25 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.04468/0.7883, allocations: 33.33 MB / 1.026 GB, free: 8.828 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005569/0.7939, allocations: 147.2 kB / 1.026 GB, free: 8.684 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.00586/0.7998, allocations: 2.356 MB / 1.028 GB, free: 6.312 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.01825/0.8181, allocations: 7.512 MB / 1.035 GB, free: 14.77 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.01044/0.8286, allocations: 4.584 MB / 1.04 GB, free: 10.22 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.411/1.24, allocations: 11.08 MB / 1.051 GB, free: 52.19 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006476/1.246, allocations: 3.981 MB / 1.055 GB, free: 51.82 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01437/1.261, allocations: 5.519 MB / 1.06 GB, free: 51.79 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007094/1.268, allocations: 3.466 MB / 1.063 GB, free: 51.61 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.001708/1.269, allocations: 0.5486 MB / 1.064 GB, free: 51.61 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01374/1.283, allocations: 6.805 MB / 1.071 GB, free: 51.61 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.00262/1.286, allocations: 1.466 MB / 1.072 GB, free: 51.43 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.005023/1.291, allocations: 2.845 MB / 1.075 GB, free: 50.69 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.01794/1.309, allocations: 9.78 MB / 1.084 GB, free: 49.78 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/1.309, allocations: 0 / 1.084 GB, free: 49.78 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.154e-06/1.309, allocations: 0.9688 kB / 1.084 GB, free: 49.78 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0001737/1.309, allocations: 0 / 1.084 GB, free: 49.78 MB / 0.795 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.01416/1.323, allocations: 5.96 MB / 1.09 GB, free: 47.23 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/1.323, allocations: 10.78 kB / 1.09 GB, free: 47.23 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02872/1.352, allocations: 4.291 MB / 1.094 GB, free: 46.96 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007675/1.36, allocations: 3.692 MB / 1.098 GB, free: 46.23 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000282/1.36, allocations: 307.9 kB / 1.098 GB, free: 46.19 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001084/1.361, allocations: 358.9 kB / 1.099 GB, free: 46.19 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01432/1.375, allocations: 5.692 MB / 1.104 GB, free: 45.89 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.324e-05/1.375, allocations: 6.188 kB / 1.104 GB, free: 45.89 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004722/1.376, allocations: 138.5 kB / 1.104 GB, free: 45.89 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.769e-05/1.376, allocations: 139.8 kB / 1.104 GB, free: 45.88 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01902/1.395, allocations: 6.79 MB / 1.111 GB, free: 45.75 MB / 0.795 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.03961/1.435, allocations: 22.19 MB / 1.133 GB, free: 37.07 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009955/1.445, allocations: 4.026 MB / 1.137 GB, free: 36.36 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005838/1.451, allocations: 2.259 MB / 1.139 GB, free: 35.95 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01223/1.463, allocations: 8.167 MB / 1.147 GB, free: 31.85 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006095/1.469, allocations: 2.492 MB / 1.149 GB, free: 31.09 MB / 0.795 GB Notification: Performance of pre-optimization done (n=228): time 3.977e-06/1.469, allocations: 0 / 1.149 GB, free: 31.09 MB / 0.795 GB Notification: Performance of matching and sorting (n=228): time 0.02844/1.497, allocations: 8.415 MB / 1.158 GB, free: 25.73 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.031e-05/1.498, allocations: 126.9 kB / 1.158 GB, free: 25.58 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006844/1.504, allocations: 4.317 MB / 1.162 GB, free: 21.84 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0008151/1.505, allocations: 81.7 kB / 1.162 GB, free: 21.75 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.001272/1.506, allocations: 1.811 MB / 1.164 GB, free: 19.94 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.001015/1.508, allocations: 0.7993 MB / 1.164 GB, free: 19.15 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001489/1.509, allocations: 0.8198 MB / 1.165 GB, free: 18.32 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 3.314e-05/1.509, allocations: 301.1 kB / 1.166 GB, free: 18.03 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007619/1.517, allocations: 2.726 MB / 1.168 GB, free: 15.3 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008447/1.525, allocations: 3.433 MB / 1.172 GB, free: 11.63 MB / 0.795 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.01682/1.542, allocations: 5.945 MB / 1.177 GB, free: 5.512 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.847e-05/1.542, allocations: 4 kB / 1.177 GB, free: 5.508 MB / 0.795 GB Notification: Performance of matching and sorting (n=454) (initialization): time 0.02847/1.571, allocations: 7.565 MB / 1.185 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.702e-05/1.571, allocations: 15.94 kB / 1.185 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.922e-05/1.571, allocations: 19.98 kB / 1.185 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004103/1.575, allocations: 0.973 MB / 1.186 GB, free: 12.95 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009114/1.584, allocations: 1.405 MB / 1.187 GB, free: 11.59 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01691/1.601, allocations: 14.46 MB / 1.201 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01041/1.611, allocations: 1.19 MB / 1.202 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009835/1.612, allocations: 183.8 kB / 1.203 GB, free: 10.75 MB / 0.8262 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.002691/1.615, allocations: 0.8674 MB / 1.203 GB, free: 9.914 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00159/1.617, allocations: 425 kB / 1.204 GB, free: 9.496 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02186/1.638, allocations: 5.765 MB / 1.209 GB, free: 3.719 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.013e-05/1.639, allocations: 31.98 kB / 1.21 GB, free: 3.688 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/1.639, allocations: 0 / 1.21 GB, free: 3.688 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.322e-05/1.639, allocations: 11.95 kB / 1.21 GB, free: 3.676 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02884/1.667, allocations: 10.89 MB / 1.22 GB, free: 8.734 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-05/1.667, allocations: 4 kB / 1.22 GB, free: 8.73 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004447/1.672, allocations: 0.6688 MB / 1.221 GB, free: 8.082 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003184/1.675, allocations: 0.7684 MB / 1.222 GB, free: 7.293 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003664/1.676, allocations: 87.84 kB / 1.222 GB, free: 7.207 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01379/1.689, allocations: 11.67 MB / 1.233 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.66e-06/1.689, allocations: 10.41 kB / 1.233 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02808/1.717, allocations: 8.169 MB / 1.241 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003039/1.721, allocations: 1.065 MB / 1.242 GB, free: 1.332 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001679/1.722, allocations: 48.09 kB / 1.242 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006737/1.729, allocations: 0.5315 MB / 1.243 GB, free: 0.7539 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005059/1.729, allocations: 170.3 kB / 1.243 GB, free: 0.5898 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004034/1.73, allocations: 115.9 kB / 1.243 GB, free: 488 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.006685/1.737, allocations: 2.964 MB / 1.246 GB, free: 13.51 MB / 0.8731 GB Notification: Performance of sort global known variables: time 4.31e-07/1.737, allocations: 0 / 1.246 GB, free: 13.51 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.006743/1.743, allocations: 1.548 MB / 1.247 GB, free: 11.96 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 8 (relHumIn.phi,TDryBulIn.T,senMasFraIn.X,senMasFraOut.X,TDryBulOut.T,hexWetNTU.dryWetCalcs.fullyWet.TWatOutEst,relHumOut_eps.phi,hexWetNTU_TX.dryWetCalcs.fullyWet.TWatOutEst) * Number of discrete variables: 3 ($whenCondition1,w_a2.nextTimeEvent,w_a2.nextTimeEventScaled) * Number of discrete states: 2 (w_a2.nextTimeEvent,w_a2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (225): * Single equations (assignments): 212 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 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): 8 systems {(1,4), (1,2), (1,4), (1,2), (1,1), (1,1), (1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003332/1.747, allocations: 1.042 MB / 1.248 GB, free: 11.18 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.02217/1.769, allocations: 6.447 MB / 1.255 GB, free: 4.75 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 8.456e-06/1.769, allocations: 0 / 1.255 GB, free: 4.75 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.00884/1.778, allocations: 3.013 MB / 1.258 GB, free: 1.707 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01099/1.789, allocations: 2.095 MB / 1.26 GB, free: 15.67 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02668/1.816, allocations: 9.159 MB / 1.269 GB, free: 6.496 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002416/1.818, allocations: 2.298 MB / 1.271 GB, free: 4.168 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.00595/1.824, allocations: 1.04 MB / 1.272 GB, free: 3.137 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001949/1.826, allocations: 371.2 kB / 1.272 GB, free: 2.773 MB / 0.8887 GB Notification: Performance of SimCode: time 9.12e-07/1.826, allocations: 0 / 1.272 GB, free: 2.773 MB / 0.8887 GB Notification: Performance of Templates: time 0.1439/1.97, allocations: 97.75 MB / 1.368 GB, free: 2.242 MB / 0.9825 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.sim & ./IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe 2>&1)