Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T") translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.406/2.406, allocations: 284.8 MB / 297.3 MB, free: 6.355 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001457/0.001457, allocations: 180.9 kB / 365.7 MB, free: 2.602 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.894/1.894, allocations: 205.1 MB / 0.6241 GB, free: 8.199 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001092/0.001091, allocations: 85.34 kB / 0.7372 GB, free: 40.78 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.998e-05/4.012e-05, allocations: 8 kB / 0.8574 GB, free: 13.72 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7924/0.7924, allocations: 115.2 MB / 0.97 GB, free: 78.3 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.316/2.108, allocations: 454.4 MB / 1.414 GB, free: 107.6 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002861/2.109, allocations: 90.39 kB / 1.414 GB, free: 107.6 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.951/8.06, allocations: 1.168 GB / 2.581 GB, free: 100.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.434e-06/8.06, allocations: 0 / 2.581 GB, free: 100.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003495/8.061, allocations: 59.77 kB / 2.582 GB, free: 100.6 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.00647/8.067, allocations: 2.074 MB / 2.584 GB, free: 98.47 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/8.067, allocations: 8.031 kB / 2.584 GB, free: 98.46 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003732/8.071, allocations: 458 kB / 2.584 GB, free: 98.03 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009017/8.08, allocations: 2.292 MB / 2.586 GB, free: 95.75 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001303/8.08, allocations: 90.08 kB / 2.586 GB, free: 95.66 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003615/8.081, allocations: 128 kB / 2.586 GB, free: 95.54 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003219/8.084, allocations: 1.248 MB / 2.588 GB, free: 94.18 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.095e-05/8.084, allocations: 4 kB / 2.588 GB, free: 94.18 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001992/8.084, allocations: 59.81 kB / 2.588 GB, free: 94.12 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-05/8.084, allocations: 28 kB / 2.588 GB, free: 94.09 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002533/8.087, allocations: 0.832 MB / 2.589 GB, free: 93.25 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.01412/8.101, allocations: 6.888 MB / 2.595 GB, free: 85.88 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002939/8.104, allocations: 1.135 MB / 2.596 GB, free: 84.63 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001306/8.105, allocations: 310.9 kB / 2.597 GB, free: 84.32 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01012/8.115, allocations: 2.908 MB / 2.6 GB, free: 81.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001323/8.117, allocations: 355 kB / 2.6 GB, free: 80.74 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001579/8.118, allocations: 91.33 kB / 2.6 GB, free: 80.65 MB / 0.948 GB Notification: Performance of pre-optimization done (n=60): time 8.345e-06/8.119, allocations: 0 / 2.6 GB, free: 80.65 MB / 0.948 GB Notification: Performance of matching and sorting (n=60): time 0.003323/8.122, allocations: 0.6696 MB / 2.601 GB, free: 79.97 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.46e-05/8.122, allocations: 166.8 kB / 2.601 GB, free: 79.77 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004799/8.127, allocations: 1.334 MB / 2.602 GB, free: 78.44 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003403/8.127, allocations: 45.7 kB / 2.602 GB, free: 78.39 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001476/8.129, allocations: 0.8934 MB / 2.603 GB, free: 77.49 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000498/8.129, allocations: 214.2 kB / 2.603 GB, free: 77.28 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001371/8.129, allocations: 20 kB / 2.603 GB, free: 77.26 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001539/8.13, allocations: 345.9 kB / 2.604 GB, free: 76.92 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001217/8.131, allocations: 266 kB / 2.604 GB, free: 76.66 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001534/8.132, allocations: 0.7167 MB / 2.604 GB, free: 75.74 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001355/8.134, allocations: 397.9 kB / 2.605 GB, free: 75.35 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.295e-05/8.134, allocations: 4 kB / 2.605 GB, free: 75.34 MB / 0.948 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003938/8.138, allocations: 1.102 MB / 2.606 GB, free: 74.22 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.00132/8.139, allocations: 4.554 MB / 2.61 GB, free: 69.29 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.437e-05/8.139, allocations: 23.92 kB / 2.61 GB, free: 69.26 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.397e-05/8.139, allocations: 16 kB / 2.61 GB, free: 69.25 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002386/8.142, allocations: 243.6 kB / 2.611 GB, free: 69.01 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-05/8.142, allocations: 27.92 kB / 2.611 GB, free: 68.98 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003062/8.145, allocations: 117.7 kB / 2.611 GB, free: 68.87 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003685/8.145, allocations: 59.97 kB / 2.611 GB, free: 68.81 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/8.145, allocations: 4 kB / 2.611 GB, free: 68.81 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003207/8.149, allocations: 0.9341 MB / 2.612 GB, free: 67.87 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.287e-05/8.149, allocations: 12 kB / 2.612 GB, free: 67.86 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.389e-05/8.149, allocations: 16 kB / 2.612 GB, free: 67.84 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002376/8.151, allocations: 243.6 kB / 2.612 GB, free: 67.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.018e-05/8.151, allocations: 31.84 kB / 2.612 GB, free: 67.57 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003287/8.155, allocations: 111.8 kB / 2.612 GB, free: 67.46 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004209/8.155, allocations: 55.98 kB / 2.612 GB, free: 67.41 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 () * 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.0005646/8.156, allocations: 182.2 kB / 2.612 GB, free: 67.22 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007066/8.156, allocations: 169.8 kB / 2.613 GB, free: 67.05 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004544/8.161, allocations: 0.9416 MB / 2.613 GB, free: 66.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.307e-05/8.161, allocations: 11.98 kB / 2.614 GB, free: 66.09 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.255e-05/8.161, allocations: 0 / 2.614 GB, free: 66.09 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00251/8.164, allocations: 0.7886 MB / 2.614 GB, free: 65.25 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.008775/8.172, allocations: 2.144 MB / 2.616 GB, free: 63.05 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.071e-05/8.172, allocations: 4.062 kB / 2.616 GB, free: 63.05 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001781/8.174, allocations: 131.8 kB / 2.616 GB, free: 62.92 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003581/8.175, allocations: 32.84 kB / 2.617 GB, free: 62.89 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002183/8.175, allocations: 23.92 kB / 2.617 GB, free: 62.87 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001495/8.176, allocations: 1.312 MB / 2.618 GB, free: 61.43 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/8.177, allocations: 0 / 2.618 GB, free: 61.43 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004793/8.181, allocations: 1.308 MB / 2.619 GB, free: 60.07 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001732/8.183, allocations: 342.7 kB / 2.619 GB, free: 59.71 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009248/8.184, allocations: 23.94 kB / 2.619 GB, free: 59.69 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003208/8.187, allocations: 107.8 kB / 2.62 GB, free: 59.59 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003363/8.188, allocations: 52.48 kB / 2.62 GB, free: 59.54 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001858/8.188, allocations: 39.91 kB / 2.62 GB, free: 59.5 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.004166/8.192, allocations: 1.071 MB / 2.621 GB, free: 58.39 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.172e-06/8.192, allocations: 0 / 2.621 GB, free: 58.39 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00808/8.2, allocations: 1.022 MB / 2.622 GB, free: 57.37 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) * 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.005297/8.206, allocations: 1.3 MB / 2.623 GB, free: 56.33 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.005383/8.211, allocations: 1.437 MB / 2.624 GB, free: 54.86 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.23e-05/8.211, allocations: 2.422 kB / 2.624 GB, free: 54.86 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001847/8.213, allocations: 461.9 kB / 2.625 GB, free: 54.39 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009214/8.222, allocations: 0.743 MB / 2.626 GB, free: 53.68 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01008/8.232, allocations: 2.342 MB / 2.628 GB, free: 51.31 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002028/8.235, allocations: 1.407 MB / 2.629 GB, free: 49.88 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.007247/8.242, allocations: 0.5987 MB / 2.63 GB, free: 49.31 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007617/8.243, allocations: 111.4 kB / 2.63 GB, free: 49.2 MB / 0.948 GB Notification: Performance of SimCode: time 1.803e-06/8.243, allocations: 0 / 2.63 GB, free: 49.2 MB / 0.948 GB Notification: Performance of Templates: time 0.1289/8.372, allocations: 40.63 MB / 2.67 GB, free: 8.957 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe 2>&1)