Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.Example2.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.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.Example2") translateModel(Buildings.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.Example2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.703/1.703, 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.001407/0.001407, allocations: 180.5 kB / 378.7 MB, free: 1.027 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.613/1.613, allocations: 205.4 MB / 0.6383 GB, free: 8.145 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.0007749/0.0007749, allocations: 91.89 kB / 0.7527 GB, free: 62.84 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004002/0.0004005, allocations: 12 kB / 0.8768 GB, free: 10.44 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2891/0.2895, allocations: 116.4 MB / 0.9904 GB, free: 5.902 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.563/1.853, allocations: 405.5 MB / 1.386 GB, free: 272.9 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002934/1.853, allocations: 95.8 kB / 1.387 GB, free: 272.9 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.622/3.475, allocations: 476.8 MB / 1.852 GB, free: 177.5 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.214e-06/3.475, allocations: 0 / 1.852 GB, free: 177.5 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0003244/3.475, allocations: 38.84 kB / 1.852 GB, free: 177.5 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.006995/3.482, allocations: 1.944 MB / 1.854 GB, free: 176.4 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/3.482, allocations: 10.34 kB / 1.854 GB, free: 176.4 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001641/3.484, allocations: 233.8 kB / 1.854 GB, free: 176.3 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005693/3.49, allocations: 1.932 MB / 1.856 GB, free: 175.3 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001001/3.49, allocations: 72.12 kB / 1.856 GB, free: 175.3 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003389/3.49, allocations: 82.91 kB / 1.856 GB, free: 175.3 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002286/3.493, allocations: 0.9659 MB / 1.857 GB, free: 174.8 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.991e-05/3.493, allocations: 9.969 kB / 1.857 GB, free: 174.8 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001111/3.493, allocations: 32.66 kB / 1.857 GB, free: 174.8 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.577e-05/3.493, allocations: 17.91 kB / 1.857 GB, free: 174.8 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001809/3.495, allocations: 0.7109 MB / 1.858 GB, free: 174.5 MB / 0.9323 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.008383/3.503, allocations: 4.71 MB / 1.863 GB, free: 171.1 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00142/3.504, allocations: 0.5908 MB / 1.863 GB, free: 170.9 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006898/3.505, allocations: 324.7 kB / 1.864 GB, free: 170.8 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004281/3.509, allocations: 1.696 MB / 1.865 GB, free: 169.6 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007009/3.51, allocations: 344.7 kB / 1.866 GB, free: 169.5 MB / 0.9323 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001061/3.511, allocations: 106.6 kB / 1.866 GB, free: 169.4 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=46): time 8.145e-06/3.511, allocations: 1.531 kB / 1.866 GB, free: 169.4 MB / 0.9323 GB Notification: Performance of matching and sorting (n=46): time 0.003859/3.515, allocations: 1.165 MB / 1.867 GB, free: 169 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.397e-05/3.515, allocations: 64.77 kB / 1.867 GB, free: 169 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002931/3.518, allocations: 1.25 MB / 1.868 GB, free: 168.5 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 9.944e-05/3.518, allocations: 45.3 kB / 1.868 GB, free: 168.4 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007321/3.519, allocations: 0.645 MB / 1.869 GB, free: 167.9 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001935/3.519, allocations: 161.3 kB / 1.869 GB, free: 167.8 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.858e-05/3.519, allocations: 11.72 kB / 1.869 GB, free: 167.8 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001169/3.519, allocations: 332 kB / 1.869 GB, free: 167.5 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005239/3.52, allocations: 240.4 kB / 1.869 GB, free: 167.4 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006666/3.521, allocations: 0.5748 MB / 1.87 GB, free: 166.9 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001162/3.522, allocations: 0.7648 MB / 1.871 GB, free: 166.4 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.889e-06/3.522, allocations: 6.828 kB / 1.871 GB, free: 166.4 MB / 0.9323 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002162/3.524, allocations: 1.049 MB / 1.872 GB, free: 166 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001962/3.524, allocations: 341.5 kB / 1.872 GB, free: 165.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.474e-05/3.524, allocations: 7.062 kB / 1.872 GB, free: 165.6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005923/3.525, allocations: 179.6 kB / 1.872 GB, free: 165.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005282/3.525, allocations: 146 kB / 1.872 GB, free: 165.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006187/3.526, allocations: 0.7729 MB / 1.873 GB, free: 164.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001189/3.527, allocations: 81.66 kB / 1.873 GB, free: 164.9 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001026/3.527, allocations: 45.56 kB / 1.873 GB, free: 164.9 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.003e-05/3.527, allocations: 3.531 kB / 1.873 GB, free: 164.9 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001529/3.529, allocations: 0.9081 MB / 1.874 GB, free: 164.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.154e-05/3.529, allocations: 13.69 kB / 1.874 GB, free: 164.5 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001811/3.529, allocations: 102.7 kB / 1.874 GB, free: 164.4 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004494/3.53, allocations: 144.5 kB / 1.874 GB, free: 164.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001857/3.531, allocations: 2.205 MB / 1.877 GB, free: 162.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001062/3.532, allocations: 78.44 kB / 1.877 GB, free: 162.6 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.708e-05/3.533, allocations: 35.22 kB / 1.877 GB, free: 162.6 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 70 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 7} Notification: Performance of prepare postOptimizeDAE: time 0.0008604/3.533, allocations: 485.2 kB / 1.877 GB, free: 162.3 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002738/3.534, allocations: 125.3 kB / 1.877 GB, free: 162.2 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001963/3.536, allocations: 0.8925 MB / 1.878 GB, free: 161.9 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-05/3.536, allocations: 3.125 kB / 1.878 GB, free: 161.9 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/3.536, allocations: 7.875 kB / 1.878 GB, free: 161.9 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001199/3.537, allocations: 0.8761 MB / 1.879 GB, free: 161.4 MB / 0.9323 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.00349/3.54, allocations: 1.874 MB / 1.881 GB, free: 160.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/3.54, allocations: 0 / 1.881 GB, free: 160.4 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003815/3.541, allocations: 81.33 kB / 1.881 GB, free: 160.4 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002607/3.541, allocations: 120.8 kB / 1.881 GB, free: 160.4 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.314e-05/3.541, allocations: 18.7 kB / 1.881 GB, free: 160.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00049/3.542, allocations: 0.7649 MB / 1.882 GB, free: 159.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/3.542, allocations: 3.969 kB / 1.882 GB, free: 159.8 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001986/3.544, allocations: 1.206 MB / 1.883 GB, free: 159.3 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006376/3.544, allocations: 266.2 kB / 1.883 GB, free: 159.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003089/3.545, allocations: 7.969 kB / 1.883 GB, free: 159.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008388/3.545, allocations: 67.66 kB / 1.883 GB, free: 159 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001229/3.546, allocations: 39.38 kB / 1.883 GB, free: 159 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.979e-05/3.546, allocations: 22.72 kB / 1.883 GB, free: 159 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001294/3.547, allocations: 0.8612 MB / 1.884 GB, free: 158.7 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.61e-07/3.547, allocations: 0 / 1.884 GB, free: 158.7 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.002949/3.55, allocations: 0.7121 MB / 1.885 GB, free: 158.5 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump_dp.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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: 0 * Non-linear torn systems: 1 {5 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.001901/3.552, allocations: 0.747 MB / 1.886 GB, free: 158.3 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.002691/3.555, allocations: 1.308 MB / 1.887 GB, free: 157.7 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/3.555, allocations: 0 / 1.887 GB, free: 157.7 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0006656/3.555, allocations: 333.8 kB / 1.887 GB, free: 157.7 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00316/3.558, allocations: 0.5657 MB / 1.888 GB, free: 157.5 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004563/3.563, allocations: 2.675 MB / 1.89 GB, free: 156.2 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001018/3.564, allocations: 1.268 MB / 1.892 GB, free: 155.4 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.001486/3.566, allocations: 310 kB / 1.892 GB, free: 155.4 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002814/3.566, allocations: 99.44 kB / 1.892 GB, free: 155.4 MB / 0.9323 GB Notification: Performance of SimCode: time 8.81e-07/3.566, allocations: 2.562 kB / 1.892 GB, free: 155.4 MB / 0.9323 GB Notification: Performance of Templates: time 0.04987/3.616, allocations: 27.73 MB / 1.919 GB, free: 150.2 MB / 0.9323 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.Performance.Example2.makefile (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.Example2.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.Example2.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.Example2.sim & ./Buildings_8_Buildings.Fluid.Examples.Performance.Example2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.Performance.Example2.pipe 2>&1)