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.001544/0.001544, allocations: 101.6 kB / 16.27 MB, free: 5.852 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.001525/0.001525, allocations: 188.7 kB / 17.19 MB, free: 5.5 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.37/1.37, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.788/0.788, allocations: 132.2 MB / 423.2 MB, free: 6.633 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001464/0.001464, allocations: 67.91 kB / 0.5024 GB, free: 11.66 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4131/0.4146, allocations: 80.19 MB / 0.5807 GB, free: 27.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 0.7186/1.133, allocations: 369.7 MB / 0.9417 GB, free: 1.852 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.04944/1.183, allocations: 33.26 MB / 0.9742 GB, free: 0.5039 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009152/1.192, allocations: 159.1 kB / 0.9744 GB, free: 356 kB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.008176/1.2, allocations: 2.356 MB / 0.9767 GB, free: 13.97 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.02468/1.225, allocations: 7.488 MB / 0.984 GB, free: 6.453 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.0137/1.239, allocations: 4.498 MB / 0.9884 GB, free: 1.988 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.01687/1.256, allocations: 11.01 MB / 0.9991 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008913/1.264, allocations: 3.973 MB / 1.003 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01686/1.281, allocations: 5.417 MB / 1.008 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00779/1.289, allocations: 3.439 MB / 1.012 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.002635/1.292, allocations: 0.5469 MB / 1.012 GB, free: 9.559 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01737/1.309, allocations: 6.74 MB / 1.019 GB, free: 2.805 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.003302/1.313, allocations: 1.468 MB / 1.02 GB, free: 1.332 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.008196/1.321, allocations: 2.835 MB / 1.023 GB, free: 14.48 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.02455/1.345, allocations: 9.661 MB / 1.032 GB, free: 4.797 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 9.217e-06/1.345, allocations: 0 / 1.032 GB, free: 4.797 MB / 0.7481 GB Notification: Performance of FrontEnd: time 4.378e-06/1.346, allocations: 0 / 1.032 GB, free: 4.797 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.0003229/1.346, allocations: 3.938 kB / 1.032 GB, free: 4.793 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.3563/1.702, allocations: 5.926 MB / 1.038 GB, free: 326.6 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.435e-05/1.702, allocations: 9.188 kB / 1.038 GB, free: 326.6 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03179/1.734, allocations: 4.301 MB / 1.042 GB, free: 326.3 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008383/1.742, allocations: 3.548 MB / 1.046 GB, free: 324 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001537/1.744, allocations: 0.5159 MB / 1.046 GB, free: 323.8 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001303/1.745, allocations: 352.3 kB / 1.047 GB, free: 323.7 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0154/1.761, allocations: 5.719 MB / 1.052 GB, free: 320.4 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.328e-05/1.761, allocations: 3.938 kB / 1.052 GB, free: 320.4 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004608/1.761, allocations: 139.7 kB / 1.052 GB, free: 320.3 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001042/1.761, allocations: 133.3 kB / 1.053 GB, free: 320.3 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01874/1.78, allocations: 6.843 MB / 1.059 GB, free: 317.1 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.03643/1.817, allocations: 22.29 MB / 1.081 GB, free: 296.7 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01018/1.827, allocations: 4.073 MB / 1.085 GB, free: 292.7 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006067/1.833, allocations: 2.269 MB / 1.087 GB, free: 290.4 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01268/1.846, allocations: 8.181 MB / 1.095 GB, free: 281.9 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006218/1.852, allocations: 2.389 MB / 1.098 GB, free: 279.5 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=230): time 4.699e-06/1.852, allocations: 4 kB / 1.098 GB, free: 279.5 MB / 0.7481 GB Notification: Performance of matching and sorting (n=230): time 0.03087/1.883, allocations: 8.435 MB / 1.106 GB, free: 271 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.33e-05/1.883, allocations: 77.41 kB / 1.106 GB, free: 270.9 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00744/1.89, allocations: 4.291 MB / 1.11 GB, free: 266.6 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0008972/1.891, allocations: 81.53 kB / 1.11 GB, free: 266.5 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.001343/1.893, allocations: 1.816 MB / 1.112 GB, free: 264.7 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.001112/1.894, allocations: 0.7965 MB / 1.113 GB, free: 263.9 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001635/1.895, allocations: 0.8041 MB / 1.113 GB, free: 263.1 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 4.851e-05/1.896, allocations: 305.1 kB / 1.114 GB, free: 262.8 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008514/1.904, allocations: 2.743 MB / 1.116 GB, free: 260 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009461/1.914, allocations: 3.416 MB / 1.12 GB, free: 256.4 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.01903/1.933, allocations: 5.967 MB / 1.126 GB, free: 250.2 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.44e-05/1.933, allocations: 4 kB / 1.126 GB, free: 250.2 MB / 0.7481 GB Notification: Performance of matching and sorting (n=448) (initialization): time 0.02706/1.96, allocations: 7.582 MB / 1.133 GB, free: 242.5 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.826e-05/1.96, allocations: 16.09 kB / 1.133 GB, free: 242.5 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.722e-05/1.96, allocations: 12 kB / 1.133 GB, free: 242.5 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003905/1.964, allocations: 0.9694 MB / 1.134 GB, free: 241.5 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008806/1.973, allocations: 1.416 MB / 1.135 GB, free: 240.1 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01374/1.986, allocations: 14.48 MB / 1.15 GB, free: 224.6 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0107/1.997, allocations: 1.195 MB / 1.151 GB, free: 223.4 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00115/1.998, allocations: 183.8 kB / 1.151 GB, free: 223.2 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.002322/2.001, allocations: 0.8573 MB / 1.152 GB, free: 222.3 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001455/2.002, allocations: 422.8 kB / 1.152 GB, free: 221.9 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02057/2.023, allocations: 5.787 MB / 1.158 GB, free: 216.1 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.441e-05/2.023, allocations: 24 kB / 1.158 GB, free: 216.1 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.218e-06/2.023, allocations: 4 kB / 1.158 GB, free: 216.1 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.989e-05/2.023, allocations: 11.95 kB / 1.158 GB, free: 216.1 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02797/2.051, allocations: 10.91 MB / 1.168 GB, free: 205 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.228e-05/2.051, allocations: 7.891 kB / 1.168 GB, free: 205 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004767/2.056, allocations: 0.6749 MB / 1.169 GB, free: 204.4 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003086/2.059, allocations: 0.7596 MB / 1.17 GB, free: 203.6 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006187/2.059, allocations: 83.91 kB / 1.17 GB, free: 203.5 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01149/2.071, allocations: 11.69 MB / 1.181 GB, free: 190.9 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/2.071, allocations: 4 kB / 1.181 GB, free: 190.9 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02688/2.098, allocations: 8.214 MB / 1.189 GB, free: 182.6 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003829/2.102, allocations: 1.057 MB / 1.19 GB, free: 181.5 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001353/2.103, allocations: 51.98 kB / 1.19 GB, free: 181.4 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006559/2.11, allocations: 0.5305 MB / 1.191 GB, free: 180.9 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004437/2.11, allocations: 169.7 kB / 1.191 GB, free: 180.8 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003307/2.11, allocations: 111.9 kB / 1.191 GB, free: 180.6 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.005466/2.116, allocations: 2.966 MB / 1.194 GB, free: 177.7 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.1e-07/2.116, allocations: 3.938 kB / 1.194 GB, free: 177.7 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.005395/2.121, allocations: 1.536 MB / 1.196 GB, free: 176.2 MB / 0.7481 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.002276/2.124, allocations: 1.051 MB / 1.197 GB, free: 175.4 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.02459/2.148, allocations: 7.042 MB / 1.204 GB, free: 168.4 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 9.007e-06/2.148, allocations: 0 / 1.204 GB, free: 168.4 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.008151/2.156, allocations: 3.042 MB / 1.207 GB, free: 165.2 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009994/2.166, allocations: 2.092 MB / 1.209 GB, free: 163.3 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0248/2.191, allocations: 9.362 MB / 1.218 GB, free: 153.9 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001411/2.193, allocations: 2.27 MB / 1.22 GB, free: 151.6 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002548/2.195, allocations: 431.1 kB / 1.22 GB, free: 151.2 MB / 0.7481 GB Notification: Performance of SimCode: time 6.51e-07/2.195, allocations: 3.938 kB / 1.22 GB, free: 151.2 MB / 0.7481 GB Notification: Performance of Templates: time 0.482/2.677, allocations: 259.9 MB / 1.474 GB, free: 223.3 MB / 0.7481 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)