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.001039/0.001039, allocations: 120.2 kB / 16.37 MB, free: 6.016 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.001043/0.001043, allocations: 193 kB / 17.31 MB, free: 5.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.251/1.251, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7606/0.7606, allocations: 135.1 MB / 426.3 MB, free: 4.137 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 67.91 kB / 0.5068 GB, free: 7.68 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3144/0.3156, allocations: 80.9 MB / 0.5858 GB, free: 25.5 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 0.606/0.9216, allocations: 369.7 MB / 0.9468 GB, free: 11.84 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.04676/0.9684, allocations: 33.27 MB / 0.9793 GB, free: 10.49 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007496/0.976, allocations: 147.2 kB / 0.9794 GB, free: 10.35 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.006591/0.9827, allocations: 2.356 MB / 0.9817 GB, free: 7.977 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.02264/1.005, allocations: 7.478 MB / 0.989 GB, free: 476 kB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.01104/1.016, allocations: 4.551 MB / 0.9934 GB, free: 11.95 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01449/1.031, allocations: 11.04 MB / 1.004 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006238/1.037, allocations: 3.976 MB / 1.008 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01305/1.05, allocations: 5.433 MB / 1.013 GB, free: 7.457 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007394/1.058, allocations: 3.449 MB / 1.017 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.002256/1.06, allocations: 0.5469 MB / 1.017 GB, free: 3.457 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01444/1.074, allocations: 6.789 MB / 1.024 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.002392/1.077, allocations: 1.468 MB / 1.025 GB, free: 11.18 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.003956/1.081, allocations: 2.831 MB / 1.028 GB, free: 8.34 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.3845/1.465, allocations: 9.761 MB / 1.038 GB, free: 54.55 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 7.835e-06/1.465, allocations: 0.7656 kB / 1.038 GB, free: 54.55 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.803e-06/1.465, allocations: 0 / 1.038 GB, free: 54.55 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.000282/1.466, allocations: 2.266 kB / 1.038 GB, free: 54.55 MB / 0.7481 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.02002/1.486, allocations: 5.933 MB / 1.043 GB, free: 52.47 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 6.737e-05/1.486, allocations: 10.89 kB / 1.043 GB, free: 52.47 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03014/1.516, allocations: 4.282 MB / 1.048 GB, free: 52.13 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009185/1.525, allocations: 3.694 MB / 1.051 GB, free: 51.36 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004303/1.526, allocations: 309.6 kB / 1.052 GB, free: 51.32 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001592/1.527, allocations: 355.3 kB / 1.052 GB, free: 51.32 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01734/1.545, allocations: 5.696 MB / 1.057 GB, free: 50.96 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001378/1.545, allocations: 7.312 kB / 1.057 GB, free: 50.96 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001188/1.546, allocations: 128.7 kB / 1.058 GB, free: 50.96 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001321/1.546, allocations: 141.6 kB / 1.058 GB, free: 50.95 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02069/1.567, allocations: 6.805 MB / 1.064 GB, free: 50.8 MB / 0.7481 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.0472/1.614, allocations: 22.12 MB / 1.086 GB, free: 43.07 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01097/1.625, allocations: 4.058 MB / 1.09 GB, free: 42.94 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006157/1.631, allocations: 2.262 MB / 1.092 GB, free: 42.88 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01477/1.646, allocations: 8.188 MB / 1.1 GB, free: 40.44 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006294/1.652, allocations: 2.389 MB / 1.102 GB, free: 40.32 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=230): time 4.359e-06/1.652, allocations: 0 / 1.102 GB, free: 40.32 MB / 0.7481 GB Notification: Performance of matching and sorting (n=230): time 0.03027/1.683, allocations: 8.441 MB / 1.111 GB, free: 39.18 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.007e-05/1.683, allocations: 78.94 kB / 1.111 GB, free: 39.11 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008647/1.691, allocations: 4.274 MB / 1.115 GB, free: 38.71 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0008838/1.692, allocations: 77.55 kB / 1.115 GB, free: 38.68 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.001603/1.694, allocations: 1.817 MB / 1.117 GB, free: 38.1 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.00123/1.695, allocations: 0.7983 MB / 1.118 GB, free: 37.59 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002823/1.698, allocations: 0.8026 MB / 1.118 GB, free: 37.54 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 4.243e-05/1.698, allocations: 303.7 kB / 1.119 GB, free: 37.24 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008138/1.706, allocations: 2.72 MB / 1.121 GB, free: 37.13 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008771/1.715, allocations: 3.403 MB / 1.125 GB, free: 35.89 MB / 0.7481 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.01625/1.731, allocations: 5.947 MB / 1.13 GB, free: 33.7 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-05/1.731, allocations: 4 kB / 1.13 GB, free: 33.7 MB / 0.7481 GB Notification: Performance of matching and sorting (n=448) (initialization): time 0.02405/1.755, allocations: 7.548 MB / 1.138 GB, free: 28.05 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.402e-05/1.755, allocations: 13.56 kB / 1.138 GB, free: 28.04 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.731e-05/1.755, allocations: 20.92 kB / 1.138 GB, free: 28.02 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003438/1.759, allocations: 0.9653 MB / 1.139 GB, free: 27.17 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007813/1.767, allocations: 1.402 MB / 1.14 GB, free: 25.85 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01252/1.779, allocations: 14.47 MB / 1.154 GB, free: 11.59 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01025/1.79, allocations: 1.175 MB / 1.155 GB, free: 10.47 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001095/1.791, allocations: 183.3 kB / 1.156 GB, free: 10.32 MB / 0.7481 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.002052/1.793, allocations: 0.861 MB / 1.156 GB, free: 9.52 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001236/1.794, allocations: 422.8 kB / 1.157 GB, free: 9.102 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01774/1.812, allocations: 5.793 MB / 1.163 GB, free: 3.305 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.46e-05/1.812, allocations: 28.55 kB / 1.163 GB, free: 3.277 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/1.812, allocations: 0 / 1.163 GB, free: 3.277 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.084e-05/1.812, allocations: 11.95 kB / 1.163 GB, free: 3.266 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02756/1.839, allocations: 10.91 MB / 1.173 GB, free: 8.32 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.982e-05/1.839, allocations: 4.766 kB / 1.173 GB, free: 8.316 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004749/1.844, allocations: 0.6671 MB / 1.174 GB, free: 7.672 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003108/1.847, allocations: 0.7622 MB / 1.175 GB, free: 6.887 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007522/1.848, allocations: 83.91 kB / 1.175 GB, free: 6.805 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01348/1.862, allocations: 11.69 MB / 1.186 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.975e-06/1.862, allocations: 11.44 kB / 1.186 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02795/1.89, allocations: 8.205 MB / 1.194 GB, free: 1.977 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003612/1.893, allocations: 1.053 MB / 1.195 GB, free: 0.8984 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001333/1.895, allocations: 44 kB / 1.195 GB, free: 0.8555 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006534/1.901, allocations: 0.5275 MB / 1.196 GB, free: 336 kB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005164/1.902, allocations: 168.6 kB / 1.196 GB, free: 172 kB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004057/1.902, allocations: 111.9 kB / 1.196 GB, free: 60 kB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.006069/1.908, allocations: 2.939 MB / 1.199 GB, free: 13.12 MB / 0.795 GB Notification: Performance of sort global known variables: time 5.21e-07/1.908, allocations: 0 / 1.199 GB, free: 13.12 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.006169/1.914, allocations: 1.534 MB / 1.2 GB, free: 11.58 MB / 0.795 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.002443/1.917, allocations: 1.037 MB / 1.201 GB, free: 10.84 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0205/1.937, allocations: 6.391 MB / 1.208 GB, free: 4.469 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 8.356e-06/1.937, allocations: 1.312 kB / 1.208 GB, free: 4.469 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.00891/1.946, allocations: 3.039 MB / 1.211 GB, free: 1.402 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01063/1.957, allocations: 2.099 MB / 1.213 GB, free: 15.36 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02682/1.984, allocations: 9.13 MB / 1.222 GB, free: 6.227 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002002/1.986, allocations: 2.303 MB / 1.224 GB, free: 3.895 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.005646/1.992, allocations: 1.031 MB / 1.225 GB, free: 2.867 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001549/1.993, allocations: 363.2 kB / 1.225 GB, free: 2.512 MB / 0.8106 GB Notification: Performance of SimCode: time 8.82e-07/1.993, allocations: 0 / 1.225 GB, free: 2.512 MB / 0.8106 GB Notification: Performance of Templates: time 0.1466/2.14, allocations: 96.52 MB / 1.319 GB, free: 3.184 MB / 0.9044 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 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe 2>&1)