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.001112/0.001113, allocations: 105.4 kB / 15.99 MB, free: 6.336 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.001177/0.001177, allocations: 192.5 kB / 16.91 MB, free: 6.191 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.312/1.312, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7538/0.7538, allocations: 132.2 MB / 422.9 MB, free: 6.797 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 63.91 kB / 0.5019 GB, free: 12.03 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4023/0.4036, allocations: 80.18 MB / 0.5802 GB, free: 27.31 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 0.7655/1.169, allocations: 365.5 MB / 0.9372 GB, free: 6.125 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.04944/1.219, allocations: 33.06 MB / 0.9694 GB, free: 4.98 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007147/1.226, allocations: 143.1 kB / 0.9696 GB, free: 4.84 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.007331/1.233, allocations: 2.048 MB / 0.9716 GB, free: 2.781 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.02029/1.254, allocations: 6.981 MB / 0.9784 GB, free: 11.77 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.01221/1.266, allocations: 4.161 MB / 0.9825 GB, free: 7.648 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.01613/1.282, allocations: 11.03 MB / 0.9932 GB, free: 12.59 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007588/1.29, allocations: 3.933 MB / 0.9971 GB, free: 8.59 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01683/1.306, allocations: 5.478 MB / 1.002 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007174/1.314, allocations: 3.552 MB / 1.006 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.00211/1.316, allocations: 0.5469 MB / 1.006 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01651/1.332, allocations: 7.016 MB / 1.013 GB, free: 8.031 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.003321/1.336, allocations: 1.468 MB / 1.015 GB, free: 6.559 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.006793/1.342, allocations: 2.831 MB / 1.017 GB, free: 3.715 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.01382/1.356, allocations: 7.469 MB / 1.025 GB, free: 12.23 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 8.396e-06/1.356, allocations: 0 / 1.025 GB, free: 12.23 MB / 0.7481 GB Notification: Performance of FrontEnd: time 5.57e-06/1.356, allocations: 0 / 1.025 GB, free: 12.23 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.0003423/1.357, allocations: 3.938 kB / 1.025 GB, free: 12.23 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.01803/1.375, allocations: 5.931 MB / 1.031 GB, free: 6.188 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/1.375, allocations: 8.031 kB / 1.031 GB, free: 6.18 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03177/1.407, allocations: 4.297 MB / 1.035 GB, free: 1.871 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3515/1.758, allocations: 3.576 MB / 1.038 GB, free: 322.6 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001859/1.76, allocations: 0.519 MB / 1.039 GB, free: 322.4 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001865/1.762, allocations: 360.5 kB / 1.039 GB, free: 322.3 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01916/1.781, allocations: 5.708 MB / 1.045 GB, free: 320.3 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.458e-05/1.781, allocations: 4.75 kB / 1.045 GB, free: 320.3 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005507/1.782, allocations: 141.4 kB / 1.045 GB, free: 320.2 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002337/1.782, allocations: 136.9 kB / 1.045 GB, free: 320.2 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02349/1.806, allocations: 6.837 MB / 1.052 GB, free: 318 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.04524/1.851, allocations: 22.22 MB / 1.073 GB, free: 300.6 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01151/1.862, allocations: 4.057 MB / 1.077 GB, free: 298.6 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006778/1.869, allocations: 2.263 MB / 1.079 GB, free: 297.6 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01718/1.886, allocations: 8.18 MB / 1.087 GB, free: 289.6 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006997/1.893, allocations: 2.401 MB / 1.09 GB, free: 287.2 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=230): time 5.781e-06/1.893, allocations: 0 / 1.09 GB, free: 287.2 MB / 0.7481 GB Notification: Performance of matching and sorting (n=230): time 0.03215/1.926, allocations: 8.431 MB / 1.098 GB, free: 278.8 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.029e-05/1.926, allocations: 81.41 kB / 1.098 GB, free: 278.7 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009241/1.935, allocations: 4.276 MB / 1.102 GB, free: 274.4 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.001043/1.936, allocations: 77.7 kB / 1.102 GB, free: 274.3 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.001865/1.938, allocations: 1.825 MB / 1.104 GB, free: 272.5 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.001607/1.94, allocations: 0.7959 MB / 1.105 GB, free: 271.7 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004047/1.944, allocations: 0.8107 MB / 1.106 GB, free: 270.9 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 6.601e-05/1.944, allocations: 305.1 kB / 1.106 GB, free: 270.6 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008924/1.953, allocations: 2.735 MB / 1.109 GB, free: 267.8 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009808/1.962, allocations: 3.424 MB / 1.112 GB, free: 264.2 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.01773/1.98, allocations: 5.963 MB / 1.118 GB, free: 258 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.344e-05/1.98, allocations: 7.938 kB / 1.118 GB, free: 258 MB / 0.7481 GB Notification: Performance of matching and sorting (n=448) (initialization): time 0.02823/2.009, allocations: 7.587 MB / 1.125 GB, free: 250.3 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 4.072e-05/2.009, allocations: 12 kB / 1.125 GB, free: 250.3 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.963e-05/2.009, allocations: 16 kB / 1.125 GB, free: 250.3 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003902/2.013, allocations: 0.9713 MB / 1.126 GB, free: 249.3 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008557/2.021, allocations: 1.408 MB / 1.128 GB, free: 247.9 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01404/2.035, allocations: 14.56 MB / 1.142 GB, free: 232.3 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01144/2.047, allocations: 1.29 MB / 1.143 GB, free: 231 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001271/2.048, allocations: 183.8 kB / 1.143 GB, free: 230.8 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.003268/2.051, allocations: 0.8646 MB / 1.144 GB, free: 230 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001936/2.053, allocations: 418.8 kB / 1.145 GB, free: 229.6 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02126/2.075, allocations: 5.79 MB / 1.15 GB, free: 223.7 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.949e-05/2.075, allocations: 27.98 kB / 1.15 GB, free: 223.7 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.756e-06/2.075, allocations: 0 / 1.15 GB, free: 223.7 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.792e-05/2.075, allocations: 11.95 kB / 1.15 GB, free: 223.7 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02925/2.104, allocations: 10.9 MB / 1.161 GB, free: 212.7 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.086e-05/2.104, allocations: 4 kB / 1.161 GB, free: 212.7 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004629/2.109, allocations: 0.671 MB / 1.162 GB, free: 212 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003006/2.112, allocations: 0.7634 MB / 1.162 GB, free: 211.2 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006811/2.112, allocations: 91.89 kB / 1.162 GB, free: 211.2 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01123/2.124, allocations: 11.68 MB / 1.174 GB, free: 198.6 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/2.124, allocations: 7.984 kB / 1.174 GB, free: 198.5 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02625/2.15, allocations: 8.202 MB / 1.182 GB, free: 190.2 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003182/2.153, allocations: 1.057 MB / 1.183 GB, free: 189.2 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001793/2.155, allocations: 52.19 kB / 1.183 GB, free: 189.1 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007094/2.162, allocations: 0.6122 MB / 1.183 GB, free: 188.5 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006312/2.163, allocations: 165.7 kB / 1.184 GB, free: 188.3 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005828/2.163, allocations: 111.9 kB / 1.184 GB, free: 188.2 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.007886/2.171, allocations: 2.947 MB / 1.187 GB, free: 185.3 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.232e-06/2.171, allocations: 4 kB / 1.187 GB, free: 185.3 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.00965/2.181, allocations: 1.556 MB / 1.188 GB, free: 183.8 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.003784/2.185, allocations: 1.046 MB / 1.189 GB, free: 183 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.02438/2.209, allocations: 7.038 MB / 1.196 GB, free: 175.9 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 8.456e-06/2.209, allocations: 0 / 1.196 GB, free: 175.9 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.008184/2.217, allocations: 3.038 MB / 1.199 GB, free: 172.8 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01234/2.23, allocations: 2.104 MB / 1.201 GB, free: 170.9 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0285/2.258, allocations: 10.84 MB / 1.212 GB, free: 160 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002476/2.261, allocations: 2.273 MB / 1.214 GB, free: 157.7 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003206/2.264, allocations: 431.1 kB / 1.214 GB, free: 157.3 MB / 0.7481 GB Notification: Performance of SimCode: time 1.192e-06/2.264, allocations: 0 / 1.214 GB, free: 157.3 MB / 0.7481 GB Notification: Performance of Templates: time 0.518/2.782, allocations: 259.7 MB / 1.468 GB, free: 229.4 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)