Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5413/0.5413, allocations: 95.62 MB / 110.6 MB, free: 9.398 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001115/0.001115, allocations: 169.9 kB / 134.2 MB, free: 2.297 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.524/1.524, allocations: 170.7 MB / 328.4 MB, free: 12.29 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.002/0.002, allocations: 111.3 kB / 390.7 MB, free: 13.96 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003992/0.0003992, allocations: 15.98 kB / 462.7 MB, free: 35.71 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1484/0.1488, allocations: 61.54 MB / 0.512 GB, free: 6.102 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4361/0.5849, allocations: 93.03 MB / 0.6028 GB, free: 14.34 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002395/0.5852, allocations: 76.56 kB / 0.6029 GB, free: 14.29 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001359/0.5866, allocations: 0.5506 MB / 0.6034 GB, free: 13.77 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.5866, allocations: 0 / 0.6034 GB, free: 13.77 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.452e-05/0.5866, allocations: 0 / 0.6034 GB, free: 13.77 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003187/0.587, allocations: 341.1 kB / 0.6038 GB, free: 13.38 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.587, allocations: 11.98 kB / 0.6038 GB, free: 13.37 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.377e-05/0.5871, allocations: 0 / 0.6038 GB, free: 13.37 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000104/0.5872, allocations: 170.7 kB / 0.6039 GB, free: 13.17 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.5872, allocations: 4 kB / 0.604 GB, free: 13.16 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.398e-05/0.5872, allocations: 0 / 0.604 GB, free: 13.16 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001469/0.5874, allocations: 56.83 kB / 0.604 GB, free: 13.11 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.243e-06/0.5874, allocations: 0 / 0.604 GB, free: 13.11 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.5874, allocations: 3.984 kB / 0.604 GB, free: 13.1 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.484e-05/0.5874, allocations: 11.98 kB / 0.604 GB, free: 13.09 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.933e-05/0.5875, allocations: 28.12 kB / 0.604 GB, free: 13.07 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003445/0.5879, allocations: 260.1 kB / 0.6043 GB, free: 12.78 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.115e-05/0.5879, allocations: 14.58 kB / 0.6043 GB, free: 12.75 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.883e-06/0.5879, allocations: 4 kB / 0.6043 GB, free: 12.75 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.042e-05/0.588, allocations: 38.61 kB / 0.6043 GB, free: 12.7 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.588, allocations: 0 / 0.6043 GB, free: 12.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001836/0.5882, allocations: 67.22 kB / 0.6044 GB, free: 12.63 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.8e-05/0.5882, allocations: 77.11 kB / 0.6045 GB, free: 12.54 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.433e-05/0.5883, allocations: 109.2 kB / 0.6046 GB, free: 12.43 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/0.5883, allocations: 29.64 kB / 0.6046 GB, free: 12.39 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.937e-05/0.5884, allocations: 111.8 kB / 0.6047 GB, free: 12.28 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.994e-06/0.5884, allocations: 0 / 0.6047 GB, free: 12.28 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.909e-06/0.5884, allocations: 0 / 0.6047 GB, free: 12.28 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.5885, allocations: 318.7 kB / 0.605 GB, free: 11.96 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.566e-05/0.5886, allocations: 7.984 kB / 0.605 GB, free: 11.96 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.647e-05/0.5886, allocations: 65.64 kB / 0.6051 GB, free: 11.88 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.594e-05/0.5887, allocations: 53.58 kB / 0.6052 GB, free: 11.82 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.5887, allocations: 0 / 0.6052 GB, free: 11.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001514/0.5889, allocations: 126.7 kB / 0.6053 GB, free: 11.7 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.103e-05/0.5889, allocations: 31.27 kB / 0.6053 GB, free: 11.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.5889, allocations: 4 kB / 0.6053 GB, free: 11.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.5889, allocations: 4 kB / 0.6053 GB, free: 11.65 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.297e-05/0.589, allocations: 8 kB / 0.6053 GB, free: 11.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.589, allocations: 4.156 kB / 0.6053 GB, free: 11.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.461e-05/0.5891, allocations: 11.92 kB / 0.6053 GB, free: 11.63 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.817e-05/0.5891, allocations: 7.984 kB / 0.6053 GB, free: 11.62 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001084/0.5892, allocations: 155.2 kB / 0.6055 GB, free: 11.46 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.441e-05/0.5893, allocations: 3.906 kB / 0.6055 GB, free: 11.45 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.297e-05/0.5893, allocations: 12.36 kB / 0.6055 GB, free: 11.45 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.5893, allocations: 3.984 kB / 0.6055 GB, free: 11.44 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.5893, allocations: 0 / 0.6055 GB, free: 11.44 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.5893, allocations: 3.984 kB / 0.6055 GB, free: 11.44 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000144/0.5895, allocations: 153.4 kB / 0.6057 GB, free: 11.24 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.5895, allocations: 3.953 kB / 0.6057 GB, free: 11.24 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.523e-06/0.5895, allocations: 0.875 kB / 0.6057 GB, free: 11.24 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.5895, allocations: 0 / 0.6057 GB, free: 11.24 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.5895, allocations: 4 kB / 0.6057 GB, free: 11.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.5895, allocations: 4 kB / 0.6057 GB, free: 11.23 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.5895, allocations: 0 / 0.6057 GB, free: 11.23 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001228/0.5896, allocations: 167.6 kB / 0.6058 GB, free: 11.05 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.995e-05/0.5897, allocations: 81.06 kB / 0.6059 GB, free: 10.95 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.43e-05/0.5897, allocations: 7.375 kB / 0.6059 GB, free: 10.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.475e-05/0.5898, allocations: 4 kB / 0.6059 GB, free: 10.95 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.772e-05/0.5898, allocations: 0 / 0.6059 GB, free: 10.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.619e-06/0.5898, allocations: 4.031 kB / 0.6059 GB, free: 10.94 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.803e-05/0.5898, allocations: 94.64 kB / 0.606 GB, free: 10.85 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5899, allocations: 0 / 0.606 GB, free: 10.85 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002402/0.5901, allocations: 12 kB / 0.606 GB, free: 10.84 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001459/0.5903, allocations: 99.25 kB / 0.6061 GB, free: 10.73 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001283/0.5904, allocations: 87.02 kB / 0.6062 GB, free: 10.64 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.5904, allocations: 4.125 kB / 0.6062 GB, free: 10.64 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.303e-05/0.5905, allocations: 63.33 kB / 0.6063 GB, free: 10.57 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000121/0.5906, allocations: 1.641 kB / 0.6063 GB, free: 10.57 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002492/0.5908, allocations: 114.8 kB / 0.6064 GB, free: 10.43 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002851/0.5911, allocations: 0.6809 MB / 0.607 GB, free: 9.723 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.464e-05/0.5912, allocations: 16.22 kB / 0.6071 GB, free: 9.703 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.423e-05/0.5912, allocations: 11.44 kB / 0.6071 GB, free: 9.691 MB / 410.7 MB Notification: Performance of SimCode: time 3.31e-07/0.5912, allocations: 0 / 0.6071 GB, free: 9.691 MB / 410.7 MB Notification: Performance of Templates: time 0.002327/0.5935, allocations: 482.9 kB / 0.6075 GB, free: 9.234 MB / 410.7 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1)