Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.833/4.833, allocations: 0.5623 GB / 0.5775 GB, free: 3.375 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002525/0.002525, allocations: 360.6 kB / 0.6446 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.169/4.169, allocations: 410.7 MB / 1.113 GB, free: 6.008 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00182/0.00182, allocations: 183.7 kB / 1.226 GB, free: 6.172 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004972/0.0004974, allocations: 12 kB / 1.349 GB, free: 8.305 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7206/0.7211, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.8/7.521, allocations: 2.387 GB / 3.848 GB, free: 15.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003061/7.521, allocations: 99.77 kB / 3.848 GB, free: 15.25 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 12.68/20.2, allocations: 2.295 GB / 6.144 GB, free: 93.98 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.925e-06/20.2, allocations: 0 / 6.144 GB, free: 93.98 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.001287/20.2, allocations: 151.4 kB / 6.144 GB, free: 93.96 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1076 * Number of variables: 1076 Notification: Performance of Generate backend data structure: time 0.03309/20.23, allocations: 6.886 MB / 6.15 GB, free: 91.8 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/20.23, allocations: 13.66 kB / 6.15 GB, free: 91.8 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01303/20.25, allocations: 1.333 MB / 6.152 GB, free: 91.45 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02473/20.27, allocations: 6.893 MB / 6.158 GB, free: 90.55 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004955/20.27, allocations: 334.5 kB / 6.159 GB, free: 90.54 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002141/20.28, allocations: 447.5 kB / 6.159 GB, free: 90.54 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01941/20.29, allocations: 5.901 MB / 6.165 GB, free: 90.06 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002052/20.29, allocations: 5.312 kB / 6.165 GB, free: 90.06 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008929/20.3, allocations: 177.3 kB / 6.165 GB, free: 90.06 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002886/20.3, allocations: 197 kB / 6.165 GB, free: 90.05 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01731/20.31, allocations: 5.113 MB / 6.17 GB, free: 90 MB / 1.01 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.05639/20.37, allocations: 25.38 MB / 6.195 GB, free: 79.75 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009712/20.38, allocations: 4.422 MB / 6.199 GB, free: 78.93 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005474/20.39, allocations: 2.219 MB / 6.202 GB, free: 78.9 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001438/20.39, allocations: 0.9155 MB / 6.202 GB, free: 77.96 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005262/20.39, allocations: 1.918 MB / 6.204 GB, free: 77.82 MB / 1.01 GB Notification: Performance of pre-optimization done (n=284): time 8.405e-06/20.39, allocations: 0.625 kB / 6.204 GB, free: 77.82 MB / 1.01 GB Notification: Performance of matching and sorting (n=288): time 0.03714/20.43, allocations: 10.2 MB / 6.214 GB, free: 76.09 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001171/20.43, allocations: 241.4 kB / 6.215 GB, free: 75.84 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01143/20.44, allocations: 4.602 MB / 6.219 GB, free: 75.52 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.001029/20.44, allocations: 89.14 kB / 6.219 GB, free: 75.49 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.003559/20.45, allocations: 2.445 MB / 6.222 GB, free: 74.71 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.001804/20.45, allocations: 0.9948 MB / 6.222 GB, free: 74.07 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002997/20.45, allocations: 58.84 kB / 6.223 GB, free: 74.07 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0002166/20.45, allocations: 435 kB / 6.223 GB, free: 73.76 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003958/20.45, allocations: 1.549 MB / 6.224 GB, free: 73.75 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00478/20.46, allocations: 2.431 MB / 6.227 GB, free: 72.91 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00498/20.46, allocations: 2.023 MB / 6.229 GB, free: 72.83 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.558e-05/20.46, allocations: 2.938 kB / 6.229 GB, free: 72.83 MB / 1.01 GB Notification: Performance of matching and sorting (n=377) (initialization): time 0.01371/20.48, allocations: 4.599 MB / 6.233 GB, free: 72.43 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005277/20.48, allocations: 0.5018 MB / 6.234 GB, free: 71.85 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.991e-05/20.48, allocations: 10.88 kB / 6.234 GB, free: 71.85 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002181/20.48, allocations: 235.3 kB / 6.234 GB, free: 71.83 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009665/20.49, allocations: 0.6705 MB / 6.235 GB, free: 71.83 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004135/20.49, allocations: 3.428 MB / 6.238 GB, free: 69.39 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01047/20.5, allocations: 0.5373 MB / 6.239 GB, free: 69.36 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001006/20.5, allocations: 125.1 kB / 6.239 GB, free: 69.36 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/20.5, allocations: 7.094 kB / 6.239 GB, free: 69.36 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01303/20.52, allocations: 4.146 MB / 6.243 GB, free: 69.21 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.868e-05/20.52, allocations: 17.36 kB / 6.243 GB, free: 69.21 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009313/20.52, allocations: 210.5 kB / 6.243 GB, free: 69.2 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005903/20.52, allocations: 0.6526 MB / 6.244 GB, free: 69.2 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00613/20.53, allocations: 4.061 MB / 6.248 GB, free: 66.46 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01006/20.54, allocations: 0.5324 MB / 6.248 GB, free: 66.43 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009967/20.54, allocations: 122 kB / 6.248 GB, free: 66.43 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent,TSet.nextEventScaled,con.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (354): * Single equations (assignments): 348 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 7} * Non-linear torn systems: 1 {1 9} Notification: Performance of prepare postOptimizeDAE: time 0.006744/20.55, allocations: 2.179 MB / 6.25 GB, free: 66.2 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002052/20.55, allocations: 471.2 kB / 6.251 GB, free: 65.96 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01353/20.56, allocations: 4.287 MB / 6.255 GB, free: 65.71 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.905e-05/20.56, allocations: 31.94 kB / 6.255 GB, free: 65.71 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/20.56, allocations: 3.938 kB / 6.255 GB, free: 65.71 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01049/20.57, allocations: 3.581 MB / 6.258 GB, free: 65.41 MB / 1.01 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 postOpt removeSimpleEquations (simulation): time 0.0335/20.61, allocations: 10.67 MB / 6.269 GB, free: 64.39 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.177e-05/20.61, allocations: 3.594 kB / 6.269 GB, free: 64.39 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006311/20.61, allocations: 0.6671 MB / 6.27 GB, free: 64.39 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008285/20.61, allocations: 166.9 kB / 6.27 GB, free: 64.38 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007522/20.62, allocations: 85.97 kB / 6.27 GB, free: 64.38 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003544/20.62, allocations: 3.33 MB / 6.273 GB, free: 61.93 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.883e-06/20.62, allocations: 6.219 kB / 6.273 GB, free: 61.93 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01773/20.64, allocations: 6.571 MB / 6.279 GB, free: 61.16 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005097/20.64, allocations: 1.092 MB / 6.281 GB, free: 60.82 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002152/20.64, allocations: 72.83 kB / 6.281 GB, free: 60.82 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008623/20.65, allocations: 472.7 kB / 6.281 GB, free: 60.8 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000917/20.65, allocations: 181.5 kB / 6.281 GB, free: 60.79 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004879/20.65, allocations: 112.2 kB / 6.281 GB, free: 60.79 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.009493/20.66, allocations: 3.222 MB / 6.284 GB, free: 60.61 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.093e-06/20.66, allocations: 3.969 kB / 6.285 GB, free: 60.61 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.02018/20.68, allocations: 2.963 MB / 6.287 GB, free: 60.54 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 21 (temSen.T,val.filter.x[1],val.filter.x[2],hex.ele[1].vol1.dynBal.U,hex.ele[1].vol2.dynBal.U,hex.ele[1].vol2.dynBal.mXi[1],hex.ele[1].mas.T,hex.ele[2].vol1.dynBal.U,hex.ele[2].vol2.dynBal.U,hex.ele[2].vol2.dynBal.mXi[1],hex.ele[2].mas.T,hex.ele[3].vol1.dynBal.U,hex.ele[3].vol2.dynBal.U,hex.ele[3].vol2.dynBal.mXi[1],hex.ele[3].mas.T,hex.ele[4].vol1.dynBal.U,hex.ele[4].vol2.dynBal.U,hex.ele[4].vol2.dynBal.m,hex.ele[4].vol2.dynBal.mXi[1],hex.ele[4].mas.T,con.I.y) * Number of discrete variables: 6 ($whenCondition1,TSet.a,TSet.b,TSet.last,TSet.nextEvent,TSet.nextEventScaled) * Number of discrete states: 6 (TSet.nextEvent,TSet.last,TSet.nextEventScaled,TSet.b,TSet.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (278): * Single equations (assignments): 270 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 7} * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.007028/20.69, allocations: 3.126 MB / 6.29 GB, free: 59.38 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.019/20.71, allocations: 6.474 MB / 6.297 GB, free: 58.74 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.462e-05/20.71, allocations: 2.906 kB / 6.297 GB, free: 58.74 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.005665/20.72, allocations: 2.061 MB / 6.299 GB, free: 58.54 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02827/20.74, allocations: 2.992 MB / 6.302 GB, free: 58.52 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03519/20.78, allocations: 14.13 MB / 6.316 GB, free: 53.52 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008977/20.79, allocations: 4.217 MB / 6.32 GB, free: 52.69 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.01593/20.8, allocations: 2.416 MB / 6.322 GB, free: 52.64 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003334/20.81, allocations: 356.6 kB / 6.322 GB, free: 52.64 MB / 1.01 GB Notification: Performance of SimCode: time 1.663e-06/20.81, allocations: 0 / 6.322 GB, free: 52.64 MB / 1.01 GB Notification: Performance of Templates: time 0.3196/21.13, allocations: 131.5 MB / 6.451 GB, free: 11.45 MB / 1.026 GB