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.001311/0.001311, allocations: 105.2 kB / 16.35 MB, free: 5.824 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.0015/0.0015, allocations: 193.1 kB / 17.29 MB, free: 5.48 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.303/1.303, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.772/0.772, allocations: 132.2 MB / 423.3 MB, free: 6.625 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 67.89 kB / 0.5032 GB, free: 10.97 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3544/0.3556, allocations: 80.18 MB / 0.5815 GB, free: 27.56 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 0.6465/1.002, allocations: 369.7 MB / 0.9425 GB, free: 1.406 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.04797/1.05, allocations: 33.27 MB / 0.975 GB, free: 48 kB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008314/1.059, allocations: 155.2 kB / 0.9751 GB, free: 15.89 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.007237/1.066, allocations: 2.364 MB / 0.9775 GB, free: 13.52 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.02002/1.086, allocations: 7.479 MB / 0.9848 GB, free: 6.008 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.01121/1.097, allocations: 4.529 MB / 0.9892 GB, free: 1.512 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.01657/1.114, allocations: 11.03 MB / 0.9999 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006348/1.12, allocations: 3.984 MB / 1.004 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01386/1.134, allocations: 5.44 MB / 1.009 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006495/1.141, allocations: 3.435 MB / 1.013 GB, free: 9.578 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.001412/1.142, allocations: 0.5546 MB / 1.013 GB, free: 9.023 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01404/1.156, allocations: 6.795 MB / 1.02 GB, free: 2.215 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.002277/1.158, allocations: 1.464 MB / 1.021 GB, free: 0.7461 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.004597/1.163, allocations: 2.823 MB / 1.024 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.01615/1.179, allocations: 9.774 MB / 1.033 GB, free: 4.109 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/1.179, allocations: 0 / 1.033 GB, free: 4.109 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.643e-06/1.179, allocations: 0 / 1.033 GB, free: 4.109 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.000122/1.179, allocations: 0 / 1.033 GB, free: 4.109 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.2686/1.448, allocations: 5.927 MB / 1.039 GB, free: 326.5 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/1.448, allocations: 10.28 kB / 1.039 GB, free: 326.5 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03065/1.479, allocations: 4.286 MB / 1.043 GB, free: 326.2 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00796/1.487, allocations: 3.69 MB / 1.047 GB, free: 323.7 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002682/1.487, allocations: 312.9 kB / 1.047 GB, free: 323.5 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009025/1.488, allocations: 350.6 kB / 1.048 GB, free: 323.4 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01288/1.501, allocations: 5.7 MB / 1.053 GB, free: 320.2 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.954e-05/1.501, allocations: 0 / 1.053 GB, free: 320.2 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00038/1.501, allocations: 131.8 kB / 1.053 GB, free: 320.1 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.909e-05/1.501, allocations: 136.7 kB / 1.053 GB, free: 320.1 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01738/1.519, allocations: 6.81 MB / 1.06 GB, free: 316.9 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.03651/1.555, allocations: 22.13 MB / 1.082 GB, free: 296.5 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009547/1.565, allocations: 4.057 MB / 1.086 GB, free: 292.4 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005646/1.571, allocations: 2.273 MB / 1.088 GB, free: 290.1 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01273/1.583, allocations: 8.179 MB / 1.096 GB, free: 281.7 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006153/1.589, allocations: 2.402 MB / 1.098 GB, free: 279.3 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=230): time 4.248e-06/1.589, allocations: 0 / 1.098 GB, free: 279.3 MB / 0.7481 GB Notification: Performance of matching and sorting (n=230): time 0.03008/1.62, allocations: 8.429 MB / 1.106 GB, free: 270.7 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.438e-05/1.62, allocations: 81.39 kB / 1.107 GB, free: 270.6 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007224/1.627, allocations: 4.276 MB / 1.111 GB, free: 266.3 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0007623/1.628, allocations: 77.7 kB / 1.111 GB, free: 266.2 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.001301/1.629, allocations: 1.813 MB / 1.113 GB, free: 264.4 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009761/1.63, allocations: 0.7992 MB / 1.113 GB, free: 263.6 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0016/1.632, allocations: 0.8036 MB / 1.114 GB, free: 262.8 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 5.142e-05/1.632, allocations: 305.1 kB / 1.114 GB, free: 262.5 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007882/1.64, allocations: 2.716 MB / 1.117 GB, free: 259.8 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008775/1.648, allocations: 3.401 MB / 1.12 GB, free: 256.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.01648/1.665, allocations: 5.95 MB / 1.126 GB, free: 250 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.472e-05/1.665, allocations: 4 kB / 1.126 GB, free: 250 MB / 0.7481 GB Notification: Performance of matching and sorting (n=448) (initialization): time 0.02516/1.69, allocations: 7.548 MB / 1.134 GB, free: 242.4 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.001e-05/1.69, allocations: 12 kB / 1.134 GB, free: 242.4 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.7e-05/1.69, allocations: 16 kB / 1.134 GB, free: 242.4 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00367/1.694, allocations: 0.9708 MB / 1.135 GB, free: 241.4 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008666/1.703, allocations: 1.404 MB / 1.136 GB, free: 240 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01309/1.716, allocations: 14.47 MB / 1.15 GB, free: 224.5 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009878/1.726, allocations: 1.162 MB / 1.151 GB, free: 223.3 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009286/1.727, allocations: 183.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.002014/1.729, allocations: 0.8628 MB / 1.152 GB, free: 222.2 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001411/1.73, allocations: 414.8 kB / 1.153 GB, free: 221.8 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0184/1.748, allocations: 5.792 MB / 1.158 GB, free: 216 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-05/1.748, allocations: 26.16 kB / 1.158 GB, free: 216 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/1.748, allocations: 0 / 1.158 GB, free: 216 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.064e-05/1.749, allocations: 11.95 kB / 1.158 GB, free: 216 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02656/1.775, allocations: 10.92 MB / 1.169 GB, free: 205 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.566e-05/1.775, allocations: 4 kB / 1.169 GB, free: 205 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004655/1.78, allocations: 0.6634 MB / 1.17 GB, free: 204.3 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002971/1.783, allocations: 0.7589 MB / 1.17 GB, free: 203.5 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005137/1.783, allocations: 83.91 kB / 1.17 GB, free: 203.4 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01089/1.794, allocations: 11.68 MB / 1.182 GB, free: 190.8 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/1.794, allocations: 4 kB / 1.182 GB, free: 190.8 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02505/1.819, allocations: 8.21 MB / 1.19 GB, free: 182.5 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003003/1.822, allocations: 1.054 MB / 1.191 GB, free: 181.5 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001054/1.823, allocations: 52 kB / 1.191 GB, free: 181.4 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00609/1.83, allocations: 0.5267 MB / 1.191 GB, free: 180.9 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004647/1.83, allocations: 165.6 kB / 1.192 GB, free: 180.7 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003818/1.83, allocations: 111.9 kB / 1.192 GB, free: 180.6 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.005028/1.835, allocations: 2.939 MB / 1.195 GB, free: 177.7 MB / 0.7481 GB Notification: Performance of sort global known variables: time 3.2e-07/1.835, allocations: 3.938 kB / 1.195 GB, free: 177.7 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.004624/1.84, allocations: 1.54 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.002097/1.842, allocations: 1.045 MB / 1.197 GB, free: 175.4 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0179/1.86, allocations: 6.407 MB / 1.203 GB, free: 169 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 7.123e-06/1.86, allocations: 0 / 1.203 GB, free: 169 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.007258/1.867, allocations: 3.034 MB / 1.206 GB, free: 165.9 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009076/1.877, allocations: 2.092 MB / 1.208 GB, free: 163.9 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02402/1.901, allocations: 9.125 MB / 1.217 GB, free: 154.7 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0016/1.902, allocations: 2.298 MB / 1.22 GB, free: 152.4 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.005551/1.908, allocations: 1.042 MB / 1.221 GB, free: 151.4 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001475/1.909, allocations: 371.1 kB / 1.221 GB, free: 151 MB / 0.7481 GB Notification: Performance of SimCode: time 6.81e-07/1.909, allocations: 0 / 1.221 GB, free: 151 MB / 0.7481 GB Notification: Performance of Templates: time 0.117/2.026, allocations: 96.49 MB / 1.315 GB, free: 55.31 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 gbode -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe 2>&1)