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.001556/0.001556, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002593/0.002594, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.586/1.586, allocations: 205.1 MB / 222.4 MB, free: 4.543 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.61/0.61, allocations: 95.47 MB / 365.2 MB, free: 9.883 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.00158/0.00158, allocations: 71.84 kB / 445.4 MB, free: 9.594 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3595/0.3611, allocations: 69.07 MB / 0.5024 GB, free: 17.37 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001754/0.363, allocations: 0.5368 MB / 0.5029 GB, free: 16.83 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002477/0.3632, allocations: 35.88 kB / 0.5029 GB, free: 16.79 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.082e-05/0.3632, allocations: 0 / 0.5029 GB, free: 16.79 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.236e-05/0.3633, allocations: 0 / 0.5029 GB, free: 16.79 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.522e-05/0.3633, allocations: 4 kB / 0.5029 GB, free: 16.79 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002104/0.3635, allocations: 11.97 kB / 0.5029 GB, free: 16.78 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 9.398e-05/0.3636, allocations: 11.94 kB / 0.503 GB, free: 16.77 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.217e-05/0.3637, allocations: 4 kB / 0.503 GB, free: 16.76 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.056e-05/0.3637, allocations: 0 / 0.503 GB, free: 16.76 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.587e-05/0.3638, allocations: 4 kB / 0.503 GB, free: 16.76 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.302e-05/0.3638, allocations: 3.938 kB / 0.503 GB, free: 16.75 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.965e-05/0.3639, allocations: 15.98 kB / 0.503 GB, free: 16.74 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.891e-05/0.3639, allocations: 4 kB / 0.503 GB, free: 16.73 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.775e-05/0.3639, allocations: 7.938 kB / 0.503 GB, free: 16.73 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001271/0.3641, allocations: 27.95 kB / 0.503 GB, free: 16.7 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.3641, allocations: 0 / 0.503 GB, free: 16.7 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.976e-06/0.3641, allocations: 0 / 0.503 GB, free: 16.7 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.715e-06/0.3641, allocations: 7.938 kB / 0.503 GB, free: 16.69 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.0003341/0.3644, allocations: 357.1 kB / 0.5034 GB, free: 16.29 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.3645, allocations: 11.98 kB / 0.5034 GB, free: 16.28 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.496e-05/0.3645, allocations: 4.938 kB / 0.5034 GB, free: 16.27 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.851e-05/0.3646, allocations: 162.4 kB / 0.5035 GB, free: 16.08 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.3646, allocations: 4.375 kB / 0.5035 GB, free: 16.07 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.518e-06/0.3646, allocations: 3.938 kB / 0.5035 GB, free: 16.07 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001255/0.3648, allocations: 65.61 kB / 0.5036 GB, free: 16 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.3648, allocations: 0 / 0.5036 GB, free: 16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.3648, allocations: 4 kB / 0.5036 GB, free: 16 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.813e-05/0.3648, allocations: 11.98 kB / 0.5036 GB, free: 15.98 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.243e-05/0.3649, allocations: 19.98 kB / 0.5036 GB, free: 15.96 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000267/0.3651, allocations: 264.8 kB / 0.5039 GB, free: 15.66 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.135e-05/0.3652, allocations: 22.56 kB / 0.5039 GB, free: 15.62 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.519e-05/0.3652, allocations: 12.8 kB / 0.5039 GB, free: 15.61 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.686e-06/0.3652, allocations: 0 / 0.5039 GB, free: 15.61 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.824e-05/0.3653, allocations: 34.56 kB / 0.504 GB, free: 15.57 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.3653, allocations: 4.062 kB / 0.504 GB, free: 15.56 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001681/0.3654, allocations: 63.39 kB / 0.504 GB, free: 15.49 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.243e-05/0.3655, allocations: 81.05 kB / 0.5041 GB, free: 15.39 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.343e-05/0.3655, allocations: 117.8 kB / 0.5042 GB, free: 15.27 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.955e-06/0.3656, allocations: 29.7 kB / 0.5042 GB, free: 15.23 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.264e-05/0.3656, allocations: 102.8 kB / 0.5043 GB, free: 15.13 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.995e-06/0.3656, allocations: 16.11 kB / 0.5044 GB, free: 15.11 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.238e-05/0.3656, allocations: 25.66 kB / 0.5044 GB, free: 15.08 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.868e-05/0.3657, allocations: 310.8 kB / 0.5047 GB, free: 14.77 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.139e-05/0.3657, allocations: 15.98 kB / 0.5047 GB, free: 14.75 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.276e-05/0.3658, allocations: 54.86 kB / 0.5047 GB, free: 14.68 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.142e-05/0.3658, allocations: 134.1 kB / 0.5049 GB, free: 14.51 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3658, allocations: 0 / 0.5049 GB, free: 14.51 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001084/0.366, allocations: 119.2 kB / 0.505 GB, free: 14.38 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.659e-05/0.366, allocations: 33.7 kB / 0.505 GB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.366, allocations: 0 / 0.505 GB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.366, allocations: 4 kB / 0.505 GB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.682e-05/0.3661, allocations: 19.86 kB / 0.505 GB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.3661, allocations: 8.188 kB / 0.5051 GB, free: 14.31 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.714e-05/0.3662, allocations: 8 kB / 0.5051 GB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.315e-05/0.3662, allocations: 4 kB / 0.5051 GB, free: 14.3 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.655e-05/0.3663, allocations: 143.5 kB / 0.5052 GB, free: 14.14 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.562e-05/0.3663, allocations: 7.891 kB / 0.5052 GB, free: 14.13 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.152e-05/0.3663, allocations: 19.41 kB / 0.5052 GB, free: 14.12 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.3663, allocations: 3.938 kB / 0.5052 GB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.3663, allocations: 0 / 0.5052 GB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-06/0.3663, allocations: 3.938 kB / 0.5052 GB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001062/0.3664, allocations: 157.7 kB / 0.5054 GB, free: 13.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.3664, allocations: 0 / 0.5054 GB, free: 13.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.01e-07/0.3664, allocations: 0 / 0.5054 GB, free: 13.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-06/0.3665, allocations: 0 / 0.5054 GB, free: 13.91 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.3665, allocations: 4 kB / 0.5054 GB, free: 13.9 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3665, allocations: 3.938 kB / 0.5054 GB, free: 13.9 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3665, allocations: 4 kB / 0.5054 GB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.532e-05/0.3666, allocations: 161.2 kB / 0.5055 GB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.806e-05/0.3666, allocations: 85.08 kB / 0.5056 GB, free: 13.61 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.33e-05/0.3666, allocations: 4 kB / 0.5056 GB, free: 13.61 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.301e-05/0.3667, allocations: 3.938 kB / 0.5056 GB, free: 13.61 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.35e-05/0.3667, allocations: 0 / 0.5056 GB, free: 13.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-06/0.3667, allocations: 4 kB / 0.5056 GB, free: 13.6 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.419e-05/0.3667, allocations: 87.27 kB / 0.5057 GB, free: 13.52 MB / 382.1 MB Notification: Performance of sort global known variables: time 6.71e-07/0.3667, allocations: 4 kB / 0.5057 GB, free: 13.51 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002508/0.367, allocations: 11.94 kB / 0.5057 GB, free: 13.5 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.0001447/0.3671, allocations: 107.2 kB / 0.5058 GB, free: 13.38 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001286/0.3673, allocations: 83.33 kB / 0.5059 GB, free: 13.29 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.3673, allocations: 4 kB / 0.5059 GB, free: 13.29 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.355e-05/0.3673, allocations: 59.41 kB / 0.506 GB, free: 13.21 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002091/0.3675, allocations: 0 / 0.506 GB, free: 13.21 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002244/0.3678, allocations: 109.4 kB / 0.5061 GB, free: 13.08 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001425/0.3679, allocations: 0.6846 MB / 0.5068 GB, free: 12.37 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.736e-05/0.368, allocations: 11.97 kB / 0.5068 GB, free: 12.36 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.57e-05/0.368, allocations: 11.44 kB / 0.5068 GB, free: 12.35 MB / 382.1 MB Notification: Performance of SimCode: time 1.002e-06/0.3681, allocations: 0 / 0.5068 GB, free: 12.35 MB / 382.1 MB Notification: Performance of Templates: time 0.00261/0.3707, allocations: 0.5242 MB / 0.5073 GB, free: 11.83 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)