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.006193/0.006193, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001273/0.001273, allocations: 191.7 kB / 16.67 MB, free: 5.523 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.336/1.336, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7873/0.7873, allocations: 132.2 MB / 422.7 MB, free: 6.617 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001305, allocations: 65.94 kB / 0.5813 GB, free: 23.86 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1734/0.1748, allocations: 80.22 MB / 0.6597 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 0.7984/0.9732, allocations: 369.7 MB / 1.021 GB, free: 3.742 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.05368/1.027, allocations: 33.24 MB / 1.053 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008892/1.036, allocations: 151.1 kB / 1.053 GB, free: 2.262 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.477/1.513, allocations: 2.437 MB / 1.056 GB, free: 48.82 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.02456/1.538, allocations: 7.81 MB / 1.063 GB, free: 48.82 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.01293/1.55, allocations: 4.559 MB / 1.068 GB, free: 48.78 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.02265/1.573, allocations: 11.07 MB / 1.079 GB, free: 48.76 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008245/1.581, allocations: 3.973 MB / 1.082 GB, free: 48.36 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01622/1.598, allocations: 5.556 MB / 1.088 GB, free: 48.29 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007934/1.606, allocations: 3.456 MB / 1.091 GB, free: 47.95 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.002595/1.608, allocations: 0.5475 MB / 1.092 GB, free: 47.95 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02063/1.629, allocations: 6.813 MB / 1.098 GB, free: 47.88 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.003442/1.632, allocations: 1.462 MB / 1.1 GB, free: 47.7 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.008168/1.641, allocations: 2.828 MB / 1.103 GB, free: 46.96 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.02263/1.663, allocations: 9.779 MB / 1.112 GB, free: 45.82 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/1.663, allocations: 0.9688 kB / 1.112 GB, free: 45.82 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.543e-06/1.663, allocations: 0 / 1.112 GB, free: 45.82 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0002289/1.664, allocations: 0 / 1.112 GB, free: 45.82 MB / 0.8106 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.01534/1.679, allocations: 5.936 MB / 1.118 GB, free: 43.29 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/1.679, allocations: 8.781 kB / 1.118 GB, free: 43.29 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0307/1.71, allocations: 4.286 MB / 1.122 GB, free: 43.02 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01146/1.721, allocations: 3.696 MB / 1.126 GB, free: 42.25 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005134/1.722, allocations: 306.2 kB / 1.126 GB, free: 42.21 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002175/1.724, allocations: 354.2 kB / 1.126 GB, free: 42.21 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0177/1.742, allocations: 5.7 MB / 1.132 GB, free: 40.86 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.419e-05/1.742, allocations: 5.25 kB / 1.132 GB, free: 40.86 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005295/1.742, allocations: 136.8 kB / 1.132 GB, free: 40.86 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001315/1.742, allocations: 133.7 kB / 1.132 GB, free: 40.85 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02215/1.765, allocations: 6.804 MB / 1.139 GB, free: 39.54 MB / 0.8106 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.04954/1.814, allocations: 22.12 MB / 1.16 GB, free: 23.03 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01097/1.825, allocations: 4.061 MB / 1.164 GB, free: 19 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006516/1.832, allocations: 2.27 MB / 1.167 GB, free: 16.73 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01545/1.847, allocations: 8.186 MB / 1.175 GB, free: 8.289 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006427/1.854, allocations: 2.394 MB / 1.177 GB, free: 5.887 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=230): time 5.571e-06/1.854, allocations: 0 / 1.177 GB, free: 5.887 MB / 0.8106 GB Notification: Performance of matching and sorting (n=230): time 0.03278/1.887, allocations: 8.437 MB / 1.185 GB, free: 13.33 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.544e-05/1.887, allocations: 73.41 kB / 1.185 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009825/1.897, allocations: 4.274 MB / 1.189 GB, free: 8.953 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.000943/1.897, allocations: 77.7 kB / 1.19 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.002063/1.9, allocations: 1.819 MB / 1.191 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.001521/1.901, allocations: 0.7958 MB / 1.192 GB, free: 6.262 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002135/1.903, allocations: 0.8074 MB / 1.193 GB, free: 5.449 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001093/1.903, allocations: 301.1 kB / 1.193 GB, free: 5.152 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009029/1.912, allocations: 2.721 MB / 1.196 GB, free: 2.434 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01039/1.923, allocations: 3.4 MB / 1.199 GB, free: 14.81 MB / 0.8419 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.01929/1.942, allocations: 5.936 MB / 1.205 GB, free: 8.684 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.123e-05/1.942, allocations: 4 kB / 1.205 GB, free: 8.68 MB / 0.8419 GB Notification: Performance of matching and sorting (n=448) (initialization): time 0.02875/1.971, allocations: 7.56 MB / 1.212 GB, free: 1.164 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 4.692e-05/1.971, allocations: 19.92 kB / 1.212 GB, free: 1.145 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.249e-05/1.971, allocations: 12.5 kB / 1.212 GB, free: 1.133 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004031/1.975, allocations: 0.959 MB / 1.213 GB, free: 152 kB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009428/1.985, allocations: 1.41 MB / 1.215 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01723/2.002, allocations: 14.46 MB / 1.229 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01131/2.013, allocations: 1.171 MB / 1.23 GB, free: 14.15 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001352/2.015, allocations: 183.8 kB / 1.23 GB, free: 13.97 MB / 0.8731 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.003656/2.018, allocations: 0.8627 MB / 1.231 GB, free: 13.14 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002081/2.02, allocations: 418.8 kB / 1.231 GB, free: 12.73 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02083/2.041, allocations: 5.795 MB / 1.237 GB, free: 6.926 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.664e-05/2.041, allocations: 20 kB / 1.237 GB, free: 6.906 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/2.041, allocations: 4 kB / 1.237 GB, free: 6.902 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.773e-05/2.041, allocations: 11.95 kB / 1.237 GB, free: 6.891 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02891/2.07, allocations: 10.92 MB / 1.248 GB, free: 11.93 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.615e-05/2.07, allocations: 0 / 1.248 GB, free: 11.93 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00491/2.075, allocations: 0.6688 MB / 1.248 GB, free: 11.29 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003157/2.078, allocations: 0.763 MB / 1.249 GB, free: 10.5 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006186/2.079, allocations: 83.84 kB / 1.249 GB, free: 10.42 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01319/2.092, allocations: 11.69 MB / 1.261 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/2.092, allocations: 6.625 kB / 1.261 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02759/2.12, allocations: 8.214 MB / 1.269 GB, free: 5.578 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003083/2.123, allocations: 1.05 MB / 1.27 GB, free: 4.504 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001372/2.124, allocations: 47.98 kB / 1.27 GB, free: 4.457 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006481/2.131, allocations: 0.519 MB / 1.27 GB, free: 3.938 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000541/2.131, allocations: 172.3 kB / 1.27 GB, free: 3.77 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003908/2.132, allocations: 107.9 kB / 1.271 GB, free: 3.664 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.006838/2.139, allocations: 2.947 MB / 1.273 GB, free: 0.7148 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.154e-06/2.139, allocations: 0 / 1.273 GB, free: 0.7148 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.007446/2.146, allocations: 1.528 MB / 1.275 GB, free: 15.18 MB / 0.92 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.002785/2.149, allocations: 1.052 MB / 1.276 GB, free: 14.43 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.02103/2.17, allocations: 6.383 MB / 1.282 GB, free: 8.066 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.172e-05/2.17, allocations: 4 kB / 1.282 GB, free: 8.062 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.009109/2.179, allocations: 3.037 MB / 1.285 GB, free: 5 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01102/2.19, allocations: 2.087 MB / 1.287 GB, free: 2.961 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03123/2.222, allocations: 9.142 MB / 1.296 GB, free: 9.809 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0021/2.224, allocations: 2.305 MB / 1.298 GB, free: 7.473 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.005964/2.23, allocations: 1.039 MB / 1.299 GB, free: 6.441 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002033/2.232, allocations: 367.2 kB / 1.3 GB, free: 6.082 MB / 0.9356 GB Notification: Performance of SimCode: time 1.153e-06/2.232, allocations: 0 / 1.3 GB, free: 6.082 MB / 0.9356 GB Notification: Performance of Templates: time 0.1615/2.393, allocations: 97.44 MB / 1.395 GB, free: 5.75 MB / 1.029 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)