Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.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.WaterCooler_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T") translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.734/1.734, allocations: 293 MB / 309 MB, free: 4.816 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.001012/0.001012, allocations: 168.5 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.765/1.765, allocations: 205.4 MB / 0.6383 GB, free: 9.172 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.0007999/0.0007998, allocations: 94.59 kB / 0.7527 GB, free: 62.13 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003913/0.0003913, allocations: 16 kB / 0.8768 GB, free: 10.57 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2674/0.2678, allocations: 116.4 MB / 0.9904 GB, free: 6.02 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.562/1.83, allocations: 455.9 MB / 1.436 GB, free: 265.7 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002779/1.83, allocations: 102.7 kB / 1.436 GB, free: 265.7 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.916/5.746, allocations: 1.165 GB / 2.6 GB, free: 124.7 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.523e-06/5.746, allocations: 0 / 2.6 GB, free: 124.7 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0003738/5.746, allocations: 56.41 kB / 2.6 GB, free: 124.7 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: 282 * Number of variables: 282 Notification: Performance of Generate backend data structure: time 0.008881/5.755, allocations: 2.55 MB / 2.603 GB, free: 123.6 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.49e-05/5.755, allocations: 14.39 kB / 2.603 GB, free: 123.6 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002955/5.758, allocations: 461 kB / 2.603 GB, free: 123.4 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007845/5.766, allocations: 2.28 MB / 2.606 GB, free: 122.9 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001222/5.766, allocations: 94.06 kB / 2.606 GB, free: 122.9 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003784/5.767, allocations: 129 kB / 2.606 GB, free: 122.9 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002803/5.77, allocations: 1.327 MB / 2.607 GB, free: 122.6 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.411e-05/5.77, allocations: 7.219 kB / 2.607 GB, free: 122.6 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001448/5.77, allocations: 44.5 kB / 2.607 GB, free: 122.6 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.382e-05/5.77, allocations: 33.31 kB / 2.607 GB, free: 122.6 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002145/5.772, allocations: 0.9653 MB / 2.608 GB, free: 122.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.008372/5.78, allocations: 6.848 MB / 2.615 GB, free: 118.5 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001639/5.782, allocations: 1.259 MB / 2.616 GB, free: 117.9 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006686/5.783, allocations: 376.5 kB / 2.616 GB, free: 117.9 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003932/5.787, allocations: 2.875 MB / 2.619 GB, free: 116 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007523/5.787, allocations: 405.7 kB / 2.62 GB, free: 115.9 MB / 0.9636 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004602/5.788, allocations: 91.34 kB / 2.62 GB, free: 115.9 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=60): time 2.866e-06/5.788, allocations: 0 / 2.62 GB, free: 115.9 MB / 0.9636 GB Notification: Performance of matching and sorting (n=60): time 0.00237/5.79, allocations: 1.194 MB / 2.621 GB, free: 115.5 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.251e-05/5.79, allocations: 166.9 kB / 2.621 GB, free: 115.3 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00181/5.792, allocations: 1.511 MB / 2.622 GB, free: 115.2 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 7.415e-05/5.792, allocations: 45.39 kB / 2.623 GB, free: 115.1 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006263/5.793, allocations: 0.8906 MB / 2.623 GB, free: 114.8 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001813/5.793, allocations: 215.8 kB / 2.624 GB, free: 114.7 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.463e-05/5.793, allocations: 19.66 kB / 2.624 GB, free: 114.7 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.829e-05/5.793, allocations: 348.6 kB / 2.624 GB, free: 114.4 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006366/5.794, allocations: 325.3 kB / 2.624 GB, free: 114.4 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008196/5.795, allocations: 0.7692 MB / 2.625 GB, free: 113.8 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001442/5.796, allocations: 1.047 MB / 2.626 GB, free: 113.4 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.414e-06/5.796, allocations: 3.75 kB / 2.626 GB, free: 113.4 MB / 0.9636 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002019/5.798, allocations: 1.207 MB / 2.627 GB, free: 113.2 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001968/5.798, allocations: 457.9 kB / 2.628 GB, free: 112.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.491e-05/5.798, allocations: 17.84 kB / 2.628 GB, free: 112.7 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.224e-05/5.798, allocations: 15.22 kB / 2.628 GB, free: 112.7 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008272/5.799, allocations: 241.9 kB / 2.628 GB, free: 112.7 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.271e-05/5.799, allocations: 29.47 kB / 2.628 GB, free: 112.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001105/5.8, allocations: 121.4 kB / 2.628 GB, free: 112.7 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001007/5.801, allocations: 58.86 kB / 2.628 GB, free: 112.7 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 8.235e-06/5.801, allocations: 3.938 kB / 2.628 GB, free: 112.7 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001768/5.802, allocations: 1.039 MB / 2.629 GB, free: 112.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.908e-05/5.802, allocations: 13.53 kB / 2.629 GB, free: 112.7 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/5.802, allocations: 15.75 kB / 2.629 GB, free: 112.7 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007887/5.803, allocations: 240.2 kB / 2.629 GB, free: 112.7 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.999e-05/5.803, allocations: 27.7 kB / 2.629 GB, free: 112.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001019/5.804, allocations: 111.8 kB / 2.63 GB, free: 112.7 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.098e-05/5.804, allocations: 54.84 kB / 2.63 GB, free: 112.7 MB / 0.9636 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 (121): * Single equations (assignments): 117 * 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.001087/5.805, allocations: 499.5 kB / 2.63 GB, free: 112.5 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002133/5.806, allocations: 165.5 kB / 2.63 GB, free: 112.4 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002208/5.808, allocations: 1.134 MB / 2.631 GB, free: 112.2 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.426e-05/5.808, allocations: 6.453 kB / 2.631 GB, free: 112.2 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/5.808, allocations: 3.938 kB / 2.631 GB, free: 112.2 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001467/5.809, allocations: 0.9683 MB / 2.632 GB, free: 111.8 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 postOpt removeSimpleEquations (simulation): time 0.003986/5.813, allocations: 2.32 MB / 2.635 GB, free: 111.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/5.813, allocations: 5.094 kB / 2.635 GB, free: 111.4 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000602/5.814, allocations: 135.4 kB / 2.635 GB, free: 111.4 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001727/5.814, allocations: 27.25 kB / 2.635 GB, free: 111.3 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.059e-05/5.814, allocations: 21.47 kB / 2.635 GB, free: 111.3 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001073/5.815, allocations: 1.297 MB / 2.636 GB, free: 110.1 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/5.815, allocations: 5.688 kB / 2.636 GB, free: 110.1 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002746/5.818, allocations: 1.512 MB / 2.637 GB, free: 109.7 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007403/5.819, allocations: 336.6 kB / 2.638 GB, free: 109.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002149/5.819, allocations: 17.69 kB / 2.638 GB, free: 109.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008321/5.82, allocations: 102.5 kB / 2.638 GB, free: 109.5 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001203/5.82, allocations: 57.16 kB / 2.638 GB, free: 109.5 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.572e-05/5.82, allocations: 34.97 kB / 2.638 GB, free: 109.5 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.001593/5.822, allocations: 1.067 MB / 2.639 GB, free: 109.4 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.91e-07/5.822, allocations: 2.781 kB / 2.639 GB, free: 109.4 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.003536/5.825, allocations: 0.9935 MB / 2.64 GB, free: 109.2 MB / 0.9636 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 (69): * Single equations (assignments): 60 * 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.002711/5.828, allocations: 1.324 MB / 2.641 GB, free: 108.9 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.003002/5.831, allocations: 1.541 MB / 2.643 GB, free: 108.7 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/5.831, allocations: 6.062 kB / 2.643 GB, free: 108.7 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.000938/5.832, allocations: 0.498 MB / 2.643 GB, free: 108.6 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004404/5.836, allocations: 0.7184 MB / 2.644 GB, free: 108.6 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007076/5.844, allocations: 3.697 MB / 2.648 GB, free: 107 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008638/5.844, allocations: 1.366 MB / 2.649 GB, free: 106.2 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.002228/5.847, allocations: 431.7 kB / 2.649 GB, free: 106.2 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003274/5.847, allocations: 139.1 kB / 2.649 GB, free: 106.2 MB / 0.9636 GB Notification: Performance of SimCode: time 1.112e-06/5.847, allocations: 3.609 kB / 2.65 GB, free: 106.2 MB / 0.9636 GB Notification: Performance of Templates: time 0.05878/5.906, allocations: 35.92 MB / 2.685 GB, free: 104 MB / 0.9636 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe 2>&1)