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.4-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.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-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.4-maint.8.1.x/package.mo): time 1.757/1.757, allocations: 292.6 MB / 307.5 MB, free: 5.227 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.001137/0.001137, allocations: 188.2 kB / 377.1 MB, free: 1.531 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.852/1.852, allocations: 205.4 MB / 0.6367 GB, free: 8.613 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.0009949/0.000995, allocations: 94.09 kB / 0.751 GB, free: 63.12 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003427/0.0003427, allocations: 8 kB / 0.8748 GB, free: 11.22 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3035/0.3039, allocations: 116.3 MB / 0.9884 GB, free: 6.766 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.797/2.101, allocations: 405.3 MB / 1.384 GB, free: 246.5 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002735/2.102, allocations: 100.8 kB / 1.384 GB, free: 246.5 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.672/3.774, allocations: 480.1 MB / 1.853 GB, free: 188.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 4.688e-06/3.774, allocations: 0 / 1.853 GB, free: 188.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002347/3.774, allocations: 47.86 kB / 1.853 GB, free: 188.3 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.007196/3.781, allocations: 1.951 MB / 1.855 GB, free: 187.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.436e-05/3.781, allocations: 9.625 kB / 1.855 GB, free: 187.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001466/3.783, allocations: 236.3 kB / 1.855 GB, free: 187.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005676/3.788, allocations: 1.965 MB / 1.857 GB, free: 186.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.418e-05/3.789, allocations: 66.94 kB / 1.857 GB, free: 186.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001968/3.789, allocations: 87.12 kB / 1.857 GB, free: 186.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0019/3.791, allocations: 0.9527 MB / 1.858 GB, free: 185.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.924e-05/3.791, allocations: 5.25 kB / 1.858 GB, free: 185.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.729e-05/3.791, allocations: 36.56 kB / 1.858 GB, free: 185.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.667e-05/3.791, allocations: 18.34 kB / 1.858 GB, free: 185.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001572/3.792, allocations: 0.7117 MB / 1.859 GB, free: 185.5 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.006239/3.799, allocations: 4.608 MB / 1.864 GB, free: 182.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001333/3.8, allocations: 0.5901 MB / 1.864 GB, free: 182 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002914/3.803, allocations: 1.697 MB / 1.866 GB, free: 180.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007535/3.804, allocations: 346.4 kB / 1.866 GB, free: 180.6 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006531/3.804, allocations: 109.6 kB / 1.866 GB, free: 180.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=46): time 3.857e-06/3.804, allocations: 1.312 kB / 1.866 GB, free: 180.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=46): time 0.002858/3.807, allocations: 1.117 MB / 1.867 GB, free: 180.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.968e-05/3.807, allocations: 60.86 kB / 1.867 GB, free: 180.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001894/3.809, allocations: 1.123 MB / 1.868 GB, free: 179.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.443e-05/3.809, allocations: 39.05 kB / 1.869 GB, free: 179.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000637/3.81, allocations: 0.6433 MB / 1.869 GB, free: 179.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001409/3.81, allocations: 158 kB / 1.869 GB, free: 179 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.444e-05/3.81, allocations: 15.66 kB / 1.869 GB, free: 179 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001122/3.81, allocations: 332.2 kB / 1.87 GB, free: 178.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000543/3.811, allocations: 239.7 kB / 1.87 GB, free: 178.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007298/3.812, allocations: 0.5858 MB / 1.87 GB, free: 178.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000616/3.812, allocations: 339.4 kB / 1.871 GB, free: 177.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.182e-06/3.812, allocations: 3.781 kB / 1.871 GB, free: 177.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001833/3.814, allocations: 1.011 MB / 1.872 GB, free: 177.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000838/3.815, allocations: 3.056 MB / 1.875 GB, free: 174.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.642e-05/3.815, allocations: 10.73 kB / 1.875 GB, free: 174.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003852/3.815, allocations: 139.6 kB / 1.875 GB, free: 174.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005466/3.816, allocations: 150.2 kB / 1.875 GB, free: 174.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006514/3.817, allocations: 0.7646 MB / 1.876 GB, free: 173.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001374/3.818, allocations: 80.41 kB / 1.876 GB, free: 173.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.819e-05/3.818, allocations: 42.7 kB / 1.876 GB, free: 173.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/3.818, allocations: 3.812 kB / 1.876 GB, free: 173.7 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001634/3.82, allocations: 0.9197 MB / 1.877 GB, free: 173.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/3.82, allocations: 7.875 kB / 1.877 GB, free: 173.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001874/3.82, allocations: 108.9 kB / 1.877 GB, free: 173.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004584/3.82, allocations: 138.7 kB / 1.877 GB, free: 173.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002239/3.823, allocations: 2.237 MB / 1.879 GB, free: 171.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001366/3.824, allocations: 79.48 kB / 1.879 GB, free: 171.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.299e-05/3.824, allocations: 41.5 kB / 1.879 GB, free: 171.4 MB / 0.948 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.001254/3.825, allocations: 483.8 kB / 1.88 GB, free: 171.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002268/3.826, allocations: 130.2 kB / 1.88 GB, free: 171 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001916/3.828, allocations: 0.8763 MB / 1.881 GB, free: 170.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.217e-05/3.828, allocations: 7.656 kB / 1.881 GB, free: 170.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/3.828, allocations: 3.953 kB / 1.881 GB, free: 170.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00126/3.829, allocations: 0.8805 MB / 1.882 GB, free: 170.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003398/3.832, allocations: 1.868 MB / 1.883 GB, free: 169.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.622e-06/3.832, allocations: 3 kB / 1.883 GB, free: 169.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004346/3.833, allocations: 89.77 kB / 1.884 GB, free: 169.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000251/3.833, allocations: 124.6 kB / 1.884 GB, free: 169.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.89e-05/3.833, allocations: 15.58 kB / 1.884 GB, free: 169.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004969/3.834, allocations: 0.7427 MB / 1.884 GB, free: 168.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/3.834, allocations: 6.219 kB / 1.884 GB, free: 168.6 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001892/3.835, allocations: 1.239 MB / 1.886 GB, free: 168 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000635/3.836, allocations: 269 kB / 1.886 GB, free: 167.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001277/3.836, allocations: 11.5 kB / 1.886 GB, free: 167.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006346/3.837, allocations: 71.61 kB / 1.886 GB, free: 167.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001062/3.837, allocations: 43.22 kB / 1.886 GB, free: 167.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.183e-05/3.837, allocations: 25.97 kB / 1.886 GB, free: 167.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001088/3.838, allocations: 0.8762 MB / 1.887 GB, free: 167.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 8.02e-07/3.838, allocations: 0 / 1.887 GB, free: 167.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002621/3.841, allocations: 0.724 MB / 1.888 GB, free: 167.3 MB / 0.948 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.001602/3.842, allocations: 0.7578 MB / 1.888 GB, free: 167 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00274/3.845, allocations: 1.33 MB / 1.89 GB, free: 166.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/3.845, allocations: 0 / 1.89 GB, free: 166.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006573/3.846, allocations: 326 kB / 1.89 GB, free: 166.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002528/3.848, allocations: 0.5568 MB / 1.89 GB, free: 166.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003864/3.852, allocations: 2.667 MB / 1.893 GB, free: 164.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006995/3.853, allocations: 1.299 MB / 1.894 GB, free: 164.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001239/3.854, allocations: 316.2 kB / 1.895 GB, free: 164.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00021/3.854, allocations: 103.1 kB / 1.895 GB, free: 164.1 MB / 0.948 GB Notification: Performance of SimCode: time 1.513e-06/3.854, allocations: 0 / 1.895 GB, free: 164.1 MB / 0.948 GB Notification: Performance of Templates: time 0.04655/3.901, allocations: 27.65 MB / 1.922 GB, free: 161.1 MB / 0.948 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)