Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.71/1.71, allocations: 293 MB / 309 MB, free: 4.797 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00103/0.00103, allocations: 177.8 kB / 378.7 MB, free: 1.016 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.642/1.642, allocations: 205.4 MB / 0.6383 GB, free: 8.211 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008272/0.0008273, allocations: 95.64 kB / 0.7527 GB, free: 62.71 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004657/0.0004657, allocations: 19.98 kB / 0.8768 GB, free: 10.43 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2724/0.2729, allocations: 116.4 MB / 0.9904 GB, free: 5.879 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.788/6.061, allocations: 2.359 GB / 3.35 GB, free: 218.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002372/6.061, allocations: 97.02 kB / 3.35 GB, free: 218.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.601/9.662, allocations: 0.941 GB / 4.291 GB, free: 117.9 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.425e-06/9.662, allocations: 0 / 4.291 GB, free: 117.9 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0003179/9.662, allocations: 48.08 kB / 4.291 GB, free: 117.9 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.01043/9.673, allocations: 2.38 MB / 4.293 GB, free: 117.2 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.956e-05/9.673, allocations: 9.219 kB / 4.293 GB, free: 117.2 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004054/9.677, allocations: 0.5506 MB / 4.294 GB, free: 117.1 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005781/9.683, allocations: 1.473 MB / 4.295 GB, free: 116.8 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008427/9.684, allocations: 221.2 kB / 4.296 GB, free: 116.8 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006775/9.684, allocations: 113.8 kB / 4.296 GB, free: 116.8 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004663/9.689, allocations: 1.408 MB / 4.297 GB, free: 116.6 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.179e-05/9.689, allocations: 0.75 kB / 4.297 GB, free: 116.6 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002266/9.689, allocations: 44.72 kB / 4.297 GB, free: 116.6 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.701e-05/9.689, allocations: 47.27 kB / 4.297 GB, free: 116.6 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004216/9.694, allocations: 1.391 MB / 4.298 GB, free: 116.6 MB / 0.9636 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.0124/9.706, allocations: 5.46 MB / 4.304 GB, free: 114.5 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002983/9.709, allocations: 1.118 MB / 4.305 GB, free: 114.5 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00142/9.71, allocations: 0.556 MB / 4.305 GB, free: 114.5 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009595/9.711, allocations: 0.7515 MB / 4.306 GB, free: 113.7 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001542/9.713, allocations: 0.6477 MB / 4.307 GB, free: 113.7 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=81): time 3.917e-06/9.713, allocations: 0 / 4.307 GB, free: 113.7 MB / 0.9636 GB Notification: Performance of matching and sorting (n=81): time 0.004751/9.718, allocations: 1.698 MB / 4.308 GB, free: 113.5 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.302e-05/9.718, allocations: 194 kB / 4.309 GB, free: 113.3 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002667/9.721, allocations: 1.341 MB / 4.31 GB, free: 113.1 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0002635/9.721, allocations: 48.11 kB / 4.31 GB, free: 113.1 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005428/9.721, allocations: 0.6541 MB / 4.311 GB, free: 112.9 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002292/9.722, allocations: 272 kB / 4.311 GB, free: 112.8 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.379e-05/9.722, allocations: 22.62 kB / 4.311 GB, free: 112.8 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001013/9.722, allocations: 353.1 kB / 4.311 GB, free: 112.5 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001258/9.723, allocations: 0.5467 MB / 4.312 GB, free: 112.5 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001487/9.725, allocations: 0.8852 MB / 4.313 GB, free: 112.1 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002425/9.727, allocations: 1.275 MB / 4.314 GB, free: 111.9 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.151e-06/9.727, allocations: 3.219 kB / 4.314 GB, free: 111.9 MB / 0.9636 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.003662/9.731, allocations: 1.576 MB / 4.315 GB, free: 111.8 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001392/9.731, allocations: 264.8 kB / 4.316 GB, free: 111.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.353e-05/9.731, allocations: 6.562 kB / 4.316 GB, free: 111.5 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.8e-05/9.731, allocations: 16.52 kB / 4.316 GB, free: 111.5 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001678/9.733, allocations: 357.3 kB / 4.316 GB, free: 111.5 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005162/9.733, allocations: 1.197 MB / 4.317 GB, free: 110.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0021/9.735, allocations: 256.7 kB / 4.317 GB, free: 110.3 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00015/9.735, allocations: 59 kB / 4.317 GB, free: 110.3 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/9.735, allocations: 5.688 kB / 4.318 GB, free: 110.3 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002967/9.738, allocations: 1.417 MB / 4.319 GB, free: 110.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.795e-05/9.738, allocations: 6.094 kB / 4.319 GB, free: 110.2 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/9.738, allocations: 11.19 kB / 4.319 GB, free: 110.2 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001327/9.74, allocations: 323.8 kB / 4.319 GB, free: 110.2 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.498e-05/9.74, allocations: 11.84 kB / 4.319 GB, free: 110.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001947/9.742, allocations: 235.9 kB / 4.319 GB, free: 110.2 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001269/9.742, allocations: 59.45 kB / 4.32 GB, free: 110.2 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,hex.flowRegime,hex.flowRegime_nominal,P.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (134): * Single equations (assignments): 129 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009594/9.743, allocations: 426.8 kB / 4.32 GB, free: 110 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003968/9.743, allocations: 157.9 kB / 4.32 GB, free: 109.9 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003144/9.746, allocations: 1.397 MB / 4.321 GB, free: 109.8 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.49e-05/9.746, allocations: 10.41 kB / 4.321 GB, free: 109.8 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/9.746, allocations: 1.75 kB / 4.321 GB, free: 109.8 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.246e-05/9.747, allocations: 11.16 kB / 4.321 GB, free: 109.8 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005683/9.752, allocations: 2.897 MB / 4.324 GB, free: 109.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.157e-06/9.752, allocations: 10.16 kB / 4.324 GB, free: 109.4 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001146/9.753, allocations: 249.4 kB / 4.325 GB, free: 109.4 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.211e-05/9.753, allocations: 9.531 kB / 4.325 GB, free: 109.4 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.615e-05/9.754, allocations: 28.95 kB / 4.325 GB, free: 109.4 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000411/9.754, allocations: 1.195 MB / 4.326 GB, free: 108.2 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/9.754, allocations: 5.312 kB / 4.326 GB, free: 108.2 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004405/9.758, allocations: 2.162 MB / 4.328 GB, free: 107.8 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001094/9.759, allocations: 373.7 kB / 4.328 GB, free: 107.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002444/9.76, allocations: 25.83 kB / 4.328 GB, free: 107.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001276/9.761, allocations: 140.3 kB / 4.328 GB, free: 107.6 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001679/9.761, allocations: 73.52 kB / 4.328 GB, free: 107.6 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.104e-05/9.761, allocations: 39.47 kB / 4.328 GB, free: 107.6 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.001412/9.763, allocations: 0.8996 MB / 4.329 GB, free: 107.5 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.31e-07/9.763, allocations: 0 / 4.329 GB, free: 107.5 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.004135/9.767, allocations: 1.048 MB / 4.33 GB, free: 107.4 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 4 (temSen.T,val.filter.x[1],val.filter.x[2],P.I.y) * Number of discrete variables: 4 ($whenCondition1,TSet.T_start,TSet.count,hex.flowRegime) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004135/9.771, allocations: 2.162 MB / 4.332 GB, free: 106.9 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.00566/9.777, allocations: 2.265 MB / 4.335 GB, free: 106.6 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.308e-05/9.777, allocations: 0 / 4.335 GB, free: 106.6 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.001568/9.778, allocations: 0.6743 MB / 4.335 GB, free: 106.6 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004509/9.783, allocations: 0.6822 MB / 4.336 GB, free: 106.6 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005401/9.788, allocations: 3.27 MB / 4.339 GB, free: 105.2 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006511/9.789, allocations: 1.238 MB / 4.34 GB, free: 104.5 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.002244/9.791, allocations: 421 kB / 4.341 GB, free: 104.5 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003745/9.792, allocations: 128.3 kB / 4.341 GB, free: 104.5 MB / 0.9636 GB Notification: Performance of SimCode: time 6.91e-07/9.792, allocations: 2.375 kB / 4.341 GB, free: 104.5 MB / 0.9636 GB Notification: Performance of Templates: time 0.08363/9.875, allocations: 50.56 MB / 4.39 GB, free: 102.9 MB / 0.9636 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe 2>&1)