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.001123/0.001123, allocations: 103.4 kB / 16.35 MB, free: 6.289 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.001229/0.001229, allocations: 193.5 kB / 17.29 MB, free: 5.855 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.369/1.369, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8058/0.8058, allocations: 132.2 MB / 423.3 MB, free: 6.645 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 67.83 kB / 0.5032 GB, free: 10.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3934/0.3947, allocations: 80.19 MB / 0.5815 GB, free: 27.65 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 0.6551/1.05, allocations: 369.7 MB / 0.9425 GB, free: 1.387 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.05041/1.1, allocations: 33.26 MB / 0.975 GB, free: 40 kB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00818/1.109, allocations: 155.2 kB / 0.9751 GB, free: 15.88 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.007195/1.116, allocations: 2.364 MB / 0.9774 GB, free: 13.5 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.02235/1.138, allocations: 7.482 MB / 0.9847 GB, free: 5.996 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.01187/1.15, allocations: 4.53 MB / 0.9892 GB, free: 1.496 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0175/1.168, allocations: 11.03 MB / 0.9999 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006944/1.175, allocations: 3.976 MB / 1.004 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01397/1.189, allocations: 5.439 MB / 1.009 GB, free: 13 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007233/1.196, allocations: 3.451 MB / 1.013 GB, free: 9.551 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.002098/1.198, allocations: 0.5508 MB / 1.013 GB, free: 9 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01502/1.213, allocations: 6.789 MB / 1.02 GB, free: 2.199 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.002815/1.216, allocations: 1.456 MB / 1.021 GB, free: 0.7383 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.005655/1.222, allocations: 2.835 MB / 1.024 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.01781/1.239, allocations: 9.77 MB / 1.033 GB, free: 4.094 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/1.239, allocations: 4 kB / 1.033 GB, free: 4.09 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.844e-06/1.239, allocations: 0 / 1.033 GB, free: 4.09 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.0001785/1.24, allocations: 0 / 1.033 GB, free: 4.09 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.3004/1.54, allocations: 5.925 MB / 1.039 GB, free: 326.7 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/1.54, allocations: 10.12 kB / 1.039 GB, free: 326.7 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03096/1.571, allocations: 4.288 MB / 1.043 GB, free: 326.4 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008253/1.579, allocations: 3.693 MB / 1.047 GB, free: 323.9 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002968/1.58, allocations: 304 kB / 1.047 GB, free: 323.7 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001087/1.581, allocations: 356.7 kB / 1.048 GB, free: 323.6 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01515/1.596, allocations: 5.696 MB / 1.053 GB, free: 320.4 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.19e-05/1.596, allocations: 3.969 kB / 1.053 GB, free: 320.4 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004811/1.596, allocations: 139.3 kB / 1.053 GB, free: 320.3 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001072/1.597, allocations: 129.1 kB / 1.053 GB, free: 320.3 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01886/1.615, allocations: 6.807 MB / 1.06 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.03765/1.653, allocations: 22.13 MB / 1.082 GB, free: 296.4 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009511/1.663, allocations: 4.066 MB / 1.086 GB, free: 292.4 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00561/1.668, allocations: 2.27 MB / 1.088 GB, free: 290.1 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01365/1.682, allocations: 8.185 MB / 1.096 GB, free: 281.6 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005876/1.688, allocations: 2.396 MB / 1.098 GB, free: 279.2 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=230): time 4.558e-06/1.688, allocations: 0 / 1.098 GB, free: 279.2 MB / 0.7481 GB Notification: Performance of matching and sorting (n=230): time 0.02814/1.716, allocations: 8.429 MB / 1.106 GB, free: 270.7 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.458e-05/1.716, allocations: 77.41 kB / 1.107 GB, free: 270.6 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006409/1.723, allocations: 4.279 MB / 1.111 GB, free: 266.3 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0006292/1.723, allocations: 73.7 kB / 1.111 GB, free: 266.2 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.001177/1.724, allocations: 1.809 MB / 1.113 GB, free: 264.4 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008396/1.725, allocations: 0.8 MB / 1.113 GB, free: 263.6 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001424/1.727, allocations: 0.8002 MB / 1.114 GB, free: 262.8 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 4.231e-05/1.727, allocations: 309.1 kB / 1.114 GB, free: 262.5 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0074/1.734, allocations: 2.715 MB / 1.117 GB, free: 259.8 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007859/1.742, allocations: 3.404 MB / 1.12 GB, free: 256.1 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.01544/1.757, allocations: 5.946 MB / 1.126 GB, free: 250 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.686e-05/1.757, allocations: 8 kB / 1.126 GB, free: 249.9 MB / 0.7481 GB Notification: Performance of matching and sorting (n=448) (initialization): time 0.02466/1.782, allocations: 7.547 MB / 1.134 GB, free: 242.3 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.637e-05/1.782, allocations: 12.5 kB / 1.134 GB, free: 242.3 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.706e-05/1.782, allocations: 20 kB / 1.134 GB, free: 242.3 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004404/1.787, allocations: 0.9664 MB / 1.135 GB, free: 241.3 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01113/1.798, allocations: 1.404 MB / 1.136 GB, free: 239.9 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01695/1.815, allocations: 14.47 MB / 1.15 GB, free: 224.4 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01396/1.829, allocations: 1.167 MB / 1.151 GB, free: 223.2 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001442/1.83, allocations: 179.8 kB / 1.151 GB, free: 223.1 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.004042/1.834, allocations: 0.8648 MB / 1.152 GB, free: 222.2 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002438/1.837, allocations: 414.8 kB / 1.153 GB, free: 221.8 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01987/1.857, allocations: 5.787 MB / 1.158 GB, free: 216 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.247e-05/1.857, allocations: 24 kB / 1.158 GB, free: 215.9 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.178e-05/1.857, allocations: 0 / 1.158 GB, free: 215.9 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.537e-05/1.857, allocations: 11.95 kB / 1.158 GB, free: 215.9 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02784/1.885, allocations: 10.93 MB / 1.169 GB, free: 204.9 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.988e-05/1.885, allocations: 8 kB / 1.169 GB, free: 204.9 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004361/1.889, allocations: 0.6669 MB / 1.17 GB, free: 204.2 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00285/1.892, allocations: 0.7591 MB / 1.17 GB, free: 203.5 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000513/1.893, allocations: 83.91 kB / 1.17 GB, free: 203.4 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01149/1.904, allocations: 11.68 MB / 1.182 GB, free: 190.8 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.472e-06/1.904, allocations: 7.938 kB / 1.182 GB, free: 190.8 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02618/1.93, allocations: 8.202 MB / 1.19 GB, free: 182.5 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003325/1.934, allocations: 1.053 MB / 1.191 GB, free: 181.4 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001118/1.935, allocations: 47.98 kB / 1.191 GB, free: 181.4 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005876/1.941, allocations: 0.5228 MB / 1.191 GB, free: 180.8 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003897/1.941, allocations: 169.7 kB / 1.192 GB, free: 180.7 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003039/1.941, allocations: 107.9 kB / 1.192 GB, free: 180.6 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.004933/1.946, allocations: 2.943 MB / 1.195 GB, free: 177.6 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.052e-06/1.946, allocations: 0 / 1.195 GB, free: 177.6 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.004476/1.951, allocations: 1.537 MB / 1.196 GB, free: 176.1 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.002128/1.953, allocations: 1.048 MB / 1.197 GB, free: 175.4 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.01871/1.972, allocations: 6.398 MB / 1.203 GB, free: 168.9 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 9.087e-06/1.972, allocations: 8 kB / 1.203 GB, free: 168.9 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.008092/1.98, allocations: 3.041 MB / 1.206 GB, free: 165.8 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01047/1.99, allocations: 2.086 MB / 1.208 GB, free: 163.8 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02473/2.015, allocations: 9.134 MB / 1.217 GB, free: 154.7 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001475/2.017, allocations: 2.294 MB / 1.22 GB, free: 152.3 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.005305/2.022, allocations: 1.036 MB / 1.221 GB, free: 151.3 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001619/2.024, allocations: 375.2 kB / 1.221 GB, free: 151 MB / 0.7481 GB Notification: Performance of SimCode: time 8.82e-07/2.024, allocations: 3.938 kB / 1.221 GB, free: 150.9 MB / 0.7481 GB Notification: Performance of Templates: time 0.1207/2.144, allocations: 96.49 MB / 1.315 GB, free: 55.25 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 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe 2>&1)