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/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009948/0.0009948, allocations: 115.3 kB / 15.34 MB, free: 0.5117 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 194.1 kB / 16.25 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.617/1.617, allocations: 205.1 MB / 222.1 MB, free: 4.715 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5977/0.5977, allocations: 95.47 MB / 364.9 MB, free: 10.09 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002221/0.002221, allocations: 67.91 kB / 444.9 MB, free: 9.988 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3764/0.3787, allocations: 69.07 MB / 0.5019 GB, free: 17.58 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001731/0.3805, allocations: 0.6132 MB / 0.5025 GB, free: 16.96 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002165/0.3807, allocations: 31.94 kB / 0.5025 GB, free: 16.93 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.955e-05/0.3807, allocations: 3.938 kB / 0.5025 GB, free: 16.93 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.51e-05/0.3808, allocations: 0 / 0.5025 GB, free: 16.93 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.217e-05/0.3808, allocations: 0 / 0.5025 GB, free: 16.93 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002042/0.381, allocations: 8 kB / 0.5025 GB, free: 16.92 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 8.042e-05/0.3811, allocations: 7.984 kB / 0.5025 GB, free: 16.91 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.243e-05/0.3812, allocations: 8 kB / 0.5025 GB, free: 16.9 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.202e-05/0.3812, allocations: 0 / 0.5025 GB, free: 16.9 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.458e-05/0.3812, allocations: 7.922 kB / 0.5025 GB, free: 16.89 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.222e-05/0.3812, allocations: 0 / 0.5025 GB, free: 16.89 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.539e-05/0.3813, allocations: 19.98 kB / 0.5026 GB, free: 16.88 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.744e-05/0.3814, allocations: 4 kB / 0.5026 GB, free: 16.87 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.434e-05/0.3814, allocations: 7.938 kB / 0.5026 GB, free: 16.86 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 8.912e-05/0.3815, allocations: 23.97 kB / 0.5026 GB, free: 16.84 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3815, allocations: 0 / 0.5026 GB, free: 16.84 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3815, allocations: 3.938 kB / 0.5026 GB, free: 16.84 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.445e-06/0.3815, allocations: 0 / 0.5026 GB, free: 16.84 MB / 382.1 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.0002612/0.3818, allocations: 361.2 kB / 0.5029 GB, free: 16.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.3818, allocations: 15.98 kB / 0.503 GB, free: 16.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.457e-05/0.3819, allocations: 0.9375 kB / 0.503 GB, free: 16.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.24e-05/0.3819, allocations: 166.3 kB / 0.5031 GB, free: 16.21 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.066e-05/0.3819, allocations: 384 / 0.5031 GB, free: 16.21 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.174e-05/0.382, allocations: 7.938 kB / 0.5031 GB, free: 16.21 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001266/0.3821, allocations: 56.73 kB / 0.5032 GB, free: 16.15 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.653e-06/0.3821, allocations: 0 / 0.5032 GB, free: 16.15 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.3821, allocations: 0 / 0.5032 GB, free: 16.15 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.453e-05/0.3821, allocations: 15.98 kB / 0.5032 GB, free: 16.13 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.268e-05/0.3822, allocations: 23.98 kB / 0.5032 GB, free: 16.11 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002923/0.3825, allocations: 264.8 kB / 0.5035 GB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.402e-05/0.3825, allocations: 26.48 kB / 0.5035 GB, free: 15.77 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.724e-05/0.3826, allocations: 8.922 kB / 0.5035 GB, free: 15.75 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.987e-06/0.3826, allocations: 0 / 0.5035 GB, free: 15.75 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.07e-05/0.3826, allocations: 34.56 kB / 0.5035 GB, free: 15.71 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.3826, allocations: 0 / 0.5035 GB, free: 15.71 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001739/0.3828, allocations: 75.33 kB / 0.5036 GB, free: 15.62 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.354e-05/0.3828, allocations: 84.98 kB / 0.5037 GB, free: 15.52 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.242e-05/0.3829, allocations: 113.8 kB / 0.5038 GB, free: 15.4 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.365e-06/0.3829, allocations: 25.7 kB / 0.5038 GB, free: 15.37 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.555e-05/0.383, allocations: 107.7 kB / 0.5039 GB, free: 15.26 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.113e-06/0.383, allocations: 8.047 kB / 0.5039 GB, free: 15.25 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.064e-05/0.383, allocations: 25.84 kB / 0.504 GB, free: 15.22 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.781e-05/0.3831, allocations: 318.8 kB / 0.5043 GB, free: 14.9 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.134e-05/0.3831, allocations: 7.984 kB / 0.5043 GB, free: 14.89 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.206e-05/0.3831, allocations: 58.86 kB / 0.5043 GB, free: 14.81 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.036e-05/0.3832, allocations: 130.1 kB / 0.5045 GB, free: 14.65 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3832, allocations: 4 kB / 0.5045 GB, free: 14.64 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001071/0.3833, allocations: 123.1 kB / 0.5046 GB, free: 14.51 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.523e-05/0.3834, allocations: 29.7 kB / 0.5046 GB, free: 14.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.3834, allocations: 4 kB / 0.5046 GB, free: 14.47 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.3834, allocations: 0 / 0.5046 GB, free: 14.47 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.928e-05/0.3835, allocations: 23.86 kB / 0.5046 GB, free: 14.45 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.3835, allocations: 4 kB / 0.5046 GB, free: 14.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.077e-05/0.3836, allocations: 12.25 kB / 0.5046 GB, free: 14.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.493e-05/0.3836, allocations: 4 kB / 0.5047 GB, free: 14.43 MB / 382.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.788e-05/0.3837, allocations: 139.5 kB / 0.5048 GB, free: 14.28 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.259e-05/0.3837, allocations: 7.906 kB / 0.5048 GB, free: 14.27 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.393e-05/0.3837, allocations: 15.47 kB / 0.5048 GB, free: 14.26 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.3837, allocations: 3.938 kB / 0.5048 GB, free: 14.25 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.3837, allocations: 4 kB / 0.5048 GB, free: 14.25 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.3837, allocations: 0 / 0.5048 GB, free: 14.25 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001083/0.3838, allocations: 149.7 kB / 0.505 GB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3838, allocations: 4 kB / 0.505 GB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.91e-07/0.3839, allocations: 0 / 0.505 GB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.3839, allocations: 0 / 0.505 GB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-06/0.3839, allocations: 0 / 0.505 GB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.3839, allocations: 3.938 kB / 0.505 GB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.3839, allocations: 4 kB / 0.505 GB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.756e-05/0.384, allocations: 165.2 kB / 0.5051 GB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.951e-05/0.384, allocations: 81.05 kB / 0.5052 GB, free: 13.76 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.284e-05/0.384, allocations: 4.031 kB / 0.5052 GB, free: 13.76 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.164e-05/0.3841, allocations: 3.938 kB / 0.5052 GB, free: 13.75 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.475e-05/0.3841, allocations: 12 kB / 0.5052 GB, free: 13.74 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.3841, allocations: 0 / 0.5052 GB, free: 13.74 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.958e-05/0.3841, allocations: 87.27 kB / 0.5053 GB, free: 13.66 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3841, allocations: 0 / 0.5053 GB, free: 13.66 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002266/0.3844, allocations: 12 kB / 0.5053 GB, free: 13.64 MB / 382.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001177/0.3845, allocations: 107.2 kB / 0.5054 GB, free: 13.53 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001096/0.3846, allocations: 91.27 kB / 0.5055 GB, free: 13.43 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3846, allocations: 0 / 0.5055 GB, free: 13.43 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.893e-05/0.3846, allocations: 55.41 kB / 0.5056 GB, free: 13.36 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001993/0.3848, allocations: 8.484 kB / 0.5056 GB, free: 13.36 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001977/0.385, allocations: 121.3 kB / 0.5057 GB, free: 13.21 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001243/0.3852, allocations: 0.6768 MB / 0.5063 GB, free: 12.51 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.179e-05/0.3852, allocations: 15.98 kB / 0.5064 GB, free: 12.49 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.133e-05/0.3853, allocations: 7.438 kB / 0.5064 GB, free: 12.48 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3853, allocations: 3.938 kB / 0.5064 GB, free: 12.48 MB / 382.1 MB Notification: Performance of Templates: time 0.0023/0.3876, allocations: 0.5078 MB / 0.5069 GB, free: 11.98 MB / 382.1 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)