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.00673/0.00673, allocations: 101.4 kB / 15.73 MB, free: 5.492 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.001287/0.001287, allocations: 189.2 kB / 16.67 MB, free: 5.422 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.351/1.351, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8039/0.8039, allocations: 135.1 MB / 425.7 MB, free: 4.09 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 68.22 kB / 0.5856 GB, free: 21.55 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1681/0.1693, allocations: 80.93 MB / 0.6647 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 0.7393/0.9086, allocations: 369.7 MB / 1.026 GB, free: 12.96 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.5565/1.465, allocations: 33.24 MB / 1.058 GB, free: 48.49 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006744/1.472, allocations: 152.9 kB / 1.058 GB, free: 48.49 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.007933/1.48, allocations: 2.446 MB / 1.061 GB, free: 48.49 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.02244/1.502, allocations: 7.812 MB / 1.068 GB, free: 48.43 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.01141/1.514, allocations: 4.559 MB / 1.073 GB, free: 48.32 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.02008/1.534, allocations: 11.07 MB / 1.084 GB, free: 48.3 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009238/1.543, allocations: 3.962 MB / 1.087 GB, free: 47.89 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01741/1.561, allocations: 5.564 MB / 1.093 GB, free: 47.82 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008072/1.569, allocations: 3.452 MB / 1.096 GB, free: 47.41 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.002296/1.571, allocations: 0.5502 MB / 1.097 GB, free: 47.41 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01562/1.587, allocations: 6.812 MB / 1.103 GB, free: 47.34 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.002513/1.589, allocations: 1.461 MB / 1.105 GB, free: 47.16 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.005999/1.595, allocations: 2.832 MB / 1.108 GB, free: 46.42 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.02037/1.616, allocations: 9.773 MB / 1.117 GB, free: 45.29 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/1.616, allocations: 1.062 kB / 1.117 GB, free: 45.29 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.064e-06/1.616, allocations: 0 / 1.117 GB, free: 45.29 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0002791/1.616, allocations: 1.094 kB / 1.117 GB, free: 45.29 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.01839/1.634, allocations: 5.932 MB / 1.123 GB, free: 42.75 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/1.634, allocations: 9.359 kB / 1.123 GB, free: 42.75 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02954/1.664, allocations: 4.29 MB / 1.127 GB, free: 41.87 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009862/1.674, allocations: 3.695 MB / 1.131 GB, free: 40.35 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006793/1.675, allocations: 311.7 kB / 1.131 GB, free: 40.31 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001991/1.677, allocations: 352.8 kB / 1.131 GB, free: 40.31 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01993/1.697, allocations: 5.693 MB / 1.137 GB, free: 38.7 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001518/1.697, allocations: 2.531 kB / 1.137 GB, free: 38.7 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001308/1.698, allocations: 140.6 kB / 1.137 GB, free: 38.7 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001747/1.698, allocations: 143.6 kB / 1.137 GB, free: 38.68 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0204/1.719, allocations: 6.798 MB / 1.144 GB, free: 35.24 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.03915/1.758, allocations: 22.13 MB / 1.165 GB, free: 15.08 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01033/1.768, allocations: 4.055 MB / 1.169 GB, free: 11.05 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005831/1.774, allocations: 2.259 MB / 1.172 GB, free: 8.797 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01423/1.788, allocations: 8.189 MB / 1.18 GB, free: 372 kB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006935/1.795, allocations: 2.4 MB / 1.182 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=230): time 4.438e-06/1.795, allocations: 4 kB / 1.182 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of matching and sorting (n=230): time 0.03236/1.828, allocations: 8.433 MB / 1.19 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.226e-05/1.828, allocations: 73.41 kB / 1.19 GB, free: 5.32 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009833/1.838, allocations: 4.276 MB / 1.194 GB, free: 1.023 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0006922/1.838, allocations: 77.7 kB / 1.195 GB, free: 0.9414 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.002124/1.841, allocations: 1.826 MB / 1.196 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.001401/1.842, allocations: 0.7979 MB / 1.197 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00312/1.845, allocations: 0.8063 MB / 1.198 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001106/1.845, allocations: 301.1 kB / 1.198 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009047/1.854, allocations: 2.717 MB / 1.201 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009914/1.864, allocations: 3.407 MB / 1.204 GB, free: 6.898 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.01894/1.883, allocations: 5.939 MB / 1.21 GB, free: 0.7695 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.75e-05/1.883, allocations: 4 kB / 1.21 GB, free: 0.7656 MB / 0.8419 GB Notification: Performance of matching and sorting (n=448) (initialization): time 0.02907/1.912, allocations: 7.56 MB / 1.217 GB, free: 9.25 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.464e-05/1.912, allocations: 12 kB / 1.217 GB, free: 9.238 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.974e-05/1.912, allocations: 20 kB / 1.217 GB, free: 9.219 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004282/1.917, allocations: 0.9646 MB / 1.218 GB, free: 8.23 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01002/1.927, allocations: 1.409 MB / 1.22 GB, free: 6.867 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01783/1.945, allocations: 14.47 MB / 1.234 GB, free: 7.395 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01091/1.956, allocations: 1.163 MB / 1.235 GB, free: 6.227 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001292/1.957, allocations: 179.8 kB / 1.235 GB, free: 6.051 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.00353/1.96, allocations: 0.8669 MB / 1.236 GB, free: 5.223 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002177/1.963, allocations: 418.8 kB / 1.236 GB, free: 4.809 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02311/1.986, allocations: 5.78 MB / 1.242 GB, free: 15.01 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.464e-05/1.986, allocations: 24 kB / 1.242 GB, free: 14.98 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.063e-05/1.986, allocations: 0 / 1.242 GB, free: 14.98 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.8e-05/1.986, allocations: 11.95 kB / 1.242 GB, free: 14.97 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03425/2.02, allocations: 10.93 MB / 1.253 GB, free: 4.004 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.073e-05/2.02, allocations: 7.984 kB / 1.253 GB, free: 3.996 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004769/2.025, allocations: 0.6705 MB / 1.253 GB, free: 3.348 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003221/2.028, allocations: 0.7591 MB / 1.254 GB, free: 2.566 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006529/2.029, allocations: 83.84 kB / 1.254 GB, free: 2.484 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01433/2.043, allocations: 11.67 MB / 1.266 GB, free: 5.945 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.555e-06/2.043, allocations: 10.81 kB / 1.266 GB, free: 5.938 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02925/2.073, allocations: 8.213 MB / 1.274 GB, free: 13.64 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003769/2.076, allocations: 1.053 MB / 1.275 GB, free: 12.57 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002236/2.079, allocations: 48 kB / 1.275 GB, free: 12.52 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007303/2.086, allocations: 0.5265 MB / 1.275 GB, free: 12 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008707/2.087, allocations: 173 kB / 1.275 GB, free: 11.83 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007961/2.088, allocations: 103.9 kB / 1.275 GB, free: 11.73 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.009151/2.097, allocations: 2.943 MB / 1.278 GB, free: 8.785 MB / 0.92 GB Notification: Performance of sort global known variables: time 8.71e-07/2.097, allocations: 0 / 1.278 GB, free: 8.785 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.009061/2.106, allocations: 1.533 MB / 1.28 GB, free: 7.25 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.003455/2.109, allocations: 1.044 MB / 1.281 GB, free: 6.453 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.02231/2.132, allocations: 6.393 MB / 1.287 GB, free: 84 kB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.055e-05/2.132, allocations: 0 / 1.287 GB, free: 84 kB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.009193/2.141, allocations: 3.042 MB / 1.29 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01273/2.154, allocations: 2.09 MB / 1.292 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03161/2.185, allocations: 9.133 MB / 1.301 GB, free: 1.82 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003418/2.189, allocations: 2.303 MB / 1.303 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.007063/2.196, allocations: 1.043 MB / 1.304 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001822/2.198, allocations: 363.2 kB / 1.305 GB, free: 14.1 MB / 0.9512 GB Notification: Performance of SimCode: time 8.52e-07/2.198, allocations: 0 / 1.305 GB, free: 14.1 MB / 0.9512 GB Notification: Performance of Templates: time 0.1628/2.361, allocations: 97.45 MB / 1.4 GB, free: 13.77 MB / 1.045 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)