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.5746/0.5746, allocations: 94.69 MB / 107.3 MB, free: 5.188 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.00128/0.00128, allocations: 179 kB / 130.7 MB, free: 7.539 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.525/1.525, allocations: 170.5 MB / 324.5 MB, free: 3.996 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.001808/0.001808, allocations: 111.3 kB / 386.6 MB, free: 16.25 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.757e-05/4.759e-05, allocations: 8 kB / 456 MB, free: 11.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5037/0.5038, allocations: 61.5 MB / 0.5054 GB, free: 49.52 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1505/0.6544, allocations: 92.95 MB / 0.5962 GB, free: 2.613 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003382/0.6549, allocations: 73.77 kB / 0.5962 GB, free: 2.543 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00196/0.6569, allocations: 0.544 MB / 0.5968 GB, free: 2.004 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.6569, allocations: 0.625 kB / 0.5968 GB, free: 2.004 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.155e-05/0.6569, allocations: 0.9375 kB / 0.5968 GB, free: 2.004 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.0004578/0.6574, allocations: 346.8 kB / 0.5971 GB, free: 1.621 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.48e-05/0.6575, allocations: 8.688 kB / 0.5971 GB, free: 1.613 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.34e-05/0.6575, allocations: 5.531 kB / 0.5971 GB, free: 1.609 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001699/0.6577, allocations: 169.7 kB / 0.5973 GB, free: 1.406 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.387e-05/0.6577, allocations: 4.75 kB / 0.5973 GB, free: 1.402 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.407e-05/0.6578, allocations: 3.734 kB / 0.5973 GB, free: 1.402 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000193/0.658, allocations: 54.2 kB / 0.5973 GB, free: 1.344 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.658, allocations: 0 / 0.5973 GB, free: 1.344 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.736e-05/0.658, allocations: 0 / 0.5973 GB, free: 1.344 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.171e-05/0.6581, allocations: 10.23 kB / 0.5973 GB, free: 1.336 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.109e-05/0.6581, allocations: 23.92 kB / 0.5974 GB, free: 1.312 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004377/0.6586, allocations: 261.5 kB / 0.5976 GB, free: 1.008 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.024e-05/0.6587, allocations: 25.31 kB / 0.5976 GB, free: 0.9766 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.819e-05/0.6587, allocations: 4.859 kB / 0.5976 GB, free: 0.9688 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.588e-06/0.6587, allocations: 0 / 0.5976 GB, free: 0.9688 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.358e-05/0.6588, allocations: 36.44 kB / 0.5977 GB, free: 0.9258 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.6588, allocations: 0 / 0.5977 GB, free: 0.9258 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002022/0.659, allocations: 72.12 kB / 0.5977 GB, free: 0.8438 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.345e-05/0.659, allocations: 79.89 kB / 0.5978 GB, free: 0.75 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001197/0.6592, allocations: 106.9 kB / 0.5979 GB, free: 0.6406 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.6592, allocations: 25.7 kB / 0.5979 GB, free: 0.6094 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.935e-05/0.6593, allocations: 112.8 kB / 0.5981 GB, free: 0.4961 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.916e-06/0.6593, allocations: 0 / 0.5981 GB, free: 0.4961 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.917e-06/0.6593, allocations: 0.625 kB / 0.5981 GB, free: 0.4961 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001807/0.6595, allocations: 323.9 kB / 0.5984 GB, free: 176 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.328e-05/0.6595, allocations: 4 kB / 0.5984 GB, free: 172 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.038e-05/0.6596, allocations: 60.55 kB / 0.5984 GB, free: 88 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.683e-05/0.6597, allocations: 53.22 kB / 0.5985 GB, free: 32 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.6597, allocations: 2.844 kB / 0.5985 GB, free: 32 kB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002311/0.6599, allocations: 112.8 kB / 0.5986 GB, free: 15.91 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.423e-05/0.66, allocations: 40.8 kB / 0.5986 GB, free: 15.87 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.66, allocations: 0 / 0.5986 GB, free: 15.87 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.126e-05/0.66, allocations: 4 kB / 0.5986 GB, free: 15.86 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.627e-05/0.6601, allocations: 19.92 kB / 0.5986 GB, free: 15.84 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.193e-05/0.6601, allocations: 0 / 0.5986 GB, free: 15.84 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.54e-05/0.6602, allocations: 14.19 kB / 0.5987 GB, free: 15.83 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.826e-05/0.6602, allocations: 4 kB / 0.5987 GB, free: 15.83 MB / 426.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 () * 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.0001317/0.6604, allocations: 151.9 kB / 0.5988 GB, free: 15.67 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.009e-05/0.6604, allocations: 3.906 kB / 0.5988 GB, free: 15.67 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.173e-05/0.6604, allocations: 15.59 kB / 0.5988 GB, free: 15.66 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.6605, allocations: 0 / 0.5988 GB, free: 15.66 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.6605, allocations: 1.938 kB / 0.5988 GB, free: 15.66 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.6605, allocations: 0.7031 kB / 0.5988 GB, free: 15.66 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002003/0.6607, allocations: 153.6 kB / 0.599 GB, free: 15.46 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.6607, allocations: 0.9688 kB / 0.599 GB, free: 15.46 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.403e-06/0.6607, allocations: 0 / 0.599 GB, free: 15.46 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.6607, allocations: 2.438 kB / 0.599 GB, free: 15.46 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/0.6607, allocations: 8 kB / 0.599 GB, free: 15.45 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/0.6607, allocations: 1.562 kB / 0.599 GB, free: 15.45 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.6607, allocations: 2.031 kB / 0.599 GB, free: 15.45 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001754/0.6609, allocations: 159.5 kB / 0.5991 GB, free: 15.27 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.231e-05/0.661, allocations: 81.06 kB / 0.5992 GB, free: 15.18 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.737e-05/0.661, allocations: 4 kB / 0.5992 GB, free: 15.17 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.525e-05/0.6611, allocations: 4.891 kB / 0.5992 GB, free: 15.17 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.827e-05/0.6611, allocations: 3.938 kB / 0.5992 GB, free: 15.16 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.336e-06/0.6611, allocations: 0.625 kB / 0.5992 GB, free: 15.16 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.851e-05/0.6612, allocations: 92.83 kB / 0.5993 GB, free: 15.07 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6612, allocations: 0 / 0.5993 GB, free: 15.07 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002693/0.6615, allocations: 16 kB / 0.5993 GB, free: 15.06 MB / 426.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 () * 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.0002146/0.6617, allocations: 106.1 kB / 0.5994 GB, free: 14.95 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001574/0.6619, allocations: 83.33 kB / 0.5995 GB, free: 14.86 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.6619, allocations: 4 kB / 0.5995 GB, free: 14.86 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.931e-05/0.662, allocations: 55.41 kB / 0.5996 GB, free: 14.79 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001479/0.6621, allocations: 3.375 kB / 0.5996 GB, free: 14.79 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002371/0.6624, allocations: 71.58 kB / 0.5996 GB, free: 14.7 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000347/0.6627, allocations: 0.6818 MB / 0.6003 GB, free: 14 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.452e-05/0.6628, allocations: 16.17 kB / 0.6003 GB, free: 13.98 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.675e-05/0.6628, allocations: 11.44 kB / 0.6003 GB, free: 13.97 MB / 426.7 MB Notification: Performance of SimCode: time 4.1e-07/0.6628, allocations: 0 / 0.6003 GB, free: 13.97 MB / 426.7 MB Notification: Performance of Templates: time 0.003276/0.6661, allocations: 498.1 kB / 0.6008 GB, free: 13.52 MB / 426.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)