Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU") translateModel(IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.001291/0.001291, allocations: 104.3 kB / 16.41 MB, free: 6.508 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.001388/0.001388, allocations: 189.7 kB / 17.34 MB, free: 5.742 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.218/1.218, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7315/0.7315, allocations: 135.1 MB / 426.3 MB, free: 4.117 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001155/0.001155, allocations: 60.78 kB / 0.5863 GB, free: 21.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1391/0.1402, allocations: 80.93 MB / 0.6653 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 0.7132/0.8535, allocations: 369.7 MB / 1.026 GB, free: 12.93 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.4781/1.332, allocations: 33.23 MB / 1.059 GB, free: 48.6 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007355/1.339, allocations: 151.7 kB / 1.059 GB, free: 48.6 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.007359/1.346, allocations: 2.363 MB / 1.061 GB, free: 48.6 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.02041/1.367, allocations: 7.483 MB / 1.069 GB, free: 48.54 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.01212/1.379, allocations: 4.541 MB / 1.073 GB, free: 48.43 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.01753/1.397, allocations: 11.04 MB / 1.084 GB, free: 48.4 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006352/1.403, allocations: 3.977 MB / 1.088 GB, free: 47.99 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01335/1.416, allocations: 5.498 MB / 1.093 GB, free: 47.93 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007664/1.424, allocations: 3.454 MB / 1.096 GB, free: 47.52 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.001814/1.426, allocations: 0.5494 MB / 1.097 GB, free: 47.52 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01529/1.441, allocations: 6.799 MB / 1.104 GB, free: 47.45 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.002694/1.444, allocations: 1.457 MB / 1.105 GB, free: 47.27 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.007067/1.451, allocations: 2.835 MB / 1.108 GB, free: 46.53 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.02098/1.472, allocations: 9.766 MB / 1.117 GB, free: 45.39 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/1.472, allocations: 3.688 kB / 1.117 GB, free: 45.39 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.234e-06/1.472, allocations: 0.9375 kB / 1.117 GB, free: 45.39 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0002694/1.472, allocations: 0 / 1.117 GB, free: 45.39 MB / 0.8106 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.01792/1.49, allocations: 5.935 MB / 1.123 GB, free: 42.86 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/1.49, allocations: 11.73 kB / 1.123 GB, free: 42.86 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02907/1.519, allocations: 4.286 MB / 1.127 GB, free: 42.03 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009002/1.528, allocations: 3.701 MB / 1.131 GB, free: 40.51 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003881/1.529, allocations: 307.3 kB / 1.131 GB, free: 40.47 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001485/1.53, allocations: 348.5 kB / 1.132 GB, free: 40.47 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01493/1.545, allocations: 5.702 MB / 1.137 GB, free: 38.86 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.617e-05/1.545, allocations: 2.625 kB / 1.137 GB, free: 38.86 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004699/1.546, allocations: 135.8 kB / 1.137 GB, free: 38.86 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001036/1.546, allocations: 132.7 kB / 1.137 GB, free: 38.84 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02026/1.566, allocations: 6.802 MB / 1.144 GB, free: 35.57 MB / 0.8106 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.04041/1.607, allocations: 22.13 MB / 1.166 GB, free: 15.67 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01083/1.618, allocations: 4.064 MB / 1.17 GB, free: 11.64 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005981/1.624, allocations: 2.266 MB / 1.172 GB, free: 9.375 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01272/1.636, allocations: 8.177 MB / 1.18 GB, free: 0.9531 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006779/1.643, allocations: 2.401 MB / 1.182 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=230): time 5.14e-06/1.643, allocations: 0 / 1.182 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of matching and sorting (n=230): time 0.03318/1.676, allocations: 8.437 MB / 1.19 GB, free: 5.988 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.218e-05/1.676, allocations: 73.41 kB / 1.19 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008851/1.685, allocations: 4.275 MB / 1.195 GB, free: 1.613 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0007866/1.686, allocations: 77.7 kB / 1.195 GB, free: 1.531 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.001901/1.688, allocations: 1.82 MB / 1.196 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.001272/1.689, allocations: 0.7896 MB / 1.197 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002667/1.692, allocations: 0.8106 MB / 1.198 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001055/1.692, allocations: 301.1 kB / 1.198 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008944/1.701, allocations: 2.722 MB / 1.201 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009936/1.711, allocations: 3.402 MB / 1.204 GB, free: 7.465 MB / 0.8419 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.01955/1.731, allocations: 5.94 MB / 1.21 GB, free: 1.34 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.884e-05/1.731, allocations: 4 kB / 1.21 GB, free: 1.336 MB / 0.8419 GB Notification: Performance of matching and sorting (n=448) (initialization): time 0.02948/1.76, allocations: 7.55 MB / 1.217 GB, free: 9.828 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.309e-05/1.76, allocations: 12 kB / 1.217 GB, free: 9.816 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.178e-05/1.76, allocations: 20.33 kB / 1.217 GB, free: 9.801 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004302/1.765, allocations: 0.9707 MB / 1.218 GB, free: 8.809 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008977/1.774, allocations: 1.408 MB / 1.22 GB, free: 7.445 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.017/1.791, allocations: 14.47 MB / 1.234 GB, free: 7.969 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01055/1.801, allocations: 1.165 MB / 1.235 GB, free: 6.801 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001188/1.802, allocations: 183.8 kB / 1.235 GB, free: 6.621 MB / 0.8731 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: 67 * 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 (418): * Single equations (assignments): 403 * 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.003227/1.806, allocations: 0.8578 MB / 1.236 GB, free: 5.797 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001941/1.808, allocations: 418.8 kB / 1.236 GB, free: 5.383 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02182/1.83, allocations: 5.795 MB / 1.242 GB, free: 15.57 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.349e-05/1.83, allocations: 24 kB / 1.242 GB, free: 15.54 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/1.83, allocations: 3.75 kB / 1.242 GB, free: 15.54 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.329e-05/1.83, allocations: 11.95 kB / 1.242 GB, free: 15.53 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03165/1.861, allocations: 10.91 MB / 1.253 GB, free: 4.574 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.921e-05/1.861, allocations: 4 kB / 1.253 GB, free: 4.57 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004888/1.866, allocations: 0.669 MB / 1.253 GB, free: 3.922 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003306/1.87, allocations: 0.7622 MB / 1.254 GB, free: 3.141 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007124/1.87, allocations: 83.84 kB / 1.254 GB, free: 3.059 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01401/1.884, allocations: 11.68 MB / 1.266 GB, free: 6.512 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.49e-05/1.884, allocations: 10.91 kB / 1.266 GB, free: 6.504 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02953/1.914, allocations: 8.214 MB / 1.274 GB, free: 14.21 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003225/1.917, allocations: 1.05 MB / 1.275 GB, free: 13.14 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001617/1.919, allocations: 47.98 kB / 1.275 GB, free: 13.09 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006688/1.926, allocations: 0.5235 MB / 1.275 GB, free: 12.57 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006707/1.926, allocations: 169.5 kB / 1.276 GB, free: 12.41 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005804/1.927, allocations: 111.9 kB / 1.276 GB, free: 12.3 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.007025/1.934, allocations: 2.943 MB / 1.278 GB, free: 9.352 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.393e-06/1.934, allocations: 0 / 1.278 GB, free: 9.352 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.006024/1.94, allocations: 1.533 MB / 1.28 GB, free: 7.82 MB / 0.92 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: 5 ($whenCondition1,hexWetNTU.flowRegime,hexWetNTU_TX.flowRegime,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 (227): * Single equations (assignments): 214 * 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.002836/1.943, allocations: 1.043 MB / 1.281 GB, free: 7.023 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.02181/1.965, allocations: 6.382 MB / 1.287 GB, free: 0.6641 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/1.965, allocations: 0 / 1.287 GB, free: 0.6641 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.009134/1.974, allocations: 3.037 MB / 1.29 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01237/1.986, allocations: 2.086 MB / 1.292 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02929/2.016, allocations: 9.256 MB / 1.301 GB, free: 2.285 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002715/2.018, allocations: 2.275 MB / 1.303 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003186/2.022, allocations: 431.1 kB / 1.304 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of SimCode: time 7.92e-07/2.022, allocations: 0 / 1.304 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of Templates: time 0.5502/2.572, allocations: 261 MB / 1.559 GB, free: 444 MB / 1.061 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.sim & ./IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe 2>&1)