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.001067/0.001067, allocations: 107.1 kB / 16.41 MB, free: 6.453 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.001079/0.001079, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.339/1.339, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8299/0.8299, allocations: 132.2 MB / 423.4 MB, free: 6.582 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001245, allocations: 63.86 kB / 0.582 GB, free: 23.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.162/0.1633, allocations: 80.21 MB / 0.6603 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 0.7626/0.9259, allocations: 369.7 MB / 1.021 GB, free: 3.641 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.05669/0.9827, allocations: 33.26 MB / 1.054 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00787/0.9906, allocations: 151.1 kB / 1.054 GB, free: 2.152 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.5399/1.531, allocations: 2.354 MB / 1.056 GB, free: 48.79 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.01998/1.551, allocations: 7.483 MB / 1.064 GB, free: 48.79 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0117/1.562, allocations: 4.53 MB / 1.068 GB, free: 48.74 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.02001/1.582, allocations: 11.05 MB / 1.079 GB, free: 48.73 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007965/1.59, allocations: 3.967 MB / 1.083 GB, free: 48.32 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01501/1.605, allocations: 5.505 MB / 1.088 GB, free: 48.26 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007879/1.613, allocations: 3.45 MB / 1.091 GB, free: 47.92 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.002495/1.616, allocations: 0.5498 MB / 1.092 GB, free: 47.92 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01595/1.632, allocations: 6.796 MB / 1.099 GB, free: 47.84 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.002881/1.635, allocations: 1.464 MB / 1.1 GB, free: 47.66 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.006659/1.641, allocations: 2.828 MB / 1.103 GB, free: 46.93 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.02016/1.662, allocations: 9.775 MB / 1.112 GB, free: 45.79 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 9.077e-06/1.662, allocations: 0 / 1.112 GB, free: 45.79 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.886e-06/1.662, allocations: 3.531 kB / 1.112 GB, free: 45.79 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.000247/1.662, allocations: 0 / 1.112 GB, free: 45.79 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.01673/1.679, allocations: 5.933 MB / 1.118 GB, free: 43.26 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/1.679, allocations: 11.09 kB / 1.118 GB, free: 43.26 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03025/1.709, allocations: 4.288 MB / 1.122 GB, free: 42.99 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009037/1.718, allocations: 3.685 MB / 1.126 GB, free: 42.23 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003927/1.718, allocations: 309.2 kB / 1.126 GB, free: 42.19 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00146/1.72, allocations: 354.1 kB / 1.127 GB, free: 42.19 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01733/1.737, allocations: 5.701 MB / 1.132 GB, free: 40.84 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.832e-05/1.737, allocations: 3.844 kB / 1.132 GB, free: 40.84 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005982/1.738, allocations: 141.8 kB / 1.132 GB, free: 40.84 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001332/1.738, allocations: 138.5 kB / 1.132 GB, free: 40.82 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0215/1.76, allocations: 6.803 MB / 1.139 GB, free: 39.51 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.04129/1.801, allocations: 22.13 MB / 1.161 GB, free: 23.43 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01038/1.811, allocations: 4.046 MB / 1.165 GB, free: 19.41 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006263/1.818, allocations: 2.274 MB / 1.167 GB, free: 17.14 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01485/1.833, allocations: 8.189 MB / 1.175 GB, free: 8.691 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006656/1.839, allocations: 2.398 MB / 1.177 GB, free: 6.285 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=230): time 6.282e-06/1.839, allocations: 0 / 1.177 GB, free: 6.285 MB / 0.8106 GB Notification: Performance of matching and sorting (n=230): time 0.03271/1.872, allocations: 8.427 MB / 1.185 GB, free: 13.74 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.189e-05/1.872, allocations: 77.41 kB / 1.185 GB, free: 13.65 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009434/1.882, allocations: 4.272 MB / 1.19 GB, free: 9.359 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0009948/1.883, allocations: 81.69 kB / 1.19 GB, free: 9.273 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.001986/1.885, allocations: 1.821 MB / 1.191 GB, free: 7.453 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.001533/1.886, allocations: 0.8004 MB / 1.192 GB, free: 6.664 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00203/1.888, allocations: 0.8041 MB / 1.193 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001104/1.888, allocations: 305.1 kB / 1.193 GB, free: 5.551 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008786/1.897, allocations: 2.713 MB / 1.196 GB, free: 2.836 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01005/1.907, allocations: 3.411 MB / 1.199 GB, free: 15.2 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.01929/1.927, allocations: 5.93 MB / 1.205 GB, free: 9.086 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.394e-05/1.927, allocations: 4 kB / 1.205 GB, free: 9.082 MB / 0.8419 GB Notification: Performance of matching and sorting (n=448) (initialization): time 0.02916/1.956, allocations: 7.553 MB / 1.212 GB, free: 1.566 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 4.434e-05/1.956, allocations: 16.44 kB / 1.213 GB, free: 1.551 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.61e-05/1.956, allocations: 20 kB / 1.213 GB, free: 1.531 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004127/1.96, allocations: 0.9701 MB / 1.213 GB, free: 0.5391 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009417/1.97, allocations: 1.404 MB / 1.215 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01715/1.987, allocations: 14.46 MB / 1.229 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0113/1.998, allocations: 1.17 MB / 1.23 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001443/2, allocations: 183.8 kB / 1.23 GB, free: 14.37 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.00394/2.004, allocations: 0.8622 MB / 1.231 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002384/2.006, allocations: 414.8 kB / 1.232 GB, free: 13.13 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02255/2.028, allocations: 5.788 MB / 1.237 GB, free: 7.332 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.925e-05/2.029, allocations: 24 kB / 1.237 GB, free: 7.309 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.24e-05/2.029, allocations: 0 / 1.237 GB, free: 7.309 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.436e-05/2.029, allocations: 11.95 kB / 1.237 GB, free: 7.297 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03504/2.064, allocations: 10.92 MB / 1.248 GB, free: 12.34 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.653e-05/2.064, allocations: 4.078 kB / 1.248 GB, free: 12.34 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005242/2.069, allocations: 0.6668 MB / 1.249 GB, free: 11.69 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003432/2.073, allocations: 0.7684 MB / 1.249 GB, free: 10.9 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009103/2.073, allocations: 91.84 kB / 1.249 GB, free: 10.81 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01497/2.088, allocations: 11.68 MB / 1.261 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.743e-06/2.088, allocations: 4 kB / 1.261 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03174/2.12, allocations: 8.199 MB / 1.269 GB, free: 5.996 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003679/2.124, allocations: 1.061 MB / 1.27 GB, free: 4.91 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002188/2.126, allocations: 48 kB / 1.27 GB, free: 4.863 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007712/2.134, allocations: 0.5228 MB / 1.27 GB, free: 4.34 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000913/2.135, allocations: 166.9 kB / 1.271 GB, free: 4.18 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008792/2.136, allocations: 115.9 kB / 1.271 GB, free: 4.066 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.008483/2.144, allocations: 2.939 MB / 1.274 GB, free: 1.125 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.352e-06/2.144, allocations: 0 / 1.274 GB, free: 1.125 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.00836/2.153, allocations: 1.533 MB / 1.275 GB, free: 15.59 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.003419/2.156, allocations: 1.043 MB / 1.276 GB, free: 14.84 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.02316/2.179, allocations: 6.378 MB / 1.282 GB, free: 8.477 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.185e-05/2.179, allocations: 4 kB / 1.282 GB, free: 8.473 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.009596/2.189, allocations: 3.044 MB / 1.285 GB, free: 5.402 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.013/2.202, allocations: 2.1 MB / 1.287 GB, free: 3.355 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03148/2.234, allocations: 9.245 MB / 1.296 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003154/2.237, allocations: 2.28 MB / 1.299 GB, free: 7.785 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003287/2.24, allocations: 427.1 kB / 1.299 GB, free: 7.367 MB / 0.9356 GB Notification: Performance of SimCode: time 1.193e-06/2.24, allocations: 0 / 1.299 GB, free: 7.367 MB / 0.9356 GB Notification: Performance of Templates: time 0.5717/2.812, allocations: 261 MB / 1.554 GB, free: 453.1 MB / 1.061 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)