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.0009821/0.0009821, allocations: 98.09 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 181.5 kB / 16.92 MB, free: 6.918 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.36/1.36, allocations: 223.3 MB / 241 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9152/0.9152, allocations: 135.3 MB / 427.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003579/0.0003579, allocations: 9.156 kB / 0.5082 GB, free: 4.762 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1617/0.1621, allocations: 82.3 MB / 0.5886 GB, free: 2.637 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 1.037/1.199, allocations: 362.2 MB / 0.9423 GB, free: 23.75 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.0399/1.239, allocations: 33.2 MB / 0.9747 GB, free: 23.01 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006456/1.245, allocations: 130.1 kB / 0.9748 GB, free: 23.01 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.006747/1.252, allocations: 1.944 MB / 0.9767 GB, free: 22.96 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01923/1.272, allocations: 6.937 MB / 0.9835 GB, free: 20.84 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.01059/1.282, allocations: 4.102 MB / 0.9875 GB, free: 18.35 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01515/1.297, allocations: 13.62 MB / 1.001 GB, free: 13.07 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005439/1.303, allocations: 3.178 MB / 1.004 GB, free: 11.29 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01461/1.317, allocations: 4.615 MB / 1.008 GB, free: 8.555 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006539/1.324, allocations: 3.217 MB / 1.012 GB, free: 5.57 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.001419/1.325, allocations: 192 kB / 1.012 GB, free: 5.383 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0146/1.34, allocations: 7.197 MB / 1.019 GB, free: 14.87 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.002281/1.342, allocations: 1.078 MB / 1.02 GB, free: 13.82 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.005866/1.348, allocations: 2.436 MB / 1.022 GB, free: 11.39 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01193/1.36, allocations: 7.225 MB / 1.029 GB, free: 4.504 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/1.36, allocations: 0 / 1.029 GB, free: 4.504 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.645e-06/1.36, allocations: 0 / 1.029 GB, free: 4.504 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0001803/1.36, allocations: 0 / 1.029 GB, free: 4.504 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.01283/1.373, allocations: 4.962 MB / 1.034 GB, free: 15.49 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/1.373, allocations: 8.031 kB / 1.034 GB, free: 15.48 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03205/1.405, allocations: 4.558 MB / 1.039 GB, free: 10.93 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008973/1.414, allocations: 3.603 MB / 1.042 GB, free: 7.34 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001689/1.416, allocations: 0.567 MB / 1.043 GB, free: 6.766 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001453/1.418, allocations: 351.8 kB / 1.043 GB, free: 6.426 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01716/1.435, allocations: 5.816 MB / 1.049 GB, free: 0.5312 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.458e-05/1.435, allocations: 0 / 1.049 GB, free: 0.5312 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004811/1.435, allocations: 136 kB / 1.049 GB, free: 408 kB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001289/1.436, allocations: 134.5 kB / 1.049 GB, free: 272 kB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0231/1.459, allocations: 7.044 MB / 1.056 GB, free: 9.215 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.04775/1.506, allocations: 22.47 MB / 1.078 GB, free: 1.801 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01264/1.519, allocations: 4.137 MB / 1.082 GB, free: 13.67 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007683/1.527, allocations: 2.331 MB / 1.084 GB, free: 11.34 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0183/1.545, allocations: 8.209 MB / 1.092 GB, free: 2.828 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008168/1.553, allocations: 2.463 MB / 1.094 GB, free: 364 kB / 0.7481 GB Notification: Performance of pre-optimization done (n=230): time 8.325e-06/1.553, allocations: 0 / 1.094 GB, free: 364 kB / 0.7481 GB Notification: Performance of matching and sorting (n=230): time 0.03708/1.591, allocations: 8.702 MB / 1.103 GB, free: 7.52 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.088e-05/1.591, allocations: 81.34 kB / 1.103 GB, free: 7.426 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01066/1.601, allocations: 4.307 MB / 1.107 GB, free: 3.102 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0008918/1.602, allocations: 77.7 kB / 1.107 GB, free: 3.02 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.002285/1.605, allocations: 1.82 MB / 1.109 GB, free: 1.195 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.001557/1.606, allocations: 0.7944 MB / 1.11 GB, free: 420 kB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001248/1.607, allocations: 309.1 kB / 1.11 GB, free: 104 kB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001244/1.608, allocations: 305.1 kB / 1.11 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01003/1.618, allocations: 2.833 MB / 1.113 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01098/1.629, allocations: 3.506 MB / 1.117 GB, free: 9.223 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.02081/1.649, allocations: 6.113 MB / 1.123 GB, free: 2.871 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.67e-05/1.65, allocations: 4 kB / 1.123 GB, free: 2.867 MB / 0.7794 GB Notification: Performance of matching and sorting (n=448) (initialization): time 0.03195/1.681, allocations: 7.807 MB / 1.13 GB, free: 11 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.344e-05/1.682, allocations: 8 kB / 1.13 GB, free: 10.99 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.544e-05/1.682, allocations: 16 kB / 1.13 GB, free: 10.98 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004372/1.686, allocations: 0.9875 MB / 1.131 GB, free: 9.961 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009348/1.695, allocations: 1.436 MB / 1.133 GB, free: 8.523 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01698/1.712, allocations: 13.78 MB / 1.146 GB, free: 9.711 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01168/1.724, allocations: 1.378 MB / 1.147 GB, free: 8.328 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001237/1.725, allocations: 179.8 kB / 1.148 GB, free: 8.152 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.003345/1.729, allocations: 0.8685 MB / 1.148 GB, free: 7.277 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0018/1.731, allocations: 418.8 kB / 1.149 GB, free: 6.863 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02309/1.754, allocations: 5.949 MB / 1.155 GB, free: 0.8828 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.061e-05/1.754, allocations: 24 kB / 1.155 GB, free: 0.8594 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/1.754, allocations: 0 / 1.155 GB, free: 0.8594 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.444e-05/1.754, allocations: 11.95 kB / 1.155 GB, free: 0.8477 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3458/2.1, allocations: 11.06 MB / 1.166 GB, free: 340.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-05/2.1, allocations: 2.594 kB / 1.166 GB, free: 340.7 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004724/2.104, allocations: 0.6975 MB / 1.166 GB, free: 340.7 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003428/2.108, allocations: 0.8023 MB / 1.167 GB, free: 340.5 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005864/2.109, allocations: 84.44 kB / 1.167 GB, free: 340.5 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01119/2.12, allocations: 11.04 MB / 1.178 GB, free: 330.8 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.601e-06/2.12, allocations: 5.406 kB / 1.178 GB, free: 330.8 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02752/2.147, allocations: 8.428 MB / 1.186 GB, free: 328 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00311/2.15, allocations: 1.136 MB / 1.187 GB, free: 327.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001186/2.152, allocations: 49.69 kB / 1.187 GB, free: 327.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006809/2.158, allocations: 0.6525 MB / 1.188 GB, free: 327.5 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005143/2.159, allocations: 170.4 kB / 1.188 GB, free: 327.4 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003596/2.159, allocations: 106.7 kB / 1.188 GB, free: 327.4 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.006332/2.166, allocations: 2.981 MB / 1.191 GB, free: 326.4 MB / 0.8106 GB Notification: Performance of sort global known variables: time 3.91e-07/2.166, allocations: 0 / 1.191 GB, free: 326.4 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.006747/2.173, allocations: 1.553 MB / 1.193 GB, free: 326.3 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.002765/2.175, allocations: 1.045 MB / 1.194 GB, free: 326.1 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.02169/2.197, allocations: 6.504 MB / 1.2 GB, free: 323.9 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.041e-05/2.197, allocations: 0 / 1.2 GB, free: 323.9 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.009326/2.206, allocations: 3.1 MB / 1.203 GB, free: 322.5 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01575/2.222, allocations: 2.042 MB / 1.205 GB, free: 322 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03042/2.253, allocations: 11.05 MB / 1.216 GB, free: 316.4 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002595/2.255, allocations: 2.277 MB / 1.218 GB, free: 315.5 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003088/2.258, allocations: 447.1 kB / 1.218 GB, free: 315.4 MB / 0.8106 GB Notification: Performance of SimCode: time 1.493e-06/2.258, allocations: 0 / 1.218 GB, free: 315.4 MB / 0.8106 GB Notification: Performance of Templates: time 0.2052/2.464, allocations: 259 MB / 1.471 GB, free: 76.55 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)