Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3") translateModel(Buildings.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.28/1.28, allocations: 252 MB / 267.9 MB, free: 10.9 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000968/0.000968, allocations: 179.8 kB / 327.6 MB, free: 2.145 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.442/1.442, allocations: 205.4 MB / 0.5785 GB, free: 20.2 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008127/0.000813, allocations: 96.48 kB / 0.6831 GB, free: 12.81 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003378/0.0003378, allocations: 13.59 kB / 0.7974 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1866/0.187, allocations: 106.3 MB / 0.9012 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7861/0.9731, allocations: 398.2 MB / 1.29 GB, free: 0.8711 MB / 0.7917 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002315/0.9734, allocations: 90.7 kB / 1.29 GB, free: 0.8242 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.884/2.858, allocations: 0.6842 GB / 1.974 GB, free: 115 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.174e-06/2.858, allocations: 8 kB / 1.974 GB, free: 115 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001876/2.858, allocations: 52.14 kB / 1.974 GB, free: 115 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.004905/2.863, allocations: 2.419 MB / 1.977 GB, free: 112.5 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/2.863, allocations: 8.031 kB / 1.977 GB, free: 112.5 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009275/2.864, allocations: 290.2 kB / 1.977 GB, free: 112.2 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004258/2.868, allocations: 2.533 MB / 1.98 GB, free: 109.6 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.272e-05/2.868, allocations: 86.34 kB / 1.98 GB, free: 109.5 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001276/2.868, allocations: 112.2 kB / 1.98 GB, free: 109.4 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001649/2.87, allocations: 1.256 MB / 1.981 GB, free: 108.1 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.665e-05/2.87, allocations: 0 / 1.981 GB, free: 108.1 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.168e-05/2.87, allocations: 40 kB / 1.981 GB, free: 108 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.52e-05/2.87, allocations: 28 kB / 1.981 GB, free: 108 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001401/2.872, allocations: 0.9562 MB / 1.982 GB, free: 107.1 MB / 0.8855 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.005248/2.877, allocations: 6.645 MB / 1.988 GB, free: 99.95 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009232/2.878, allocations: 0.5985 MB / 1.989 GB, free: 99.34 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005267/2.878, allocations: 408.6 kB / 1.989 GB, free: 98.94 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001963/2.88, allocations: 1.609 MB / 1.991 GB, free: 97.2 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005517/2.881, allocations: 369.1 kB / 1.991 GB, free: 96.83 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005112/2.881, allocations: 127.3 kB / 1.991 GB, free: 96.7 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=47): time 3.076e-06/2.881, allocations: 4 kB / 1.991 GB, free: 96.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=47): time 0.002651/2.884, allocations: 1.326 MB / 1.993 GB, free: 95.35 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.006e-05/2.884, allocations: 55.84 kB / 1.993 GB, free: 95.28 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001627/2.886, allocations: 1.753 MB / 1.995 GB, free: 93.48 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 4.856e-05/2.886, allocations: 41.7 kB / 1.995 GB, free: 93.43 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004735/2.886, allocations: 0.8461 MB / 1.995 GB, free: 92.58 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 9.788e-05/2.886, allocations: 169.7 kB / 1.996 GB, free: 92.41 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.205e-05/2.886, allocations: 16 kB / 1.996 GB, free: 92.39 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 6.196e-05/2.886, allocations: 341.9 kB / 1.996 GB, free: 92.05 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004752/2.887, allocations: 281.8 kB / 1.996 GB, free: 91.78 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006184/2.888, allocations: 0.7264 MB / 1.997 GB, free: 90.84 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001045/2.889, allocations: 0.9377 MB / 1.998 GB, free: 89.76 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/2.889, allocations: 0 / 1.998 GB, free: 89.76 MB / 0.8855 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001831/2.89, allocations: 1.238 MB / 1.999 GB, free: 88.5 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001442/2.891, allocations: 427.8 kB / 1.999 GB, free: 87.94 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/2.891, allocations: 11.98 kB / 1.999 GB, free: 87.93 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005323/2.891, allocations: 180.7 kB / 2 GB, free: 87.75 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005329/2.892, allocations: 163.7 kB / 2 GB, free: 87.59 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004525/2.892, allocations: 0.7629 MB / 2 GB, free: 86.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000964/2.893, allocations: 111.7 kB / 2.001 GB, free: 86.69 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.362e-05/2.893, allocations: 47.98 kB / 2.001 GB, free: 86.64 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 5.39e-06/2.893, allocations: 4 kB / 2.001 GB, free: 86.64 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001356/2.895, allocations: 1.066 MB / 2.002 GB, free: 85.54 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/2.895, allocations: 8.656 kB / 2.002 GB, free: 85.54 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001654/2.895, allocations: 128.7 kB / 2.002 GB, free: 85.41 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004487/2.895, allocations: 159.7 kB / 2.002 GB, free: 85.25 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001497/2.897, allocations: 2.11 MB / 2.004 GB, free: 83.01 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007979/2.898, allocations: 103.8 kB / 2.004 GB, free: 82.91 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-05/2.898, allocations: 48.05 kB / 2.004 GB, free: 82.86 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,mergeDp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 82 * 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 {1 12} Notification: Performance of prepare postOptimizeDAE: time 0.0007479/2.898, allocations: 0.5825 MB / 2.005 GB, free: 82.27 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001332/2.899, allocations: 169.8 kB / 2.005 GB, free: 82.1 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001574/2.9, allocations: 1.004 MB / 2.006 GB, free: 81.09 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/2.9, allocations: 11.98 kB / 2.006 GB, free: 81.07 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.315e-06/2.9, allocations: 3.938 kB / 2.006 GB, free: 81.07 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001126/2.901, allocations: 0.9489 MB / 2.007 GB, free: 80.05 MB / 0.8855 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.002621/2.904, allocations: 2.167 MB / 2.009 GB, free: 77.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/2.904, allocations: 0 / 2.009 GB, free: 77.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003647/2.904, allocations: 91.86 kB / 2.009 GB, free: 77.71 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002195/2.905, allocations: 132.8 kB / 2.009 GB, free: 77.57 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.314e-05/2.905, allocations: 15.98 kB / 2.009 GB, free: 77.56 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003557/2.905, allocations: 0.7385 MB / 2.01 GB, free: 76.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/2.905, allocations: 11.95 kB / 2.01 GB, free: 76.79 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001744/2.907, allocations: 1.362 MB / 2.011 GB, free: 75.39 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003725/2.907, allocations: 310.9 kB / 2.012 GB, free: 75.07 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001405/2.907, allocations: 8 kB / 2.012 GB, free: 75.06 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006395/2.908, allocations: 91.77 kB / 2.012 GB, free: 74.97 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.978e-05/2.908, allocations: 36.38 kB / 2.012 GB, free: 74.94 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.341e-05/2.908, allocations: 23.98 kB / 2.012 GB, free: 74.91 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001146/2.909, allocations: 1.203 MB / 2.013 GB, free: 73.69 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.51e-07/2.909, allocations: 0 / 2.013 GB, free: 73.69 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002022/2.911, allocations: 0.8543 MB / 2.014 GB, free: 72.83 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump.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 {1 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.001027/2.912, allocations: 0.7815 MB / 2.014 GB, free: 72.06 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002048/2.914, allocations: 1.45 MB / 2.016 GB, free: 70.58 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/2.914, allocations: 0 / 2.016 GB, free: 70.58 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0005346/2.915, allocations: 346.4 kB / 2.016 GB, free: 70.24 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002721/2.918, allocations: 0.7327 MB / 2.017 GB, free: 69.52 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003464/2.921, allocations: 3.409 MB / 2.02 GB, free: 66.07 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007059/2.922, allocations: 1.5 MB / 2.022 GB, free: 64.54 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001312/2.923, allocations: 436.6 kB / 2.022 GB, free: 64.11 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002154/2.923, allocations: 123.4 kB / 2.022 GB, free: 63.99 MB / 0.8855 GB Notification: Performance of SimCode: time 7.51e-07/2.923, allocations: 0 / 2.022 GB, free: 63.99 MB / 0.8855 GB Notification: Performance of Templates: time 0.04376/2.967, allocations: 33.76 MB / 2.055 GB, free: 30.61 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3.pipe 2>&1)