Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example2") translateModel(Buildings.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.677/1.677, allocations: 288.3 MB / 303.2 MB, free: 8.047 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.001136/0.001137, allocations: 186.8 kB / 371.8 MB, free: 10.29 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.844/1.844, allocations: 205.4 MB / 0.6306 GB, free: 10.05 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001063/0.001064, allocations: 94.86 kB / 0.7439 GB, free: 5.98 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004619/0.0004619, allocations: 16.06 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3045/0.305, allocations: 115.3 MB / 0.9794 GB, free: 27.75 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.219/1.525, allocations: 404.3 MB / 1.374 GB, free: 7.984 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002971/1.525, allocations: 100.3 kB / 1.374 GB, free: 7.93 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.29/3.815, allocations: 480.1 MB / 1.843 GB, free: 224.6 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.134e-06/3.815, allocations: 0 / 1.843 GB, free: 224.6 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001838/3.816, allocations: 39.59 kB / 1.843 GB, free: 224.6 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.005009/3.821, allocations: 1.954 MB / 1.845 GB, free: 223.8 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/3.821, allocations: 7.625 kB / 1.845 GB, free: 223.8 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001102/3.822, allocations: 235.6 kB / 1.845 GB, free: 223.7 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004407/3.826, allocations: 1.963 MB / 1.847 GB, free: 223.4 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.579e-05/3.826, allocations: 68.61 kB / 1.847 GB, free: 223.3 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001316/3.826, allocations: 86.25 kB / 1.847 GB, free: 223.3 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001619/3.828, allocations: 0.9577 MB / 1.848 GB, free: 223.2 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.511e-05/3.828, allocations: 0 / 1.848 GB, free: 223.2 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.741e-05/3.828, allocations: 32.09 kB / 1.848 GB, free: 223.2 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.709e-05/3.828, allocations: 18.62 kB / 1.848 GB, free: 223.2 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001344/3.83, allocations: 0.7103 MB / 1.849 GB, free: 223.2 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.005574/3.835, allocations: 4.609 MB / 1.854 GB, free: 220.7 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001162/3.836, allocations: 0.5847 MB / 1.854 GB, free: 220.7 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002633/3.839, allocations: 1.697 MB / 1.856 GB, free: 219.8 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006052/3.84, allocations: 337.1 kB / 1.856 GB, free: 219.8 MB / 0.9323 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005541/3.84, allocations: 120.5 kB / 1.856 GB, free: 219.8 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=46): time 3.206e-06/3.84, allocations: 7.078 kB / 1.856 GB, free: 219.8 MB / 0.9323 GB Notification: Performance of matching and sorting (n=46): time 0.002555/3.843, allocations: 1.124 MB / 1.857 GB, free: 219.5 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.467e-05/3.843, allocations: 55.28 kB / 1.857 GB, free: 219.5 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001466/3.844, allocations: 1.118 MB / 1.859 GB, free: 219.3 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 5.937e-05/3.844, allocations: 41.14 kB / 1.859 GB, free: 219.3 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005477/3.845, allocations: 0.649 MB / 1.859 GB, free: 219.1 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001249/3.845, allocations: 159 kB / 1.859 GB, free: 219 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.367e-05/3.845, allocations: 14.12 kB / 1.859 GB, free: 219 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 8.25e-05/3.845, allocations: 332.4 kB / 1.86 GB, free: 218.7 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004786/3.846, allocations: 235.5 kB / 1.86 GB, free: 218.7 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006476/3.846, allocations: 0.5809 MB / 1.861 GB, free: 218.2 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005751/3.847, allocations: 351.2 kB / 1.861 GB, free: 218.2 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/3.847, allocations: 7.719 kB / 1.861 GB, free: 218.2 MB / 0.9323 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001801/3.849, allocations: 1.002 MB / 1.862 GB, free: 218 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006435/3.849, allocations: 3.051 MB / 1.865 GB, free: 214.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/3.849, allocations: 5.938 kB / 1.865 GB, free: 214.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003626/3.85, allocations: 157.6 kB / 1.865 GB, free: 214.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005534/3.85, allocations: 143.4 kB / 1.865 GB, free: 214.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006141/3.851, allocations: 0.7627 MB / 1.866 GB, free: 214.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001028/3.852, allocations: 83.05 kB / 1.866 GB, free: 214.4 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.928e-05/3.852, allocations: 45.28 kB / 1.866 GB, free: 214.4 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/3.852, allocations: 3.781 kB / 1.866 GB, free: 214.4 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001464/3.854, allocations: 0.9177 MB / 1.867 GB, free: 214.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/3.854, allocations: 6.719 kB / 1.867 GB, free: 214.2 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001782/3.854, allocations: 109.8 kB / 1.867 GB, free: 214.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004763/3.854, allocations: 142.9 kB / 1.867 GB, free: 214.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001859/3.856, allocations: 2.23 MB / 1.869 GB, free: 212.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001028/3.857, allocations: 75.08 kB / 1.869 GB, free: 212.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.595e-05/3.857, allocations: 35.73 kB / 1.869 GB, free: 212.7 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.0009368/3.858, allocations: 484.6 kB / 1.87 GB, free: 212.5 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001802/3.858, allocations: 128.6 kB / 1.87 GB, free: 212.5 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001767/3.86, allocations: 0.8879 MB / 1.871 GB, free: 212.4 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.161e-05/3.86, allocations: 3.781 kB / 1.871 GB, free: 212.4 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/3.86, allocations: 6.141 kB / 1.871 GB, free: 212.4 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001187/3.861, allocations: 0.885 MB / 1.872 GB, free: 212 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003051/3.864, allocations: 1.866 MB / 1.874 GB, free: 211.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/3.864, allocations: 0 / 1.874 GB, free: 211.6 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004194/3.865, allocations: 87.77 kB / 1.874 GB, free: 211.6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002631/3.865, allocations: 128.7 kB / 1.874 GB, free: 211.6 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.82e-05/3.865, allocations: 26.05 kB / 1.874 GB, free: 211.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004954/3.866, allocations: 0.7391 MB / 1.875 GB, free: 211.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/3.866, allocations: 3.953 kB / 1.875 GB, free: 211.1 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001914/3.868, allocations: 1.238 MB / 1.876 GB, free: 210.8 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005785/3.868, allocations: 267 kB / 1.876 GB, free: 210.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001259/3.868, allocations: 10.84 kB / 1.876 GB, free: 210.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007097/3.869, allocations: 74.7 kB / 1.876 GB, free: 210.6 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/3.869, allocations: 42.56 kB / 1.876 GB, free: 210.6 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.017e-05/3.869, allocations: 20.53 kB / 1.876 GB, free: 210.6 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.00115/3.87, allocations: 0.882 MB / 1.877 GB, free: 210.5 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.71e-07/3.87, allocations: 3.656 kB / 1.877 GB, free: 210.5 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.00261/3.873, allocations: 0.7135 MB / 1.878 GB, free: 210.4 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.001505/3.875, allocations: 0.7701 MB / 1.878 GB, free: 210.2 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.00268/3.877, allocations: 1.312 MB / 1.88 GB, free: 209.9 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/3.877, allocations: 3.781 kB / 1.88 GB, free: 209.9 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0006525/3.878, allocations: 337.2 kB / 1.88 GB, free: 209.9 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002392/3.88, allocations: 0.5636 MB / 1.881 GB, free: 209.9 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003761/3.884, allocations: 2.671 MB / 1.883 GB, free: 208.7 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007148/3.885, allocations: 1.291 MB / 1.884 GB, free: 208 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.001257/3.886, allocations: 302.8 kB / 1.885 GB, free: 208 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002172/3.886, allocations: 101.7 kB / 1.885 GB, free: 208 MB / 0.9323 GB Notification: Performance of SimCode: time 1.503e-06/3.886, allocations: 0 / 1.885 GB, free: 208 MB / 0.9323 GB Notification: Performance of Templates: time 0.04513/3.931, allocations: 27.66 MB / 1.912 GB, free: 206.6 MB / 0.9323 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example2.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example2.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example2.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example2.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example2.pipe 2>&1)