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.001068/0.001068, allocations: 108 kB / 15.6 MB, free: 132 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.00124/0.00124, allocations: 199.7 kB / 16.54 MB, free: 6.672 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.29/1.29, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7248/0.7248, allocations: 132.2 MB / 422.6 MB, free: 1.734 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 61.23 kB / 0.5018 GB, free: 3.84 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4034/0.4046, allocations: 80.19 MB / 0.5801 GB, free: 4.527 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 0.741/1.146, allocations: 369.7 MB / 0.9411 GB, free: 8.715 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.04755/1.193, allocations: 33.26 MB / 0.9736 GB, free: 9.613 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009325/1.203, allocations: 154.8 kB / 0.9737 GB, free: 9.516 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.007688/1.21, allocations: 2.355 MB / 0.976 GB, free: 8.074 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.02379/1.234, allocations: 7.489 MB / 0.9833 GB, free: 3.234 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.01253/1.247, allocations: 4.504 MB / 0.9877 GB, free: 15.06 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01735/1.264, allocations: 11.01 MB / 0.9985 GB, free: 4.016 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007766/1.272, allocations: 3.984 MB / 1.002 GB, free: 15.96 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01454/1.287, allocations: 5.41 MB / 1.008 GB, free: 10.61 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007681/1.294, allocations: 3.437 MB / 1.011 GB, free: 7.168 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.002513/1.297, allocations: 0.5469 MB / 1.012 GB, free: 6.621 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01536/1.312, allocations: 6.744 MB / 1.018 GB, free: 15.86 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.002839/1.315, allocations: 1.468 MB / 1.02 GB, free: 14.39 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.00709/1.322, allocations: 2.827 MB / 1.022 GB, free: 11.55 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.02192/1.344, allocations: 9.665 MB / 1.032 GB, free: 1.859 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 8.626e-06/1.344, allocations: 0 / 1.032 GB, free: 1.859 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.114e-06/1.344, allocations: 0 / 1.032 GB, free: 1.859 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0003225/1.344, allocations: 0 / 1.032 GB, free: 1.859 MB / 0.7012 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.01775/1.362, allocations: 5.931 MB / 1.038 GB, free: 11.82 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/1.362, allocations: 8.031 kB / 1.038 GB, free: 11.82 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.031/1.393, allocations: 4.294 MB / 1.042 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009675/1.403, allocations: 3.548 MB / 1.045 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001788/1.405, allocations: 0.5202 MB / 1.046 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001941/1.407, allocations: 348 kB / 1.046 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01704/1.424, allocations: 5.726 MB / 1.052 GB, free: 13.22 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.042e-05/1.424, allocations: 0 / 1.052 GB, free: 13.22 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004647/1.424, allocations: 132 kB / 1.052 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001182/1.425, allocations: 134.5 kB / 1.052 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02187/1.446, allocations: 6.845 MB / 1.059 GB, free: 6.102 MB / 0.7325 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.04403/1.491, allocations: 22.3 MB / 1.08 GB, free: 14.68 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01159/1.502, allocations: 4.062 MB / 1.084 GB, free: 10.61 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006654/1.509, allocations: 2.262 MB / 1.087 GB, free: 8.352 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01498/1.524, allocations: 8.18 MB / 1.095 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007156/1.531, allocations: 2.408 MB / 1.097 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=230): time 5.54e-06/1.531, allocations: 0 / 1.097 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of matching and sorting (n=230): time 0.03444/1.566, allocations: 8.438 MB / 1.105 GB, free: 4.797 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.915e-05/1.566, allocations: 81.41 kB / 1.105 GB, free: 4.707 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009968/1.576, allocations: 4.284 MB / 1.109 GB, free: 412 kB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0008069/1.576, allocations: 81.7 kB / 1.109 GB, free: 324 kB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.3352/1.912, allocations: 1.814 MB / 1.111 GB, free: 344.2 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.001685/1.913, allocations: 0.7977 MB / 1.112 GB, free: 343.7 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002295/1.916, allocations: 0.8089 MB / 1.113 GB, free: 343.4 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 5.332e-05/1.916, allocations: 302.5 kB / 1.113 GB, free: 343.1 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009727/1.926, allocations: 2.736 MB / 1.116 GB, free: 342.3 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01064/1.936, allocations: 3.42 MB / 1.119 GB, free: 340.8 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.0193/1.956, allocations: 5.964 MB / 1.125 GB, free: 338.4 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.136e-05/1.956, allocations: 4.375 kB / 1.125 GB, free: 338.4 MB / 0.7794 GB Notification: Performance of matching and sorting (n=448) (initialization): time 0.02982/1.985, allocations: 7.589 MB / 1.132 GB, free: 336 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.892e-05/1.986, allocations: 10.62 kB / 1.132 GB, free: 336 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.465e-05/1.986, allocations: 15.44 kB / 1.132 GB, free: 336 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004043/1.99, allocations: 0.9801 MB / 1.133 GB, free: 335.8 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008896/1.999, allocations: 1.411 MB / 1.135 GB, free: 335.7 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01393/2.012, allocations: 14.46 MB / 1.149 GB, free: 322.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01052/2.023, allocations: 1.203 MB / 1.15 GB, free: 322.3 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001141/2.024, allocations: 180 kB / 1.15 GB, free: 322.3 MB / 0.7794 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.00283/2.027, allocations: 0.859 MB / 1.151 GB, free: 321.8 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001636/2.029, allocations: 420 kB / 1.151 GB, free: 321.5 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02103/2.05, allocations: 5.792 MB / 1.157 GB, free: 319.2 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-05/2.05, allocations: 23.72 kB / 1.157 GB, free: 319.2 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.107e-05/2.05, allocations: 7.875 kB / 1.157 GB, free: 319.1 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.474e-05/2.05, allocations: 15.8 kB / 1.157 GB, free: 319.1 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0296/2.079, allocations: 10.92 MB / 1.168 GB, free: 312.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.98e-05/2.08, allocations: 3.719 kB / 1.168 GB, free: 312.1 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004496/2.084, allocations: 0.6705 MB / 1.168 GB, free: 311.9 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003011/2.087, allocations: 0.7698 MB / 1.169 GB, free: 311.5 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005127/2.088, allocations: 81.5 kB / 1.169 GB, free: 311.4 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01101/2.099, allocations: 11.69 MB / 1.181 GB, free: 299.8 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/2.099, allocations: 7.938 kB / 1.181 GB, free: 299.8 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02723/2.126, allocations: 8.214 MB / 1.189 GB, free: 291.5 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003346/2.129, allocations: 1.05 MB / 1.19 GB, free: 290.4 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002087/2.131, allocations: 50.95 kB / 1.19 GB, free: 290.4 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007125/2.139, allocations: 0.5307 MB / 1.19 GB, free: 289.8 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006266/2.139, allocations: 173.6 kB / 1.19 GB, free: 289.7 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004749/2.14, allocations: 107.9 kB / 1.191 GB, free: 289.6 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.006143/2.146, allocations: 2.966 MB / 1.193 GB, free: 286.6 MB / 0.7794 GB Notification: Performance of sort global known variables: time 5.01e-07/2.146, allocations: 3.938 kB / 1.193 GB, free: 286.6 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.005425/2.151, allocations: 1.534 MB / 1.195 GB, free: 285.1 MB / 0.7794 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.002372/2.154, allocations: 1.045 MB / 1.196 GB, free: 284.4 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.02364/2.177, allocations: 7.046 MB / 1.203 GB, free: 277.3 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 8.355e-06/2.177, allocations: 5.312 kB / 1.203 GB, free: 277.3 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.008341/2.186, allocations: 3.034 MB / 1.206 GB, free: 274.2 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01166/2.197, allocations: 2.11 MB / 1.208 GB, free: 272.2 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02673/2.224, allocations: 9.235 MB / 1.217 GB, free: 262.9 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001953/2.226, allocations: 2.309 MB / 1.219 GB, free: 260.6 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.006743/2.233, allocations: 1.048 MB / 1.22 GB, free: 259.6 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001734/2.235, allocations: 363.2 kB / 1.221 GB, free: 259.2 MB / 0.7794 GB Notification: Performance of SimCode: time 6.21e-07/2.235, allocations: 3.938 kB / 1.221 GB, free: 259.2 MB / 0.7794 GB Notification: Performance of Templates: time 0.1277/2.362, allocations: 100.3 MB / 1.318 GB, free: 159.9 MB / 0.7794 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)