Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.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 Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.047/2.047, allocations: 251.1 MB / 266.1 MB, free: 11.63 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001526/0.001526, allocations: 181.6 kB / 325.6 MB, free: 2.836 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.244/2.244, allocations: 205.4 MB / 0.5766 GB, free: 21.07 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001155/0.001155, allocations: 96.83 kB / 0.6811 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004705/0.0004706, allocations: 12.88 kB / 0.7951 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2088/0.2093, allocations: 106.3 MB / 0.8989 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.252/7.462, allocations: 2.471 GB / 3.37 GB, free: 51.46 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003275/7.462, allocations: 92.77 kB / 3.37 GB, free: 51.41 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.837/12.3, allocations: 0.8893 GB / 4.259 GB, free: 140.3 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.615e-06/12.3, allocations: 0 / 4.259 GB, free: 140.3 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.000185/12.3, allocations: 33.61 kB / 4.259 GB, free: 140.3 MB / 0.8855 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.008749/12.31, allocations: 2.145 MB / 4.261 GB, free: 139.1 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/12.31, allocations: 8.969 kB / 4.261 GB, free: 139.1 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005287/12.31, allocations: 0.5227 MB / 4.262 GB, free: 139.1 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004408/12.32, allocations: 1.216 MB / 4.263 GB, free: 138.7 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001219/12.32, allocations: 215 kB / 4.263 GB, free: 138.7 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004434/12.32, allocations: 95.5 kB / 4.263 GB, free: 138.7 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004461/12.32, allocations: 1.284 MB / 4.265 GB, free: 138.6 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.733e-05/12.32, allocations: 3.844 kB / 4.265 GB, free: 138.6 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001777/12.32, allocations: 39.56 kB / 4.265 GB, free: 138.6 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.184e-05/12.32, allocations: 39.14 kB / 4.265 GB, free: 138.6 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005751/12.33, allocations: 1.317 MB / 4.266 GB, free: 138.6 MB / 0.8855 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.01477/12.35, allocations: 5.024 MB / 4.271 GB, free: 136.5 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005305/12.35, allocations: 1.065 MB / 4.272 GB, free: 136.5 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001541/12.35, allocations: 0.8457 MB / 4.273 GB, free: 135.6 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002815/12.35, allocations: 0.7179 MB / 4.273 GB, free: 135.5 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=85): time 4.859e-06/12.35, allocations: 0 / 4.273 GB, free: 135.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=85): time 0.008273/12.36, allocations: 1.982 MB / 4.275 GB, free: 135.1 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.024e-05/12.36, allocations: 120.4 kB / 4.275 GB, free: 135 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001941/12.37, allocations: 0.909 MB / 4.276 GB, free: 134.9 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0003521/12.37, allocations: 52.2 kB / 4.276 GB, free: 134.8 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005693/12.37, allocations: 0.5227 MB / 4.277 GB, free: 134.6 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004116/12.37, allocations: 271.8 kB / 4.277 GB, free: 134.5 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001342/12.37, allocations: 23.44 kB / 4.277 GB, free: 134.5 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.702e-05/12.37, allocations: 341.7 kB / 4.277 GB, free: 134.2 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002426/12.37, allocations: 0.5255 MB / 4.278 GB, free: 134.2 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002746/12.37, allocations: 0.7316 MB / 4.279 GB, free: 134 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002713/12.37, allocations: 0.6185 MB / 4.279 GB, free: 133.9 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.057e-05/12.37, allocations: 3.156 kB / 4.279 GB, free: 133.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.00633/12.38, allocations: 1.542 MB / 4.281 GB, free: 133.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003229/12.38, allocations: 1.126 MB / 4.282 GB, free: 132.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/12.38, allocations: 2.25 kB / 4.282 GB, free: 132.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.032e-05/12.38, allocations: 7.25 kB / 4.282 GB, free: 132.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002524/12.38, allocations: 268.9 kB / 4.282 GB, free: 132.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.055e-05/12.38, allocations: 4.562 kB / 4.282 GB, free: 132.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002917/12.39, allocations: 216.8 kB / 4.282 GB, free: 132.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002792/12.39, allocations: 49.77 kB / 4.282 GB, free: 132.5 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/12.39, allocations: 5.594 kB / 4.282 GB, free: 132.5 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005998/12.39, allocations: 1.454 MB / 4.284 GB, free: 132.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.829e-05/12.39, allocations: 9.547 kB / 4.284 GB, free: 132.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/12.39, allocations: 7.812 kB / 4.284 GB, free: 132.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002464/12.4, allocations: 266 kB / 4.284 GB, free: 132.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.77e-05/12.4, allocations: 10.91 kB / 4.284 GB, free: 132.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002699/12.4, allocations: 198.7 kB / 4.284 GB, free: 132.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002054/12.4, allocations: 56.94 kB / 4.284 GB, free: 132.3 MB / 0.8855 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.001032/12.4, allocations: 453.5 kB / 4.285 GB, free: 132 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004338/12.4, allocations: 137.5 kB / 4.285 GB, free: 132 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006133/12.41, allocations: 1.55 MB / 4.286 GB, free: 131.8 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-05/12.41, allocations: 7.219 kB / 4.286 GB, free: 131.8 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/12.41, allocations: 3.938 kB / 4.286 GB, free: 131.8 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.515e-05/12.41, allocations: 3.703 kB / 4.286 GB, free: 131.8 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009504/12.42, allocations: 3.028 MB / 4.289 GB, free: 131.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.086e-05/12.42, allocations: 0 / 4.289 GB, free: 131.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001892/12.42, allocations: 206 kB / 4.29 GB, free: 131.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-05/12.42, allocations: 7.5 kB / 4.29 GB, free: 131.3 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000134/12.42, allocations: 41.62 kB / 4.29 GB, free: 131.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.206e-05/12.42, allocations: 11.55 kB / 4.29 GB, free: 131.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/12.42, allocations: 7.375 kB / 4.29 GB, free: 131.2 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008409/12.43, allocations: 2.511 MB / 4.292 GB, free: 130.6 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0011/12.43, allocations: 362.1 kB / 4.292 GB, free: 130.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003374/12.43, allocations: 28.19 kB / 4.293 GB, free: 130.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002288/12.43, allocations: 136.3 kB / 4.293 GB, free: 130.5 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002021/12.43, allocations: 55.2 kB / 4.293 GB, free: 130.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001577/12.43, allocations: 53.77 kB / 4.293 GB, free: 130.5 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001439/12.43, allocations: 0.708 MB / 4.293 GB, free: 130.3 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.61e-07/12.43, allocations: 0 / 4.293 GB, free: 130.3 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.004238/12.44, allocations: 1.005 MB / 4.294 GB, free: 130.2 MB / 0.8855 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.004593/12.44, allocations: 2.236 MB / 4.297 GB, free: 129.3 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.008429/12.45, allocations: 2.265 MB / 4.299 GB, free: 129 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 8.936e-06/12.45, allocations: 0 / 4.299 GB, free: 129 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.002642/12.45, allocations: 0.7868 MB / 4.3 GB, free: 128.8 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004668/12.46, allocations: 0.4974 MB / 4.3 GB, free: 128.8 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007166/12.46, allocations: 2.778 MB / 4.303 GB, free: 127.5 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007562/12.47, allocations: 1.186 MB / 4.304 GB, free: 126.8 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002894/12.47, allocations: 365.5 kB / 4.304 GB, free: 126.7 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005672/12.47, allocations: 103.6 kB / 4.304 GB, free: 126.6 MB / 0.8855 GB Notification: Performance of SimCode: time 1.342e-06/12.47, allocations: 0 / 4.304 GB, free: 126.6 MB / 0.8855 GB Notification: Performance of Templates: time 0.1014/12.57, allocations: 45.43 MB / 4.349 GB, free: 86.66 MB / 0.8855 GB