Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.Example2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example2") translateModel(Buildings.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.71/1.71, allocations: 297.8 MB / 313.7 MB, free: 80 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001278/0.001278, allocations: 184 kB / 384.6 MB, free: 10.81 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.464/1.464, allocations: 223.3 MB / 0.6626 GB, free: 4.27 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008822/0.0008816, allocations: 102.4 kB / 0.7808 GB, free: 50.38 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004233/0.0004233, allocations: 15.94 kB / 0.9088 GB, free: 2.859 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8447/0.8452, allocations: 120.3 MB / 1.026 GB, free: 55.84 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.007/1.852, allocations: 394.1 MB / 1.411 GB, free: 251.9 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000248/1.853, allocations: 100.7 kB / 1.411 GB, free: 251.9 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.61/3.463, allocations: 486.4 MB / 1.886 GB, free: 156.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.566e-06/3.463, allocations: 0 / 1.886 GB, free: 156.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003318/3.463, allocations: 44.27 kB / 1.886 GB, free: 156.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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.006984/3.47, allocations: 1.94 MB / 1.888 GB, free: 155.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/3.47, allocations: 14.03 kB / 1.888 GB, free: 155.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001471/3.472, allocations: 235.1 kB / 1.888 GB, free: 155.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005062/3.477, allocations: 1.919 MB / 1.89 GB, free: 154.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.997e-05/3.477, allocations: 68.88 kB / 1.89 GB, free: 154.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002334/3.477, allocations: 85.72 kB / 1.891 GB, free: 154.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001886/3.479, allocations: 0.9644 MB / 1.891 GB, free: 153.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.759e-05/3.479, allocations: 15.75 kB / 1.891 GB, free: 153.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.184e-05/3.479, allocations: 35.34 kB / 1.892 GB, free: 153.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.096e-05/3.479, allocations: 17.78 kB / 1.892 GB, free: 153.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001494/3.481, allocations: 0.7129 MB / 1.892 GB, free: 153.6 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.006123/3.487, allocations: 4.717 MB / 1.897 GB, free: 150.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001138/3.488, allocations: 0.5943 MB / 1.897 GB, free: 149.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005741/3.489, allocations: 326.2 kB / 1.898 GB, free: 149.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00272/3.491, allocations: 1.685 MB / 1.899 GB, free: 148.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000625/3.492, allocations: 361 kB / 1.9 GB, free: 148.5 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006523/3.493, allocations: 101.6 kB / 1.9 GB, free: 148.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=46): time 4.458e-06/3.493, allocations: 2.906 kB / 1.9 GB, free: 148.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=46): time 0.002884/3.495, allocations: 1.173 MB / 1.901 GB, free: 148 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.489e-05/3.496, allocations: 62.38 kB / 1.901 GB, free: 148 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001766/3.497, allocations: 1.243 MB / 1.902 GB, free: 147.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.34e-05/3.497, allocations: 43.92 kB / 1.902 GB, free: 147.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00052/3.498, allocations: 0.6422 MB / 1.903 GB, free: 147 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001312/3.498, allocations: 162.5 kB / 1.903 GB, free: 146.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.336e-05/3.498, allocations: 15.69 kB / 1.903 GB, free: 146.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.246e-05/3.498, allocations: 331.4 kB / 1.903 GB, free: 146.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004899/3.499, allocations: 242.4 kB / 1.904 GB, free: 146.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006238/3.499, allocations: 0.5802 MB / 1.904 GB, free: 145.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001076/3.5, allocations: 0.7737 MB / 1.905 GB, free: 145.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/3.5, allocations: 0 / 1.905 GB, free: 145.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002018/3.502, allocations: 1.039 MB / 1.906 GB, free: 145 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002005/3.503, allocations: 344.5 kB / 1.906 GB, free: 144.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.448e-05/3.503, allocations: 7.344 kB / 1.906 GB, free: 144.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005936/3.503, allocations: 185.6 kB / 1.906 GB, free: 144.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005252/3.504, allocations: 153 kB / 1.907 GB, free: 144.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005956/3.504, allocations: 0.761 MB / 1.907 GB, free: 143.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001094/3.506, allocations: 84.12 kB / 1.907 GB, free: 143.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.799e-05/3.506, allocations: 39.72 kB / 1.907 GB, free: 143.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/3.506, allocations: 7.688 kB / 1.907 GB, free: 143.9 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00149/3.507, allocations: 0.9126 MB / 1.908 GB, free: 143.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.796e-05/3.507, allocations: 6.562 kB / 1.908 GB, free: 143.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001861/3.507, allocations: 111.5 kB / 1.908 GB, free: 143.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000457/3.508, allocations: 140 kB / 1.909 GB, free: 143.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001797/3.51, allocations: 2.205 MB / 1.911 GB, free: 141.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000979/3.511, allocations: 75.34 kB / 1.911 GB, free: 141.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.998e-05/3.511, allocations: 44.58 kB / 1.911 GB, free: 141.6 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.0008514/3.512, allocations: 471.2 kB / 1.911 GB, free: 141.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002277/3.512, allocations: 128.8 kB / 1.911 GB, free: 141.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001809/3.514, allocations: 0.8937 MB / 1.912 GB, free: 140.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-05/3.514, allocations: 6.969 kB / 1.912 GB, free: 140.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/3.514, allocations: 3.938 kB / 1.912 GB, free: 140.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001214/3.515, allocations: 0.8775 MB / 1.913 GB, free: 140.4 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 postOpt removeSimpleEquations (simulation): time 0.003191/3.518, allocations: 1.87 MB / 1.915 GB, free: 139.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/3.518, allocations: 3.281 kB / 1.915 GB, free: 139.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000383/3.519, allocations: 85.14 kB / 1.915 GB, free: 139.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002441/3.519, allocations: 128.4 kB / 1.915 GB, free: 139.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.06e-05/3.519, allocations: 11.88 kB / 1.915 GB, free: 139.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004526/3.519, allocations: 0.7532 MB / 1.916 GB, free: 138.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/3.519, allocations: 0 / 1.916 GB, free: 138.8 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001829/3.521, allocations: 1.212 MB / 1.917 GB, free: 138.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005198/3.522, allocations: 265.3 kB / 1.917 GB, free: 138.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001961/3.522, allocations: 11.72 kB / 1.917 GB, free: 138.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006836/3.523, allocations: 66.75 kB / 1.917 GB, free: 138.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001062/3.523, allocations: 45.66 kB / 1.918 GB, free: 138 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.901e-05/3.523, allocations: 26.48 kB / 1.918 GB, free: 138 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001131/3.524, allocations: 0.8593 MB / 1.918 GB, free: 137.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.4e-07/3.524, allocations: 0 / 1.918 GB, free: 137.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002585/3.526, allocations: 0.7062 MB / 1.919 GB, free: 137.4 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.001859/3.528, allocations: 0.7483 MB / 1.92 GB, free: 137.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002681/3.531, allocations: 1.315 MB / 1.921 GB, free: 136.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/3.531, allocations: 3 kB / 1.921 GB, free: 136.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006939/3.532, allocations: 330.9 kB / 1.921 GB, free: 136.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002883/3.535, allocations: 0.561 MB / 1.922 GB, free: 135.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004946/3.54, allocations: 2.685 MB / 1.925 GB, free: 134.2 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001162/3.541, allocations: 1.27 MB / 1.926 GB, free: 133.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001597/3.542, allocations: 310 kB / 1.926 GB, free: 133.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002918/3.543, allocations: 98.94 kB / 1.926 GB, free: 133.1 MB / 0.948 GB Notification: Performance of SimCode: time 3.847e-06/3.543, allocations: 0 / 1.926 GB, free: 133.1 MB / 0.948 GB Notification: Performance of Templates: time 0.04459/3.587, allocations: 27.69 MB / 1.953 GB, free: 115.8 MB / 0.948 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example2.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.Example2.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example2.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.Example2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.Example2.pipe 2>&1)