Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T") translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.621/1.621, allocations: 288.3 MB / 303.2 MB, free: 8.16 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.001062/0.001063, allocations: 186 kB / 371.8 MB, free: 10.27 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.391/1.391, allocations: 205.4 MB / 0.6306 GB, free: 10.03 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008063/0.0008064, allocations: 95.64 kB / 0.7439 GB, free: 5.957 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003998/0.0003998, allocations: 11.97 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.17/0.1704, allocations: 115.3 MB / 0.9794 GB, free: 27.72 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8386/1.009, allocations: 454.7 MB / 1.423 GB, free: 6.992 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002468/1.009, allocations: 102.5 kB / 1.424 GB, free: 6.938 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.006/5.016, allocations: 1.171 GB / 2.595 GB, free: 142.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.866e-06/5.016, allocations: 0 / 2.595 GB, free: 142.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002261/5.016, allocations: 59.19 kB / 2.595 GB, free: 142.1 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 282 * Number of variables: 282 Notification: Performance of Generate backend data structure: time 0.006005/5.022, allocations: 2.573 MB / 2.597 GB, free: 141.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/5.022, allocations: 7.5 kB / 2.597 GB, free: 141.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002275/5.024, allocations: 463.4 kB / 2.598 GB, free: 141.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006012/5.03, allocations: 2.313 MB / 2.6 GB, free: 140.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.496e-05/5.03, allocations: 95.95 kB / 2.6 GB, free: 140.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002186/5.031, allocations: 123.9 kB / 2.6 GB, free: 140.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002263/5.033, allocations: 1.32 MB / 2.602 GB, free: 140.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.998e-05/5.033, allocations: 3.125 kB / 2.602 GB, free: 140.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001096/5.033, allocations: 50.66 kB / 2.602 GB, free: 140.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.282e-05/5.033, allocations: 31.8 kB / 2.602 GB, free: 140.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001903/5.035, allocations: 0.9661 MB / 2.603 GB, free: 140.4 MB / 0.948 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.007829/5.043, allocations: 6.885 MB / 2.609 GB, free: 136.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00173/5.045, allocations: 1.279 MB / 2.611 GB, free: 135.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004111/5.049, allocations: 2.877 MB / 2.613 GB, free: 133.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000783/5.049, allocations: 413.8 kB / 2.614 GB, free: 133.8 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006459/5.05, allocations: 96.53 kB / 2.614 GB, free: 133.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=61): time 3.978e-06/5.05, allocations: 0 / 2.614 GB, free: 133.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=61): time 0.002409/5.053, allocations: 1.121 MB / 2.615 GB, free: 133.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.309e-05/5.053, allocations: 165.6 kB / 2.615 GB, free: 133.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001819/5.054, allocations: 1.363 MB / 2.616 GB, free: 133.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.711e-05/5.055, allocations: 38.73 kB / 2.616 GB, free: 133.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000626/5.055, allocations: 0.8917 MB / 2.617 GB, free: 132.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001462/5.055, allocations: 222.6 kB / 2.618 GB, free: 132.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.756e-05/5.055, allocations: 19.06 kB / 2.618 GB, free: 132.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.195e-05/5.056, allocations: 338.9 kB / 2.618 GB, free: 132.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006637/5.056, allocations: 336 kB / 2.618 GB, free: 132.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008531/5.057, allocations: 0.7609 MB / 2.619 GB, free: 131.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007836/5.058, allocations: 452.1 kB / 2.619 GB, free: 131.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.593e-06/5.058, allocations: 3.969 kB / 2.619 GB, free: 131.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002102/5.06, allocations: 1.225 MB / 2.621 GB, free: 131.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008437/5.061, allocations: 4.549 MB / 2.625 GB, free: 126.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.113e-05/5.061, allocations: 17.17 kB / 2.625 GB, free: 126.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.529e-05/5.061, allocations: 24.23 kB / 2.625 GB, free: 126.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009292/5.062, allocations: 243.1 kB / 2.625 GB, free: 126.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.999e-05/5.062, allocations: 28.2 kB / 2.625 GB, free: 126.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001341/5.063, allocations: 117.3 kB / 2.625 GB, free: 126.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001098/5.063, allocations: 59.22 kB / 2.625 GB, free: 126.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/5.063, allocations: 6.312 kB / 2.626 GB, free: 126.9 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001873/5.065, allocations: 1.044 MB / 2.627 GB, free: 126.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.81e-05/5.065, allocations: 11.31 kB / 2.627 GB, free: 126.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/5.065, allocations: 22.66 kB / 2.627 GB, free: 126.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008613/5.066, allocations: 242.1 kB / 2.627 GB, free: 126.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.628e-05/5.066, allocations: 26.42 kB / 2.627 GB, free: 126.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001263/5.067, allocations: 116.2 kB / 2.627 GB, free: 126.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.43e-05/5.068, allocations: 57.77 kB / 2.627 GB, free: 126.8 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 118 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * 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.001049/5.069, allocations: 489.5 kB / 2.627 GB, free: 126.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002724/5.069, allocations: 170 kB / 2.628 GB, free: 126.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002128/5.071, allocations: 1.054 MB / 2.629 GB, free: 126.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.586e-05/5.071, allocations: 10.41 kB / 2.629 GB, free: 126.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/5.071, allocations: 5.641 kB / 2.629 GB, free: 126.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001382/5.072, allocations: 0.9033 MB / 2.63 GB, free: 126.2 MB / 0.948 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.003935/5.076, allocations: 2.262 MB / 2.632 GB, free: 125.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/5.076, allocations: 3 kB / 2.632 GB, free: 125.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006814/5.077, allocations: 132.3 kB / 2.632 GB, free: 125.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001854/5.077, allocations: 35.72 kB / 2.632 GB, free: 125.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.621e-05/5.077, allocations: 25.52 kB / 2.632 GB, free: 125.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008383/5.078, allocations: 1.306 MB / 2.633 GB, free: 124.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/5.078, allocations: 2.719 kB / 2.633 GB, free: 124.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002511/5.081, allocations: 1.482 MB / 2.635 GB, free: 124.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007336/5.082, allocations: 349.1 kB / 2.635 GB, free: 124 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002428/5.082, allocations: 16.5 kB / 2.635 GB, free: 124 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009243/5.083, allocations: 107.9 kB / 2.635 GB, free: 124 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001162/5.083, allocations: 52.58 kB / 2.635 GB, free: 124 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.692e-05/5.083, allocations: 36.61 kB / 2.635 GB, free: 124 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001567/5.084, allocations: 1.097 MB / 2.636 GB, free: 123.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.21e-07/5.084, allocations: 0 / 2.636 GB, free: 123.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003487/5.088, allocations: 1.042 MB / 2.637 GB, free: 123.7 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (vol.dynBal.U,mov.filter.x[1],mov.filter.x[2],conPI.I.y,THeaOut.T,coo.outCon.T) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002489/5.09, allocations: 1.336 MB / 2.639 GB, free: 123.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002832/5.093, allocations: 1.562 MB / 2.64 GB, free: 123.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/5.093, allocations: 0 / 2.64 GB, free: 123.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009031/5.094, allocations: 0.5067 MB / 2.641 GB, free: 123.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003853/5.098, allocations: 0.7399 MB / 2.641 GB, free: 123.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006876/5.105, allocations: 3.695 MB / 2.645 GB, free: 121.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001004/5.106, allocations: 1.409 MB / 2.646 GB, free: 120.7 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002563/5.109, allocations: 443.8 kB / 2.647 GB, free: 120.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004775/5.109, allocations: 138.1 kB / 2.647 GB, free: 120.7 MB / 0.948 GB Notification: Performance of SimCode: time 1.874e-06/5.109, allocations: 0 / 2.647 GB, free: 120.7 MB / 0.948 GB Notification: Performance of Templates: time 0.06024/5.169, allocations: 36.04 MB / 2.682 GB, free: 118.9 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe 2>&1)