Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU") translateModel(IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001359/0.001359, allocations: 109.2 kB / 15.99 MB, free: 6.359 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.001484/0.001484, allocations: 194.5 kB / 16.91 MB, free: 6.195 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.413/1.413, allocations: 222.9 MB / 240.6 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8606/0.8606, allocations: 135.1 MB / 425.9 MB, free: 4.301 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002014/0.002014, allocations: 67.89 kB / 0.5055 GB, free: 8.723 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4359/0.4379, allocations: 80.91 MB / 0.5845 GB, free: 25.27 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 0.7669/1.205, allocations: 365.5 MB / 0.9415 GB, free: 448 kB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.05432/1.259, allocations: 33.07 MB / 0.9737 GB, free: 15.29 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008606/1.268, allocations: 139.1 kB / 0.9739 GB, free: 15.16 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.007957/1.276, allocations: 2.052 MB / 0.9759 GB, free: 13.09 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.02435/1.3, allocations: 6.981 MB / 0.9827 GB, free: 6.086 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.01402/1.314, allocations: 4.165 MB / 0.9868 GB, free: 1.957 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.01863/1.333, allocations: 11.04 MB / 0.9975 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00896/1.342, allocations: 3.937 MB / 1.001 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01877/1.361, allocations: 5.458 MB / 1.007 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007883/1.369, allocations: 3.569 MB / 1.01 GB, free: 9.906 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.002596/1.371, allocations: 0.5508 MB / 1.011 GB, free: 9.355 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.017/1.388, allocations: 7.004 MB / 1.018 GB, free: 2.336 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.003316/1.392, allocations: 1.468 MB / 1.019 GB, free: 0.8633 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.007122/1.399, allocations: 2.831 MB / 1.022 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.01417/1.413, allocations: 7.473 MB / 1.029 GB, free: 6.531 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/1.413, allocations: 0 / 1.029 GB, free: 6.531 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.824e-06/1.413, allocations: 0 / 1.029 GB, free: 6.531 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.0002917/1.413, allocations: 0 / 1.029 GB, free: 6.531 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.01945/1.433, allocations: 5.931 MB / 1.035 GB, free: 0.4961 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 6.089e-05/1.433, allocations: 13.11 kB / 1.035 GB, free: 496 kB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3695/1.803, allocations: 4.282 MB / 1.039 GB, free: 324.7 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01013/1.813, allocations: 3.584 MB / 1.043 GB, free: 323.1 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00169/1.814, allocations: 0.5252 MB / 1.043 GB, free: 322.9 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001841/1.816, allocations: 349 kB / 1.043 GB, free: 322.7 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01797/1.834, allocations: 5.719 MB / 1.049 GB, free: 319.5 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.17e-05/1.834, allocations: 3.938 kB / 1.049 GB, free: 319.5 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007/1.835, allocations: 135.7 kB / 1.049 GB, free: 319.4 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001166/1.835, allocations: 136.1 kB / 1.049 GB, free: 319.4 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02144/1.857, allocations: 6.84 MB / 1.056 GB, free: 316.2 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.0415/1.898, allocations: 22.22 MB / 1.078 GB, free: 296.1 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01005/1.908, allocations: 4.068 MB / 1.082 GB, free: 292.1 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006018/1.914, allocations: 2.269 MB / 1.084 GB, free: 289.8 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01373/1.928, allocations: 8.166 MB / 1.092 GB, free: 281.3 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006523/1.935, allocations: 2.4 MB / 1.094 GB, free: 278.9 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=230): time 5.851e-06/1.935, allocations: 0 / 1.094 GB, free: 278.9 MB / 0.7481 GB Notification: Performance of matching and sorting (n=230): time 0.0313/1.966, allocations: 8.432 MB / 1.102 GB, free: 270.4 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.004e-05/1.966, allocations: 77.41 kB / 1.102 GB, free: 270.3 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007817/1.974, allocations: 4.284 MB / 1.107 GB, free: 266 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0009713/1.975, allocations: 73.7 kB / 1.107 GB, free: 265.9 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.001492/1.977, allocations: 1.825 MB / 1.108 GB, free: 264.1 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.001236/1.978, allocations: 0.7963 MB / 1.109 GB, free: 263.3 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001903/1.98, allocations: 0.8077 MB / 1.11 GB, free: 262.5 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 4.431e-05/1.98, allocations: 305.1 kB / 1.11 GB, free: 262.2 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008076/1.988, allocations: 2.739 MB / 1.113 GB, free: 259.4 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008954/1.997, allocations: 3.412 MB / 1.116 GB, free: 255.8 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.01694/2.014, allocations: 5.966 MB / 1.122 GB, free: 249.6 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.914e-05/2.014, allocations: 4 kB / 1.122 GB, free: 249.6 MB / 0.7481 GB Notification: Performance of matching and sorting (n=448) (initialization): time 0.02687/2.041, allocations: 7.587 MB / 1.13 GB, free: 241.9 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 4.102e-05/2.041, allocations: 12 kB / 1.13 GB, free: 241.9 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.887e-05/2.041, allocations: 12 kB / 1.13 GB, free: 241.9 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003837/2.045, allocations: 0.9733 MB / 1.131 GB, free: 240.9 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008768/2.053, allocations: 1.408 MB / 1.132 GB, free: 239.5 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01403/2.068, allocations: 14.56 MB / 1.146 GB, free: 223.9 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01109/2.079, allocations: 1.291 MB / 1.147 GB, free: 222.6 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001211/2.08, allocations: 183.8 kB / 1.148 GB, free: 222.4 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.002796/2.083, allocations: 0.8602 MB / 1.148 GB, free: 221.6 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001666/2.084, allocations: 418.8 kB / 1.149 GB, free: 221.2 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0191/2.104, allocations: 5.8 MB / 1.154 GB, free: 215.3 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-05/2.104, allocations: 24 kB / 1.155 GB, free: 215.3 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/2.104, allocations: 0 / 1.155 GB, free: 215.3 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.404e-05/2.104, allocations: 11.95 kB / 1.155 GB, free: 215.3 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0283/2.132, allocations: 10.91 MB / 1.165 GB, free: 204.3 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.198e-05/2.132, allocations: 4 kB / 1.165 GB, free: 204.3 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004708/2.137, allocations: 0.6787 MB / 1.166 GB, free: 203.6 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002979/2.14, allocations: 0.7563 MB / 1.167 GB, free: 202.8 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007889/2.141, allocations: 87.91 kB / 1.167 GB, free: 202.8 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01103/2.152, allocations: 11.68 MB / 1.178 GB, free: 190.2 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/2.152, allocations: 4 kB / 1.178 GB, free: 190.2 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02659/2.178, allocations: 8.206 MB / 1.186 GB, free: 181.9 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003334/2.182, allocations: 1.065 MB / 1.187 GB, free: 180.8 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001606/2.183, allocations: 51.98 kB / 1.187 GB, free: 180.7 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006955/2.19, allocations: 0.5967 MB / 1.188 GB, free: 180.1 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005829/2.191, allocations: 181.6 kB / 1.188 GB, free: 179.9 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004521/2.191, allocations: 103.9 kB / 1.188 GB, free: 179.8 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.006054/2.197, allocations: 2.947 MB / 1.191 GB, free: 176.9 MB / 0.7481 GB Notification: Performance of sort global known variables: time 7.11e-07/2.197, allocations: 0 / 1.191 GB, free: 176.9 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.00668/2.204, allocations: 1.557 MB / 1.192 GB, free: 175.4 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.002819/2.207, allocations: 1.027 MB / 1.193 GB, free: 174.6 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.02409/2.231, allocations: 7.052 MB / 1.2 GB, free: 167.6 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.039e-05/2.231, allocations: 0 / 1.2 GB, free: 167.6 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.008323/2.239, allocations: 3.038 MB / 1.203 GB, free: 164.4 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01145/2.251, allocations: 2.103 MB / 1.205 GB, free: 162.4 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02731/2.278, allocations: 10.85 MB / 1.216 GB, free: 151.5 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001668/2.28, allocations: 2.27 MB / 1.218 GB, free: 149.2 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002936/2.283, allocations: 427.1 kB / 1.219 GB, free: 148.8 MB / 0.7481 GB Notification: Performance of SimCode: time 1.142e-06/2.283, allocations: 4 kB / 1.219 GB, free: 148.8 MB / 0.7481 GB Notification: Performance of Templates: time 0.5199/2.803, allocations: 259.7 MB / 1.472 GB, free: 217.1 MB / 0.7481 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.sim & ./IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe 2>&1)