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.001121/0.001126, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.008842/0.008842, allocations: 172.4 kB / 16.26 MB, free: 6.613 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.417/1.417, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.932/0.932, allocations: 135.3 MB / 426.7 MB, free: 14.14 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003261/0.0003262, allocations: 16.64 kB / 0.5076 GB, free: 4.785 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1591/0.1594, allocations: 82.31 MB / 0.588 GB, free: 2.645 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 1.005/1.165, allocations: 362.2 MB / 0.9416 GB, free: 23.81 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.04447/1.209, allocations: 33.2 MB / 0.9741 GB, free: 23.07 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006822/1.216, allocations: 129 kB / 0.9742 GB, free: 23.07 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0065/1.222, allocations: 1.953 MB / 0.9761 GB, free: 23.02 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.02573/1.248, allocations: 6.923 MB / 0.9829 GB, free: 20.99 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.01237/1.261, allocations: 4.104 MB / 0.9869 GB, free: 18.5 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01571/1.276, allocations: 13.62 MB / 1 GB, free: 13.22 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005297/1.282, allocations: 3.18 MB / 1.003 GB, free: 11.43 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0136/1.295, allocations: 4.614 MB / 1.008 GB, free: 8.664 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005953/1.301, allocations: 3.205 MB / 1.011 GB, free: 5.691 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0008756/1.302, allocations: 196 kB / 1.011 GB, free: 5.5 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01291/1.315, allocations: 7.193 MB / 1.018 GB, free: 14.99 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001514/1.317, allocations: 1.088 MB / 1.019 GB, free: 13.93 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.004316/1.321, allocations: 2.437 MB / 1.022 GB, free: 11.5 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.02153/1.343, allocations: 9.568 MB / 1.031 GB, free: 2.402 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/1.343, allocations: 4 kB / 1.031 GB, free: 2.398 MB / 0.6856 GB Notification: Performance of FrontEnd: time 4.799e-06/1.343, allocations: 0 / 1.031 GB, free: 2.398 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0002469/1.343, allocations: 7.938 kB / 1.031 GB, free: 2.391 MB / 0.6856 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.01347/1.356, allocations: 4.952 MB / 1.036 GB, free: 13.39 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/1.356, allocations: 8.031 kB / 1.036 GB, free: 13.38 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03117/1.388, allocations: 4.561 MB / 1.04 GB, free: 8.82 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008562/1.396, allocations: 3.599 MB / 1.044 GB, free: 5.238 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001608/1.398, allocations: 0.5665 MB / 1.044 GB, free: 4.668 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001479/1.399, allocations: 351.9 kB / 1.045 GB, free: 4.324 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01673/1.416, allocations: 5.822 MB / 1.05 GB, free: 14.43 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.515e-05/1.416, allocations: 7.938 kB / 1.05 GB, free: 14.42 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004795/1.417, allocations: 135.9 kB / 1.05 GB, free: 14.29 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001536/1.417, allocations: 134.5 kB / 1.051 GB, free: 14.15 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02264/1.439, allocations: 7.044 MB / 1.057 GB, free: 7.102 MB / 0.7169 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.04407/1.484, allocations: 22.46 MB / 1.079 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01258/1.496, allocations: 4.152 MB / 1.083 GB, free: 11.55 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007578/1.504, allocations: 2.335 MB / 1.086 GB, free: 9.219 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01639/1.52, allocations: 8.192 MB / 1.094 GB, free: 0.7266 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00738/1.528, allocations: 2.467 MB / 1.096 GB, free: 14.25 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=230): time 5.841e-06/1.528, allocations: 3.938 kB / 1.096 GB, free: 14.25 MB / 0.7637 GB Notification: Performance of matching and sorting (n=230): time 0.03417/1.562, allocations: 8.69 MB / 1.105 GB, free: 5.426 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.506e-05/1.562, allocations: 81.34 kB / 1.105 GB, free: 5.332 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008853/1.571, allocations: 4.311 MB / 1.109 GB, free: 1 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0006581/1.571, allocations: 73.7 kB / 1.109 GB, free: 0.9219 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.002031/1.574, allocations: 1.842 MB / 1.111 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.001212/1.575, allocations: 0.7916 MB / 1.112 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006655/1.575, allocations: 316.8 kB / 1.112 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001288/1.576, allocations: 305.1 kB / 1.112 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00993/1.585, allocations: 2.825 MB / 1.115 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01068/1.596, allocations: 3.518 MB / 1.118 GB, free: 7.18 MB / 0.7794 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.01996/1.616, allocations: 6.11 MB / 1.124 GB, free: 0.832 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.097e-05/1.616, allocations: 4 kB / 1.124 GB, free: 0.8281 MB / 0.7794 GB Notification: Performance of matching and sorting (n=448) (initialization): time 0.03191/1.648, allocations: 7.807 MB / 1.132 GB, free: 8.961 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.963e-05/1.648, allocations: 12 kB / 1.132 GB, free: 8.949 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.323e-05/1.648, allocations: 12 kB / 1.132 GB, free: 8.938 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004368/1.653, allocations: 0.9836 MB / 1.133 GB, free: 7.926 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009431/1.662, allocations: 1.436 MB / 1.134 GB, free: 6.488 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01795/1.68, allocations: 13.78 MB / 1.148 GB, free: 7.672 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01166/1.692, allocations: 1.372 MB / 1.149 GB, free: 6.297 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001126/1.693, allocations: 179.8 kB / 1.149 GB, free: 6.121 MB / 0.8106 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: 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.003286/1.696, allocations: 0.8658 MB / 1.15 GB, free: 5.246 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001777/1.698, allocations: 422.8 kB / 1.151 GB, free: 4.828 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3441/2.042, allocations: 5.941 MB / 1.156 GB, free: 341.2 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.726e-05/2.042, allocations: 28.81 kB / 1.156 GB, free: 341.2 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.686e-05/2.042, allocations: 0 / 1.156 GB, free: 341.2 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.336e-05/2.042, allocations: 12.75 kB / 1.156 GB, free: 341.2 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02842/2.071, allocations: 11.06 MB / 1.167 GB, free: 339.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-05/2.071, allocations: 3.031 kB / 1.167 GB, free: 339.3 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004866/2.076, allocations: 0.698 MB / 1.168 GB, free: 339.3 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00356/2.079, allocations: 0.807 MB / 1.169 GB, free: 339.1 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005698/2.08, allocations: 81.62 kB / 1.169 GB, free: 339.1 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01113/2.091, allocations: 11.03 MB / 1.179 GB, free: 329.3 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/2.091, allocations: 8.312 kB / 1.18 GB, free: 329.3 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02649/2.118, allocations: 8.435 MB / 1.188 GB, free: 326.5 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002807/2.12, allocations: 1.138 MB / 1.189 GB, free: 326 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009017/2.121, allocations: 52.83 kB / 1.189 GB, free: 326 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006314/2.128, allocations: 0.6489 MB / 1.19 GB, free: 326 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004045/2.128, allocations: 168.9 kB / 1.19 GB, free: 326 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002861/2.128, allocations: 109.2 kB / 1.19 GB, free: 325.9 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.00575/2.134, allocations: 2.978 MB / 1.193 GB, free: 324.9 MB / 0.8106 GB Notification: Performance of sort global known variables: time 5.41e-07/2.134, allocations: 1.594 kB / 1.193 GB, free: 324.9 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.005583/2.14, allocations: 1.549 MB / 1.194 GB, free: 324.7 MB / 0.8106 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.002442/2.142, allocations: 1.04 MB / 1.195 GB, free: 324.6 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.02133/2.164, allocations: 6.512 MB / 1.202 GB, free: 322.4 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 9.418e-06/2.164, allocations: 1.125 kB / 1.202 GB, free: 322.4 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.008843/2.172, allocations: 3.1 MB / 1.205 GB, free: 320.9 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01356/2.186, allocations: 2.054 MB / 1.207 GB, free: 320.4 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02697/2.213, allocations: 10.92 MB / 1.217 GB, free: 314.8 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002306/2.215, allocations: 2.299 MB / 1.22 GB, free: 313.9 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.007077/2.222, allocations: 1.052 MB / 1.221 GB, free: 313.5 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001878/2.224, allocations: 387.5 kB / 1.221 GB, free: 313.5 MB / 0.8106 GB Notification: Performance of SimCode: time 1.583e-06/2.224, allocations: 0 / 1.221 GB, free: 313.5 MB / 0.8106 GB Notification: Performance of Templates: time 0.1437/2.368, allocations: 98.7 MB / 1.317 GB, free: 233.9 MB / 0.8106 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)