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.00156/0.00156, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001896/0.001896, allocations: 197.1 kB / 16.53 MB, free: 6.664 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.342/1.342, allocations: 222.9 MB / 240.2 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9852/0.9852, allocations: 135.1 MB / 425.5 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 70 kB / 0.5053 GB, free: 5.312 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.1486, allocations: 80.92 MB / 0.5844 GB, free: 4.543 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 0.9892/1.138, allocations: 369.6 MB / 0.9453 GB, free: 25.21 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.04464/1.183, allocations: 33.27 MB / 0.9778 GB, free: 22.79 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008326/1.191, allocations: 151.2 kB / 0.978 GB, free: 22.79 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.007795/1.199, allocations: 2.363 MB / 0.9803 GB, free: 21.73 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.02283/1.222, allocations: 7.479 MB / 0.9876 GB, free: 18.52 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.01151/1.233, allocations: 4.509 MB / 0.992 GB, free: 15.77 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01318/1.246, allocations: 11.01 MB / 1.003 GB, free: 8.945 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005238/1.252, allocations: 3.986 MB / 1.007 GB, free: 5.012 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01268/1.264, allocations: 5.409 MB / 1.012 GB, free: 476 kB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007409/1.272, allocations: 3.44 MB / 1.015 GB, free: 13.37 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.002287/1.274, allocations: 0.5508 MB / 1.016 GB, free: 12.82 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01662/1.291, allocations: 6.749 MB / 1.022 GB, free: 7.156 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.003701/1.294, allocations: 1.466 MB / 1.024 GB, free: 5.715 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.006759/1.301, allocations: 2.826 MB / 1.027 GB, free: 2.906 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01833/1.32, allocations: 9.672 MB / 1.036 GB, free: 9.652 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/1.32, allocations: 4 kB / 1.036 GB, free: 9.648 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.565e-06/1.32, allocations: 0 / 1.036 GB, free: 9.648 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0001864/1.32, allocations: 0 / 1.036 GB, free: 9.648 MB / 0.7012 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.01448/1.334, allocations: 5.923 MB / 1.042 GB, free: 3.676 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/1.334, allocations: 8.031 kB / 1.042 GB, free: 3.668 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03172/1.366, allocations: 4.285 MB / 1.046 GB, free: 15.38 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00823/1.374, allocations: 3.557 MB / 1.05 GB, free: 11.84 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001661/1.376, allocations: 0.5195 MB / 1.05 GB, free: 11.32 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001446/1.378, allocations: 352 kB / 1.05 GB, free: 10.97 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01655/1.394, allocations: 5.716 MB / 1.056 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.944e-05/1.394, allocations: 3.984 kB / 1.056 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004897/1.395, allocations: 135.9 kB / 1.056 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001386/1.395, allocations: 134.5 kB / 1.056 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02258/1.418, allocations: 6.844 MB / 1.063 GB, free: 14.06 MB / 0.7325 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.04272/1.46, allocations: 22.3 MB / 1.085 GB, free: 6.816 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01239/1.473, allocations: 4.066 MB / 1.089 GB, free: 2.762 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007329/1.48, allocations: 2.258 MB / 1.091 GB, free: 0.5039 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01669/1.497, allocations: 8.182 MB / 1.099 GB, free: 8.02 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008162/1.505, allocations: 2.4 MB / 1.101 GB, free: 5.609 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=230): time 5.991e-06/1.505, allocations: 0 / 1.101 GB, free: 5.609 MB / 0.7637 GB Notification: Performance of matching and sorting (n=230): time 0.03662/1.542, allocations: 8.431 MB / 1.109 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.684e-05/1.542, allocations: 85.34 kB / 1.109 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009102/1.551, allocations: 4.288 MB / 1.114 GB, free: 8.641 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0006992/1.552, allocations: 85.7 kB / 1.114 GB, free: 8.551 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.001936/1.554, allocations: 1.817 MB / 1.116 GB, free: 6.73 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.001458/1.555, allocations: 0.7935 MB / 1.116 GB, free: 5.945 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003135/1.558, allocations: 0.8156 MB / 1.117 GB, free: 5.125 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001096/1.558, allocations: 301.1 kB / 1.117 GB, free: 4.828 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01025/1.569, allocations: 2.732 MB / 1.12 GB, free: 2.094 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01153/1.58, allocations: 3.423 MB / 1.123 GB, free: 14.44 MB / 0.795 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.02095/1.601, allocations: 5.984 MB / 1.129 GB, free: 8.215 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.59e-05/1.601, allocations: 4 kB / 1.129 GB, free: 8.211 MB / 0.795 GB Notification: Performance of matching and sorting (n=448) (initialization): time 0.03231/1.633, allocations: 7.582 MB / 1.137 GB, free: 0.5625 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.448e-05/1.634, allocations: 8 kB / 1.137 GB, free: 0.5547 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.799e-05/1.634, allocations: 16.5 kB / 1.137 GB, free: 0.5391 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004449/1.638, allocations: 0.9697 MB / 1.138 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009577/1.648, allocations: 1.41 MB / 1.139 GB, free: 14.13 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01771/1.665, allocations: 14.47 MB / 1.153 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01081/1.676, allocations: 1.205 MB / 1.154 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001156/1.677, allocations: 182.7 kB / 1.154 GB, free: 13.2 MB / 0.8262 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.003151/1.681, allocations: 0.8635 MB / 1.155 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001875/1.683, allocations: 418.8 kB / 1.156 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02342/1.706, allocations: 5.787 MB / 1.161 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.792e-05/1.706, allocations: 24 kB / 1.161 GB, free: 6.074 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.455e-05/1.706, allocations: 3.938 kB / 1.161 GB, free: 6.07 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.197e-05/1.706, allocations: 11.95 kB / 1.161 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2944/2.001, allocations: 10.92 MB / 1.172 GB, free: 358.2 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.399e-05/2.001, allocations: 5.625 kB / 1.172 GB, free: 358.2 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004623/2.005, allocations: 0.668 MB / 1.173 GB, free: 358.2 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003079/2.008, allocations: 0.7647 MB / 1.173 GB, free: 358.2 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005245/2.009, allocations: 84.64 kB / 1.174 GB, free: 358.2 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01147/2.02, allocations: 11.69 MB / 1.185 GB, free: 348.4 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/2.02, allocations: 7.125 kB / 1.185 GB, free: 348.4 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02768/2.048, allocations: 8.202 MB / 1.193 GB, free: 345.7 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003914/2.052, allocations: 1.057 MB / 1.194 GB, free: 345.2 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001369/2.053, allocations: 46.81 kB / 1.194 GB, free: 345.2 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006706/2.06, allocations: 0.5338 MB / 1.195 GB, free: 345.1 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006141/2.061, allocations: 166.8 kB / 1.195 GB, free: 345.1 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003968/2.061, allocations: 116 kB / 1.195 GB, free: 345.1 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.006087/2.067, allocations: 2.961 MB / 1.198 GB, free: 344.1 MB / 0.8262 GB Notification: Performance of sort global known variables: time 5.41e-07/2.067, allocations: 0 / 1.198 GB, free: 344.1 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.005353/2.073, allocations: 1.533 MB / 1.199 GB, free: 344 MB / 0.8262 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.002414/2.075, allocations: 1.051 MB / 1.2 GB, free: 343.8 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.02657/2.102, allocations: 7.058 MB / 1.207 GB, free: 341.6 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 8.907e-06/2.102, allocations: 1.188 kB / 1.207 GB, free: 341.6 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.008841/2.111, allocations: 3.034 MB / 1.21 GB, free: 340.2 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01068/2.121, allocations: 2.102 MB / 1.212 GB, free: 339.7 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02604/2.147, allocations: 9.234 MB / 1.221 GB, free: 335.9 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002079/2.149, allocations: 2.298 MB / 1.223 GB, free: 335 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.006563/2.156, allocations: 1.051 MB / 1.224 GB, free: 334.7 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001731/2.158, allocations: 368.5 kB / 1.225 GB, free: 334.6 MB / 0.8262 GB Notification: Performance of SimCode: time 5.71e-07/2.158, allocations: 3.938 kB / 1.225 GB, free: 334.6 MB / 0.8262 GB Notification: Performance of Templates: time 0.1355/2.293, allocations: 100.3 MB / 1.323 GB, free: 259.1 MB / 0.8262 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)