Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002564/0.00257, allocations: 357.9 kB / 16.58 MB, free: 5.566 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.405/1.405, allocations: 165.8 MB / 183.1 MB, free: 5.438 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.602/3.602, allocations: 410.7 MB / 0.6001 GB, free: 15.15 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001785/0.001785, allocations: 178.5 kB / 0.6668 GB, free: 6.938 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004874/0.0004876, allocations: 19.98 kB / 0.7429 GB, free: 8.973 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4065/0.4071, allocations: 67.43 MB / 0.8087 GB, free: 28.8 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.925/7.332, allocations: 2.315 GB / 3.124 GB, free: 149.6 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003314/7.333, allocations: 93.61 kB / 3.124 GB, free: 149.6 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.703/12.04, allocations: 0.9081 GB / 4.032 GB, free: 72.3 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.034e-06/12.04, allocations: 0 / 4.032 GB, free: 72.3 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001953/12.04, allocations: 35.98 kB / 4.032 GB, free: 72.3 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.008956/12.05, allocations: 2.145 MB / 4.035 GB, free: 71.52 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/12.05, allocations: 11.06 kB / 4.035 GB, free: 71.52 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005401/12.05, allocations: 0.5205 MB / 4.035 GB, free: 71.44 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004763/12.06, allocations: 1.221 MB / 4.036 GB, free: 71.14 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001241/12.06, allocations: 219 kB / 4.036 GB, free: 71.14 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004384/12.06, allocations: 101.2 kB / 4.037 GB, free: 71.14 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00446/12.06, allocations: 1.296 MB / 4.038 GB, free: 71.03 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.871e-05/12.06, allocations: 0 / 4.038 GB, free: 71.03 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001716/12.06, allocations: 35.41 kB / 4.038 GB, free: 71.03 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.129e-05/12.06, allocations: 44.31 kB / 4.038 GB, free: 71.03 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005581/12.07, allocations: 1.319 MB / 4.039 GB, free: 71.02 MB / 0.6042 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.01493/12.08, allocations: 5.007 MB / 4.044 GB, free: 69.08 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00497/12.09, allocations: 1.039 MB / 4.045 GB, free: 69.05 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002461/12.09, allocations: 0.5939 MB / 4.046 GB, free: 69.05 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001522/12.09, allocations: 0.8444 MB / 4.047 GB, free: 68.2 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002711/12.09, allocations: 0.7124 MB / 4.047 GB, free: 68.08 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=85): time 5.1e-06/12.09, allocations: 0 / 4.047 GB, free: 68.08 MB / 0.6042 GB Notification: Performance of matching and sorting (n=85): time 0.008206/12.1, allocations: 1.832 MB / 4.049 GB, free: 67.89 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.733e-05/12.1, allocations: 116 kB / 4.049 GB, free: 67.77 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002034/12.11, allocations: 1.027 MB / 4.05 GB, free: 67.62 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0003286/12.11, allocations: 54.41 kB / 4.05 GB, free: 67.59 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005436/12.11, allocations: 0.5277 MB / 4.051 GB, free: 67.43 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003858/12.11, allocations: 274.1 kB / 4.051 GB, free: 67.29 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001058/12.11, allocations: 17.31 kB / 4.051 GB, free: 67.29 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.438e-05/12.11, allocations: 343.3 kB / 4.051 GB, free: 66.98 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002458/12.11, allocations: 0.521 MB / 4.052 GB, free: 66.98 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002644/12.11, allocations: 0.7441 MB / 4.053 GB, free: 66.78 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002588/12.11, allocations: 0.6171 MB / 4.053 GB, free: 66.71 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.395e-06/12.11, allocations: 0 / 4.053 GB, free: 66.71 MB / 0.6042 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.006412/12.12, allocations: 1.548 MB / 4.055 GB, free: 66.52 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001569/12.12, allocations: 247.9 kB / 4.055 GB, free: 66.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/12.12, allocations: 3.375 kB / 4.055 GB, free: 66.28 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.794e-05/12.12, allocations: 6.25 kB / 4.055 GB, free: 66.28 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00254/12.12, allocations: 267 kB / 4.055 GB, free: 66.28 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.834e-05/12.12, allocations: 6.5 kB / 4.055 GB, free: 66.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002902/12.13, allocations: 220.1 kB / 4.055 GB, free: 66.25 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002418/12.13, allocations: 52.2 kB / 4.055 GB, free: 66.25 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/12.13, allocations: 6.344 kB / 4.055 GB, free: 66.25 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005833/12.13, allocations: 1.46 MB / 4.057 GB, free: 66.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.468e-05/12.13, allocations: 3.656 kB / 4.057 GB, free: 66.16 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/12.13, allocations: 3.875 kB / 4.057 GB, free: 66.16 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002428/12.14, allocations: 272.9 kB / 4.057 GB, free: 66.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.557e-05/12.14, allocations: 4.719 kB / 4.057 GB, free: 66.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002676/12.14, allocations: 201.8 kB / 4.057 GB, free: 66.14 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002094/12.14, allocations: 51.67 kB / 4.057 GB, free: 66.14 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,$PRE.mWatGai.nextEvent,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,$PRE.mAirGai.nextEvent,mAirGai.nextEvent,mAirGai.nextEventScaled,hex.flowRegime,hex.flowRegime_nominal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001046/12.14, allocations: 469.1 kB / 4.058 GB, free: 65.88 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004613/12.14, allocations: 128 kB / 4.058 GB, free: 65.82 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006139/12.15, allocations: 1.559 MB / 4.059 GB, free: 65.68 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.998e-05/12.15, allocations: 7.688 kB / 4.059 GB, free: 65.68 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/12.15, allocations: 0 / 4.059 GB, free: 65.68 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.499e-05/12.15, allocations: 5.953 kB / 4.059 GB, free: 65.68 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009345/12.16, allocations: 3.019 MB / 4.062 GB, free: 65.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.267e-05/12.16, allocations: 7.156 kB / 4.062 GB, free: 65.17 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001918/12.16, allocations: 203.4 kB / 4.063 GB, free: 65.17 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.309e-05/12.16, allocations: 7.75 kB / 4.063 GB, free: 65.17 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001476/12.16, allocations: 40.75 kB / 4.063 GB, free: 65.17 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-05/12.16, allocations: 11.31 kB / 4.063 GB, free: 65.17 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/12.16, allocations: 6.062 kB / 4.063 GB, free: 65.17 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008533/12.17, allocations: 2.35 MB / 4.065 GB, free: 64.78 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001147/12.17, allocations: 349.5 kB / 4.065 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003197/12.17, allocations: 28.2 kB / 4.065 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00239/12.17, allocations: 143.7 kB / 4.065 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002074/12.17, allocations: 62.89 kB / 4.066 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001757/12.17, allocations: 48.78 kB / 4.066 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.00146/12.17, allocations: 0.6958 MB / 4.066 GB, free: 64.5 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6.01e-07/12.17, allocations: 3.906 kB / 4.066 GB, free: 64.5 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.00418/12.18, allocations: 1.001 MB / 4.067 GB, free: 64.42 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 1 (senRelHum.phi) * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,mAirGai.nextEvent,mAirGai.nextEventScaled,hex.flowRegime) * Number of discrete states: 12 (mAirGai.nextEvent,mAirGai.last,mAirGai.nextEventScaled,mAirGai.b,mAirGai.a,$whenCondition2,mWatGai.nextEvent,mWatGai.last,mWatGai.nextEventScaled,mWatGai.b,mWatGai.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004713/12.18, allocations: 2.237 MB / 4.069 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.008494/12.19, allocations: 2.267 MB / 4.072 GB, free: 63.51 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.029e-05/12.19, allocations: 0 / 4.072 GB, free: 63.51 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.002694/12.19, allocations: 0.7881 MB / 4.072 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004831/12.2, allocations: 0.5225 MB / 4.073 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007624/12.2, allocations: 2.801 MB / 4.076 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007617/12.21, allocations: 1.185 MB / 4.077 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.002961/12.21, allocations: 364.2 kB / 4.077 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005916/12.21, allocations: 98.88 kB / 4.077 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of SimCode: time 1.092e-06/12.21, allocations: 0 / 4.077 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of Templates: time 0.1017/12.31, allocations: 45.57 MB / 4.122 GB, free: 59.1 MB / 0.6042 GB