Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU") translateModel(IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.00524/0.00524, allocations: 105.4 kB / 15.74 MB, free: 6.008 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.001107/0.001107, allocations: 199.9 kB / 16.68 MB, free: 5.93 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.438/1.438, allocations: 222.9 MB / 240.4 MB, free: 4.133 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7795/0.7795, allocations: 132.2 MB / 422.7 MB, free: 1.586 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001615/0.001615, allocations: 62.11 kB / 0.5814 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1746/0.1762, allocations: 80.21 MB / 0.6597 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 0.7644/0.9407, allocations: 369.7 MB / 1.021 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.04774/0.9884, allocations: 33.26 MB / 1.053 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006622/0.9951, allocations: 151.1 kB / 1.053 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.006507/1.002, allocations: 2.438 MB / 1.056 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.01895/1.021, allocations: 7.827 MB / 1.063 GB, free: 2.664 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.01138/1.032, allocations: 4.556 MB / 1.068 GB, free: 14.14 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.01453/1.047, allocations: 11.06 MB / 1.079 GB, free: 3.059 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006196/1.053, allocations: 3.98 MB / 1.082 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01269/1.066, allocations: 5.563 MB / 1.088 GB, free: 9.504 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005776/1.071, allocations: 3.444 MB / 1.091 GB, free: 6.059 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.00161/1.073, allocations: 0.5469 MB / 1.092 GB, free: 5.512 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01471/1.088, allocations: 6.81 MB / 1.098 GB, free: 14.69 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.002718/1.09, allocations: 1.46 MB / 1.1 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.006368/1.097, allocations: 2.831 MB / 1.103 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.01993/1.117, allocations: 9.778 MB / 1.112 GB, free: 0.5742 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/1.117, allocations: 4 kB / 1.112 GB, free: 0.5703 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.754e-06/1.117, allocations: 0 / 1.112 GB, free: 0.5703 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.000243/1.117, allocations: 4 kB / 1.112 GB, free: 0.5664 MB / 0.8262 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.01602/1.133, allocations: 5.935 MB / 1.118 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/1.133, allocations: 8.031 kB / 1.118 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03295/1.166, allocations: 4.278 MB / 1.122 GB, free: 6.23 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01068/1.177, allocations: 3.699 MB / 1.126 GB, free: 2.469 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004766/1.177, allocations: 305 kB / 1.126 GB, free: 2.16 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001728/1.179, allocations: 355.9 kB / 1.126 GB, free: 1.812 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01971/1.199, allocations: 5.7 MB / 1.132 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.21e-05/1.199, allocations: 3.938 kB / 1.132 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005437/1.199, allocations: 136 kB / 1.132 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001344/1.2, allocations: 138.5 kB / 1.132 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02241/1.222, allocations: 6.806 MB / 1.139 GB, free: 4.938 MB / 0.8575 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.4137/1.636, allocations: 22.12 MB / 1.161 GB, free: 346.1 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01185/1.648, allocations: 4.047 MB / 1.164 GB, free: 344.7 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006873/1.655, allocations: 2.265 MB / 1.167 GB, free: 343.9 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0137/1.668, allocations: 8.2 MB / 1.175 GB, free: 338.5 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006635/1.675, allocations: 2.387 MB / 1.177 GB, free: 337.2 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=230): time 4.488e-06/1.675, allocations: 0 / 1.177 GB, free: 337.2 MB / 0.8575 GB Notification: Performance of matching and sorting (n=230): time 0.03182/1.707, allocations: 8.443 MB / 1.185 GB, free: 333 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.139e-05/1.707, allocations: 79.44 kB / 1.185 GB, free: 332.9 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006986/1.714, allocations: 4.269 MB / 1.19 GB, free: 330.7 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0007279/1.715, allocations: 85.2 kB / 1.19 GB, free: 330.6 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.001228/1.716, allocations: 1.82 MB / 1.191 GB, free: 329 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.001071/1.717, allocations: 0.7957 MB / 1.192 GB, free: 328.4 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001543/1.719, allocations: 0.8057 MB / 1.193 GB, free: 327.9 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.467e-05/1.719, allocations: 301.1 kB / 1.193 GB, free: 327.6 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008352/1.727, allocations: 2.724 MB / 1.196 GB, free: 326.3 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009031/1.736, allocations: 3.409 MB / 1.199 GB, free: 323.7 MB / 0.8575 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.01731/1.753, allocations: 5.937 MB / 1.205 GB, free: 317.5 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.864e-05/1.753, allocations: 11.78 kB / 1.205 GB, free: 317.5 MB / 0.8575 GB Notification: Performance of matching and sorting (n=448) (initialization): time 0.02616/1.78, allocations: 7.553 MB / 1.212 GB, free: 309.9 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.134e-05/1.78, allocations: 16.09 kB / 1.212 GB, free: 309.9 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.656e-05/1.78, allocations: 16 kB / 1.212 GB, free: 309.9 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003784/1.783, allocations: 0.9675 MB / 1.213 GB, free: 308.9 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008894/1.792, allocations: 1.404 MB / 1.215 GB, free: 307.5 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01381/1.806, allocations: 14.44 MB / 1.229 GB, free: 292 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01025/1.817, allocations: 1.173 MB / 1.23 GB, free: 290.8 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009987/1.818, allocations: 179.8 kB / 1.23 GB, free: 290.6 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: 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.0022/1.82, allocations: 0.8659 MB / 1.231 GB, free: 289.8 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00123/1.821, allocations: 414.8 kB / 1.231 GB, free: 289.3 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01909/1.84, allocations: 5.794 MB / 1.237 GB, free: 283.5 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-05/1.84, allocations: 24 kB / 1.237 GB, free: 283.5 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/1.84, allocations: 0 / 1.237 GB, free: 283.5 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.675e-05/1.84, allocations: 15.89 kB / 1.237 GB, free: 283.5 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0267/1.867, allocations: 10.92 MB / 1.248 GB, free: 272.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.23e-05/1.867, allocations: 4 kB / 1.248 GB, free: 272.5 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00464/1.872, allocations: 0.667 MB / 1.248 GB, free: 271.8 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002982/1.875, allocations: 0.7643 MB / 1.249 GB, free: 271 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004136/1.875, allocations: 83.91 kB / 1.249 GB, free: 271 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01096/1.886, allocations: 11.68 MB / 1.261 GB, free: 258.4 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/1.886, allocations: 7.938 kB / 1.261 GB, free: 258.4 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02579/1.912, allocations: 8.198 MB / 1.269 GB, free: 250.1 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003357/1.915, allocations: 1.057 MB / 1.27 GB, free: 249 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001198/1.916, allocations: 47.56 kB / 1.27 GB, free: 248.9 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006957/1.923, allocations: 0.5228 MB / 1.27 GB, free: 248.4 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000679/1.924, allocations: 169.7 kB / 1.27 GB, free: 248.3 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005119/1.925, allocations: 107.9 kB / 1.271 GB, free: 248.2 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.005732/1.93, allocations: 2.943 MB / 1.273 GB, free: 245.2 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.042e-06/1.93, allocations: 0 / 1.273 GB, free: 245.2 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.005909/1.936, allocations: 1.54 MB / 1.275 GB, free: 243.7 MB / 0.8575 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.002433/1.939, allocations: 1.051 MB / 1.276 GB, free: 242.9 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.02004/1.959, allocations: 6.383 MB / 1.282 GB, free: 236.5 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 8.375e-06/1.959, allocations: 4 kB / 1.282 GB, free: 236.5 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.008139/1.967, allocations: 3.042 MB / 1.285 GB, free: 233.4 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01227/1.979, allocations: 2.088 MB / 1.287 GB, free: 231.4 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02684/2.006, allocations: 9.142 MB / 1.296 GB, free: 222.3 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002373/2.009, allocations: 2.29 MB / 1.298 GB, free: 219.9 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.005553/2.014, allocations: 1.039 MB / 1.299 GB, free: 218.9 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001642/2.016, allocations: 371.2 kB / 1.3 GB, free: 218.6 MB / 0.8575 GB Notification: Performance of SimCode: time 7.01e-07/2.016, allocations: 0 / 1.3 GB, free: 218.6 MB / 0.8575 GB Notification: Performance of Templates: time 0.1231/2.139, allocations: 97.45 MB / 1.395 GB, free: 121.9 MB / 0.8575 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.makefile (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.sim & ./IDEAS_IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe 2>&1)