Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.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(BuildingSystems.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU") translateModel(BuildingSystems.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001869/0.001869, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002103/0.002103, allocations: 194.5 kB / 16.14 MB, free: 6.715 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.433/1.433, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002452/0.002452, allocations: 278.9 kB / 290.2 MB, free: 2.203 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.094/1.094, allocations: 178.6 MB / 0.5068 GB, free: 4.746 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00279/0.00279, allocations: 97.64 kB / 0.6057 GB, free: 25.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1561/0.1589, allocations: 89.15 MB / 0.6928 GB, free: 4.824 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 1.027/1.186, allocations: 367.2 MB / 1.051 GB, free: 49.32 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0405/1.227, allocations: 33.65 MB / 1.084 GB, free: 48.96 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006434/1.233, allocations: 139.6 kB / 1.084 GB, free: 48.96 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.006193/1.239, allocations: 1.942 MB / 1.086 GB, free: 48.92 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.01835/1.258, allocations: 6.944 MB / 1.093 GB, free: 48.63 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.01084/1.269, allocations: 4.151 MB / 1.097 GB, free: 48.48 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.01702/1.286, allocations: 13.67 MB / 1.11 GB, free: 48.46 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006377/1.292, allocations: 3.291 MB / 1.114 GB, free: 48 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01699/1.309, allocations: 4.737 MB / 1.118 GB, free: 47.82 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007924/1.317, allocations: 3.376 MB / 1.122 GB, free: 47.21 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.00188/1.319, allocations: 240.1 kB / 1.122 GB, free: 47.21 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01523/1.334, allocations: 7.257 MB / 1.129 GB, free: 46.44 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.002503/1.337, allocations: 1.166 MB / 1.13 GB, free: 45.96 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.005677/1.342, allocations: 2.523 MB / 1.133 GB, free: 45.06 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.01735/1.36, allocations: 9.78 MB / 1.142 GB, free: 40.99 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/1.36, allocations: 0 / 1.142 GB, free: 40.99 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.402e-06/1.36, allocations: 0 / 1.142 GB, free: 40.99 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.0002358/1.36, allocations: 0 / 1.142 GB, free: 40.99 MB / 0.7637 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.01718/1.377, allocations: 5.96 MB / 1.148 GB, free: 35.4 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/1.377, allocations: 12.03 kB / 1.148 GB, free: 35.39 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03115/1.408, allocations: 4.287 MB / 1.152 GB, free: 31.1 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007554/1.416, allocations: 3.602 MB / 1.156 GB, free: 27.6 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001372/1.417, allocations: 0.5172 MB / 1.156 GB, free: 27.08 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001401/1.419, allocations: 361.1 kB / 1.156 GB, free: 26.73 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01473/1.434, allocations: 5.71 MB / 1.162 GB, free: 20.95 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.46e-05/1.434, allocations: 2.25 kB / 1.162 GB, free: 20.95 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004331/1.434, allocations: 144.5 kB / 1.162 GB, free: 20.81 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.958e-05/1.434, allocations: 134.5 kB / 1.162 GB, free: 20.68 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01963/1.454, allocations: 6.826 MB / 1.169 GB, free: 13.86 MB / 0.7637 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.04582/1.5, allocations: 22.27 MB / 1.191 GB, free: 7.164 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01256/1.512, allocations: 4.032 MB / 1.195 GB, free: 3.145 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007496/1.52, allocations: 2.254 MB / 1.197 GB, free: 0.8906 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0177/1.537, allocations: 8.167 MB / 1.205 GB, free: 8.461 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008013/1.546, allocations: 2.487 MB / 1.207 GB, free: 5.953 MB / 0.795 GB Notification: Performance of pre-optimization done (n=228): time 3.818e-06/1.546, allocations: 4 kB / 1.207 GB, free: 5.949 MB / 0.795 GB Notification: Performance of matching and sorting (n=228): time 0.03589/1.581, allocations: 8.421 MB / 1.215 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001064/1.582, allocations: 128.8 kB / 1.216 GB, free: 13.26 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008787/1.59, allocations: 4.318 MB / 1.22 GB, free: 8.922 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0007031/1.591, allocations: 77.7 kB / 1.22 GB, free: 8.84 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.001977/1.593, allocations: 1.827 MB / 1.222 GB, free: 7.012 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.001323/1.594, allocations: 0.7954 MB / 1.222 GB, free: 6.227 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00195/1.596, allocations: 0.8256 MB / 1.223 GB, free: 5.395 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001318/1.597, allocations: 305.1 kB / 1.224 GB, free: 5.094 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009779/1.606, allocations: 2.741 MB / 1.226 GB, free: 2.352 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01088/1.617, allocations: 3.461 MB / 1.23 GB, free: 14.65 MB / 0.8262 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.02085/1.638, allocations: 5.961 MB / 1.235 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.714e-05/1.638, allocations: 4 kB / 1.235 GB, free: 8.523 MB / 0.8262 GB Notification: Performance of matching and sorting (n=454) (initialization): time 0.03054/1.669, allocations: 7.595 MB / 1.243 GB, free: 0.9648 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.066e-05/1.669, allocations: 20.08 kB / 1.243 GB, free: 0.9453 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.911e-05/1.669, allocations: 20 kB / 1.243 GB, free: 0.9258 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004485/1.673, allocations: 0.9707 MB / 1.244 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009998/1.683, allocations: 1.412 MB / 1.245 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0196/1.703, allocations: 13.72 MB / 1.259 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01218/1.715, allocations: 1.308 MB / 1.26 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001011/1.716, allocations: 187.8 kB / 1.26 GB, free: 14.39 MB / 0.8575 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.002531/1.719, allocations: 0.8678 MB / 1.261 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001483/1.72, allocations: 422.8 kB / 1.261 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02276/1.743, allocations: 5.771 MB / 1.267 GB, free: 7.359 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.758e-05/1.743, allocations: 28 kB / 1.267 GB, free: 7.332 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.668e-06/1.743, allocations: 0 / 1.267 GB, free: 7.332 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.103e-05/1.743, allocations: 15.89 kB / 1.267 GB, free: 7.316 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03307/1.776, allocations: 10.89 MB / 1.278 GB, free: 12.37 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.841e-05/1.776, allocations: 4 kB / 1.278 GB, free: 12.37 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005291/1.782, allocations: 0.668 MB / 1.278 GB, free: 11.72 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003847/1.786, allocations: 0.7921 MB / 1.279 GB, free: 10.91 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007015/1.786, allocations: 79.91 kB / 1.279 GB, free: 10.83 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01541/1.802, allocations: 10.96 MB / 1.29 GB, free: 15.05 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.035e-06/1.802, allocations: 6.25 kB / 1.29 GB, free: 15.05 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03124/1.833, allocations: 8.182 MB / 1.298 GB, free: 6.789 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002998/1.836, allocations: 1.06 MB / 1.299 GB, free: 5.707 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009786/1.837, allocations: 48 kB / 1.299 GB, free: 5.66 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006894/1.844, allocations: 0.6095 MB / 1.3 GB, free: 5.051 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004769/1.844, allocations: 164.9 kB / 1.3 GB, free: 4.895 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000373/1.845, allocations: 115.9 kB / 1.3 GB, free: 4.781 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.006451/1.851, allocations: 2.971 MB / 1.303 GB, free: 1.809 MB / 0.8887 GB Notification: Performance of sort global known variables: time 4e-07/1.851, allocations: 4 kB / 1.303 GB, free: 1.805 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.005841/1.857, allocations: 1.558 MB / 1.304 GB, free: 252 kB / 0.8887 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.003154/1.86, allocations: 1.038 MB / 1.305 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.02342/1.884, allocations: 6.435 MB / 1.312 GB, free: 9.031 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 7.895e-06/1.884, allocations: 1.188 kB / 1.312 GB, free: 9.031 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.009207/1.893, allocations: 3.007 MB / 1.314 GB, free: 5.996 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01043/1.903, allocations: 1.982 MB / 1.316 GB, free: 4.059 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02924/1.933, allocations: 10.74 MB / 1.327 GB, free: 9.285 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002252/1.935, allocations: 2.306 MB / 1.329 GB, free: 6.949 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.006754/1.942, allocations: 1.049 MB / 1.33 GB, free: 5.91 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001766/1.943, allocations: 363.2 kB / 1.33 GB, free: 5.555 MB / 0.92 GB Notification: Performance of SimCode: time 7.51e-07/1.943, allocations: 0 / 1.33 GB, free: 5.555 MB / 0.92 GB Notification: Performance of Templates: time 0.442/2.385, allocations: 96.16 MB / 1.424 GB, free: 456.4 MB / 0.9825 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe 2>&1)