Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T") translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.656/1.656, allocations: 297.8 MB / 313.7 MB, free: 140 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009508/0.0009506, allocations: 188.2 kB / 384.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 223.2 MB / 0.6626 GB, free: 4.34 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008776/0.0008775, allocations: 99 kB / 0.7808 GB, free: 50.16 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003874/0.0003874, allocations: 20.53 kB / 0.9088 GB, free: 2.895 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6925/0.6929, allocations: 120.3 MB / 1.026 GB, free: 55.9 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9451/1.638, allocations: 445 MB / 1.461 GB, free: 241.6 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003556/1.638, allocations: 99.98 kB / 1.461 GB, free: 241.6 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.914/5.553, allocations: 1.179 GB / 2.64 GB, free: 131.5 MB / 0.9948 GB Notification: Performance of FrontEnd: time 3.256e-06/5.553, allocations: 0 / 2.64 GB, free: 131.5 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0004221/5.553, allocations: 53.48 kB / 2.64 GB, free: 131.5 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.009315/5.563, allocations: 2.489 MB / 2.642 GB, free: 130.3 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/5.563, allocations: 7.688 kB / 2.642 GB, free: 130.3 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003454/5.566, allocations: 463.8 kB / 2.643 GB, free: 130.2 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008859/5.575, allocations: 2.241 MB / 2.645 GB, free: 129.7 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000171/5.575, allocations: 92.2 kB / 2.645 GB, free: 129.7 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005398/5.576, allocations: 125.2 kB / 2.645 GB, free: 129.7 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004129/5.58, allocations: 1.293 MB / 2.646 GB, free: 129.4 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.204e-05/5.58, allocations: 11.83 kB / 2.646 GB, free: 129.4 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001719/5.58, allocations: 43.94 kB / 2.646 GB, free: 129.4 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-05/5.58, allocations: 48.27 kB / 2.646 GB, free: 129.4 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0032/5.584, allocations: 0.962 MB / 2.647 GB, free: 129.4 MB / 0.9948 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.01154/5.595, allocations: 6.885 MB / 2.654 GB, free: 125.3 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002073/5.597, allocations: 1.277 MB / 2.655 GB, free: 124.7 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008791/5.598, allocations: 377.7 kB / 2.656 GB, free: 124.6 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006186/5.604, allocations: 2.99 MB / 2.659 GB, free: 122.7 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009409/5.605, allocations: 410.4 kB / 2.659 GB, free: 122.7 MB / 0.9948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009193/5.606, allocations: 84.92 kB / 2.659 GB, free: 122.7 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=62): time 9.728e-06/5.606, allocations: 0 / 2.659 GB, free: 122.7 MB / 0.9948 GB Notification: Performance of matching and sorting (n=62): time 0.002912/5.609, allocations: 1.204 MB / 2.66 GB, free: 122.3 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.133e-05/5.609, allocations: 112.6 kB / 2.66 GB, free: 122.2 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002508/5.612, allocations: 1.479 MB / 2.662 GB, free: 122 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001224/5.612, allocations: 45.34 kB / 2.662 GB, free: 122 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006653/5.613, allocations: 0.8774 MB / 2.663 GB, free: 121.7 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001858/5.613, allocations: 221.5 kB / 2.663 GB, free: 121.5 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.09e-05/5.613, allocations: 16.84 kB / 2.663 GB, free: 121.5 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 7.673e-05/5.613, allocations: 349 kB / 2.663 GB, free: 121.2 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006742/5.614, allocations: 315.5 kB / 2.664 GB, free: 121.2 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008758/5.615, allocations: 0.7316 MB / 2.664 GB, free: 120.7 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001509/5.616, allocations: 1.031 MB / 2.665 GB, free: 120.3 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.466e-06/5.616, allocations: 0 / 2.665 GB, free: 120.3 MB / 0.9948 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002427/5.619, allocations: 1.189 MB / 2.666 GB, free: 120.1 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002183/5.619, allocations: 439.8 kB / 2.667 GB, free: 119.6 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.014e-05/5.619, allocations: 13.84 kB / 2.667 GB, free: 119.6 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.804e-05/5.619, allocations: 19.62 kB / 2.667 GB, free: 119.6 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008889/5.62, allocations: 242.3 kB / 2.667 GB, free: 119.6 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.663e-05/5.62, allocations: 25 kB / 2.667 GB, free: 119.6 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001503/5.621, allocations: 125.4 kB / 2.667 GB, free: 119.6 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001204/5.622, allocations: 50.72 kB / 2.667 GB, free: 119.6 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 9.408e-06/5.622, allocations: 3.906 kB / 2.667 GB, free: 119.6 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002014/5.624, allocations: 1.011 MB / 2.668 GB, free: 119.6 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.216e-05/5.624, allocations: 14.16 kB / 2.668 GB, free: 119.6 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/5.624, allocations: 17.75 kB / 2.668 GB, free: 119.6 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008232/5.624, allocations: 243.1 kB / 2.669 GB, free: 119.6 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.127e-05/5.624, allocations: 23.75 kB / 2.669 GB, free: 119.6 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001423/5.626, allocations: 113.4 kB / 2.669 GB, free: 119.6 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001159/5.626, allocations: 54.92 kB / 2.669 GB, free: 119.6 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (120): * Single equations (assignments): 118 * Array equations: 1 * Algorithm blocks: 1 * 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.001049/5.627, allocations: 486.1 kB / 2.669 GB, free: 119.4 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003999/5.627, allocations: 163.2 kB / 2.669 GB, free: 119.3 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002587/5.63, allocations: 1.136 MB / 2.67 GB, free: 119 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-05/5.63, allocations: 7.562 kB / 2.67 GB, free: 119 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.949e-06/5.63, allocations: 0 / 2.67 GB, free: 119 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001502/5.632, allocations: 0.9886 MB / 2.671 GB, free: 118.5 MB / 0.9948 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.004797/5.636, allocations: 2.364 MB / 2.674 GB, free: 117.4 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/5.636, allocations: 2.375 kB / 2.674 GB, free: 117.4 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006407/5.637, allocations: 134.5 kB / 2.674 GB, free: 117.3 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001406/5.637, allocations: 26.72 kB / 2.674 GB, free: 117.3 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.069e-05/5.637, allocations: 23.2 kB / 2.674 GB, free: 117.3 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008332/5.638, allocations: 1.302 MB / 2.675 GB, free: 116 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/5.638, allocations: 3.844 kB / 2.675 GB, free: 116 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002694/5.641, allocations: 1.522 MB / 2.677 GB, free: 115.3 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008412/5.642, allocations: 346.5 kB / 2.677 GB, free: 115 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004472/5.642, allocations: 19.19 kB / 2.677 GB, free: 115 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001125/5.643, allocations: 95.88 kB / 2.677 GB, free: 115 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001284/5.643, allocations: 56.22 kB / 2.677 GB, free: 115 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.483e-05/5.644, allocations: 28.8 kB / 2.677 GB, free: 115 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.002017/5.646, allocations: 1.055 MB / 2.678 GB, free: 114.6 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.3e-07/5.646, allocations: 0 / 2.678 GB, free: 114.6 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.003945/5.65, allocations: 0.9537 MB / 2.679 GB, free: 114.3 MB / 0.9948 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.s[1],mov.filter.s[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 (71): * Single equations (assignments): 62 * 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.002886/5.652, allocations: 1.275 MB / 2.68 GB, free: 114 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.00352/5.656, allocations: 1.454 MB / 2.682 GB, free: 113.5 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 6.632e-06/5.656, allocations: 2.844 kB / 2.682 GB, free: 113.5 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.001036/5.657, allocations: 0.5128 MB / 2.682 GB, free: 113.3 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004268/5.661, allocations: 0.726 MB / 2.683 GB, free: 113.1 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006103/5.667, allocations: 3.632 MB / 2.687 GB, free: 111.3 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001232/5.669, allocations: 1.356 MB / 2.688 GB, free: 110.5 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.002394/5.671, allocations: 428.1 kB / 2.688 GB, free: 110.5 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004846/5.672, allocations: 141.7 kB / 2.688 GB, free: 110.5 MB / 0.9948 GB Notification: Performance of SimCode: time 1.864e-06/5.672, allocations: 0 / 2.688 GB, free: 110.5 MB / 0.9948 GB Notification: Performance of Templates: time 0.05748/5.729, allocations: 34.68 MB / 2.722 GB, free: 105.8 MB / 0.9948 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe 2>&1)