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.001545/0.001545, allocations: 102.7 kB / 16.41 MB, free: 6.496 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.001565/0.001565, allocations: 191 kB / 17.34 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.369/1.369, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7947/0.7947, allocations: 135.1 MB / 426.3 MB, free: 4.121 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 66.52 kB / 0.5863 GB, free: 21.57 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1628/0.1641, allocations: 80.93 MB / 0.6653 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 0.8024/0.9665, allocations: 369.7 MB / 1.026 GB, free: 12.91 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.5654/1.532, allocations: 33.24 MB / 1.059 GB, free: 48.56 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008006/1.54, allocations: 154.3 kB / 1.059 GB, free: 48.56 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.00803/1.548, allocations: 2.359 MB / 1.061 GB, free: 48.56 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.02548/1.574, allocations: 7.491 MB / 1.069 GB, free: 48.5 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0137/1.587, allocations: 4.527 MB / 1.073 GB, free: 48.39 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.02066/1.608, allocations: 11.04 MB / 1.084 GB, free: 48.36 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008216/1.616, allocations: 3.973 MB / 1.088 GB, free: 47.95 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01664/1.633, allocations: 5.499 MB / 1.093 GB, free: 47.89 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008804/1.642, allocations: 3.458 MB / 1.096 GB, free: 47.48 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.002815/1.645, allocations: 0.5487 MB / 1.097 GB, free: 47.48 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01835/1.663, allocations: 6.796 MB / 1.104 GB, free: 47.4 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.003449/1.667, allocations: 1.461 MB / 1.105 GB, free: 47.22 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.008361/1.675, allocations: 2.829 MB / 1.108 GB, free: 46.49 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.02449/1.699, allocations: 9.775 MB / 1.117 GB, free: 45.35 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 8.456e-06/1.7, allocations: 0 / 1.117 GB, free: 45.35 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.414e-06/1.7, allocations: 0.875 kB / 1.117 GB, free: 45.35 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0003164/1.7, allocations: 0 / 1.117 GB, free: 45.35 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.02133/1.721, allocations: 5.936 MB / 1.123 GB, free: 42.82 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/1.721, allocations: 10.27 kB / 1.123 GB, free: 42.82 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03173/1.753, allocations: 4.286 MB / 1.127 GB, free: 41.98 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01031/1.763, allocations: 3.698 MB / 1.131 GB, free: 40.47 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005004/1.764, allocations: 307.9 kB / 1.131 GB, free: 40.43 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002048/1.766, allocations: 355.8 kB / 1.132 GB, free: 40.42 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01974/1.786, allocations: 5.694 MB / 1.137 GB, free: 38.81 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000163/1.786, allocations: 3.984 kB / 1.137 GB, free: 38.81 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001666/1.788, allocations: 136.1 kB / 1.137 GB, free: 38.81 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001651/1.788, allocations: 136.8 kB / 1.137 GB, free: 38.79 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0225/1.81, allocations: 6.801 MB / 1.144 GB, free: 35.59 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.04544/1.856, allocations: 22.13 MB / 1.166 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0112/1.867, allocations: 4.06 MB / 1.17 GB, free: 11.65 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006469/1.874, allocations: 2.259 MB / 1.172 GB, free: 9.391 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0176/1.891, allocations: 8.189 MB / 1.18 GB, free: 0.957 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007756/1.899, allocations: 2.397 MB / 1.182 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=230): time 7.243e-06/1.899, allocations: 0 / 1.182 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of matching and sorting (n=230): time 0.03632/1.935, allocations: 8.436 MB / 1.19 GB, free: 6 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.239e-05/1.936, allocations: 77.97 kB / 1.19 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01112/1.947, allocations: 4.276 MB / 1.195 GB, free: 1.617 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.001026/1.948, allocations: 77.7 kB / 1.195 GB, free: 1.535 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.002504/1.95, allocations: 1.823 MB / 1.196 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.001698/1.952, allocations: 0.7945 MB / 1.197 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004132/1.956, allocations: 0.8064 MB / 1.198 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001039/1.956, allocations: 301.1 kB / 1.198 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009858/1.966, allocations: 2.72 MB / 1.201 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01084/1.977, allocations: 3.4 MB / 1.204 GB, free: 7.469 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.02021/1.997, allocations: 5.937 MB / 1.21 GB, free: 1.344 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.3e-05/1.997, allocations: 4 kB / 1.21 GB, free: 1.34 MB / 0.8419 GB Notification: Performance of matching and sorting (n=448) (initialization): time 0.03176/2.029, allocations: 7.551 MB / 1.217 GB, free: 9.836 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.984e-05/2.029, allocations: 12 kB / 1.217 GB, free: 9.824 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.799e-05/2.029, allocations: 16 kB / 1.217 GB, free: 9.809 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004255/2.034, allocations: 0.9754 MB / 1.218 GB, free: 8.812 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009805/2.043, allocations: 1.409 MB / 1.22 GB, free: 7.449 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01831/2.062, allocations: 14.46 MB / 1.234 GB, free: 7.973 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01142/2.073, allocations: 1.166 MB / 1.235 GB, free: 6.805 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001471/2.075, allocations: 183.8 kB / 1.235 GB, free: 6.625 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.004007/2.079, allocations: 0.8598 MB / 1.236 GB, free: 5.805 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002388/2.081, allocations: 418.8 kB / 1.236 GB, free: 5.391 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02439/2.106, allocations: 5.8 MB / 1.242 GB, free: 15.57 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-05/2.106, allocations: 24 kB / 1.242 GB, free: 15.55 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.355e-05/2.106, allocations: 0 / 1.242 GB, free: 15.55 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.671e-05/2.106, allocations: 15.89 kB / 1.242 GB, free: 15.54 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03623/2.142, allocations: 10.91 MB / 1.253 GB, free: 4.582 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.26e-05/2.142, allocations: 4 kB / 1.253 GB, free: 4.578 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005207/2.147, allocations: 0.6697 MB / 1.253 GB, free: 3.93 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003456/2.151, allocations: 0.7678 MB / 1.254 GB, free: 3.141 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009264/2.152, allocations: 83.84 kB / 1.254 GB, free: 3.059 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01418/2.166, allocations: 11.68 MB / 1.266 GB, free: 6.52 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.855e-06/2.166, allocations: 10.98 kB / 1.266 GB, free: 6.512 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03104/2.197, allocations: 8.206 MB / 1.274 GB, free: 14.23 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003819/2.201, allocations: 1.057 MB / 1.275 GB, free: 13.15 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002187/2.203, allocations: 48 kB / 1.275 GB, free: 13.1 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007828/2.211, allocations: 0.5228 MB / 1.275 GB, free: 12.58 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000861/2.212, allocations: 173 kB / 1.276 GB, free: 12.41 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008134/2.213, allocations: 107.9 kB / 1.276 GB, free: 12.3 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.008359/2.221, allocations: 2.939 MB / 1.278 GB, free: 9.363 MB / 0.92 GB Notification: Performance of sort global known variables: time 4.01e-07/2.221, allocations: 3.938 kB / 1.278 GB, free: 9.359 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.008301/2.229, allocations: 1.537 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.003538/2.233, allocations: 1.034 MB / 1.281 GB, free: 7.035 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.02373/2.257, allocations: 6.383 MB / 1.287 GB, free: 0.6758 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.184e-05/2.257, allocations: 5.312 kB / 1.287 GB, free: 0.6719 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.01017/2.267, allocations: 3.035 MB / 1.29 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01362/2.281, allocations: 2.094 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.03217/2.313, allocations: 9.253 MB / 1.301 GB, free: 2.285 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003709/2.317, allocations: 2.279 MB / 1.304 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003673/2.32, allocations: 427.1 kB / 1.304 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of SimCode: time 8.11e-07/2.32, allocations: 0 / 1.304 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of Templates: time 0.6583/2.979, 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)