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.0009122/0.0009123, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001231/0.001231, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.662/1.662, allocations: 205.4 MB / 222.1 MB, free: 5.891 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.7073/0.7073, allocations: 95.63 MB / 366 MB, free: 10.43 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.0005642/0.0005643, allocations: 20 kB / 446.9 MB, free: 9.426 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.451/0.4515, allocations: 70.34 MB / 0.5051 GB, free: 16.49 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.0009513/0.4526, allocations: 269 kB / 0.5053 GB, free: 16.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002916/0.4529, allocations: 31.91 kB / 0.5054 GB, free: 16.2 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.968e-05/0.453, allocations: 4 kB / 0.5054 GB, free: 16.2 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.595e-05/0.453, allocations: 4 kB / 0.5054 GB, free: 16.19 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.955e-05/0.4531, allocations: 0 / 0.5054 GB, free: 16.19 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002652/0.4533, allocations: 8 kB / 0.5054 GB, free: 16.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.115e-05/0.4534, allocations: 3.984 kB / 0.5054 GB, free: 16.18 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.319e-05/0.4535, allocations: 0 / 0.5054 GB, free: 16.18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.314e-05/0.4535, allocations: 4 kB / 0.5054 GB, free: 16.18 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.01e-05/0.4536, allocations: 8 kB / 0.5054 GB, free: 16.17 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.4536, allocations: 0 / 0.5054 GB, free: 16.17 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001418/0.4538, allocations: 19.92 kB / 0.5054 GB, free: 16.15 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.402e-05/0.4538, allocations: 7.984 kB / 0.5054 GB, free: 16.14 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.661e-05/0.4539, allocations: 29.64 kB / 0.5055 GB, free: 16.11 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001215/0.454, allocations: 11.98 kB / 0.5055 GB, free: 16.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.408e-06/0.454, allocations: 0 / 0.5055 GB, free: 16.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.008e-06/0.454, allocations: 0 / 0.5055 GB, free: 16.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.696e-06/0.454, allocations: 4 kB / 0.5055 GB, free: 16.09 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.0004443/0.4545, allocations: 349 kB / 0.5058 GB, free: 15.7 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.043e-05/0.4546, allocations: 11.98 kB / 0.5058 GB, free: 15.68 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.762e-05/0.4546, allocations: 4 kB / 0.5058 GB, free: 15.68 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.926e-05/0.4547, allocations: 165 kB / 0.506 GB, free: 15.48 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.002e-05/0.4548, allocations: 11.94 kB / 0.506 GB, free: 15.47 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.146e-05/0.4548, allocations: 0 / 0.506 GB, free: 15.47 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001736/0.455, allocations: 57.64 kB / 0.506 GB, free: 15.41 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.455, allocations: 0 / 0.506 GB, free: 15.41 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.455, allocations: 7.938 kB / 0.506 GB, free: 15.4 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.421e-05/0.455, allocations: 4 kB / 0.506 GB, free: 15.39 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.163e-05/0.4551, allocations: 23.98 kB / 0.5061 GB, free: 15.37 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004031/0.4555, allocations: 268.8 kB / 0.5063 GB, free: 15.06 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.093e-05/0.4556, allocations: 26.52 kB / 0.5064 GB, free: 15.02 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.581e-05/0.4556, allocations: 4.859 kB / 0.5064 GB, free: 15.02 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.132e-05/0.4556, allocations: 4.062 kB / 0.5064 GB, free: 15.01 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.404e-05/0.4556, allocations: 30.56 kB / 0.5064 GB, free: 14.97 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.412e-06/0.4556, allocations: 0 / 0.5064 GB, free: 14.97 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002155/0.4559, allocations: 67.39 kB / 0.5065 GB, free: 14.89 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.383e-05/0.4559, allocations: 85.23 kB / 0.5065 GB, free: 14.79 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.602e-05/0.456, allocations: 117.7 kB / 0.5066 GB, free: 14.67 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.165e-05/0.456, allocations: 25.7 kB / 0.5067 GB, free: 14.64 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.081e-05/0.4561, allocations: 114.7 kB / 0.5068 GB, free: 14.52 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.684e-06/0.4561, allocations: 0 / 0.5068 GB, free: 14.52 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.598e-06/0.4561, allocations: 0 / 0.5068 GB, free: 14.52 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.881e-05/0.4562, allocations: 318.8 kB / 0.5071 GB, free: 14.2 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.304e-05/0.4562, allocations: 11.98 kB / 0.5071 GB, free: 14.19 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.978e-05/0.4563, allocations: 67.16 kB / 0.5072 GB, free: 14.1 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.092e-05/0.4563, allocations: 45.69 kB / 0.5072 GB, free: 14.05 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/0.4564, allocations: 4 kB / 0.5072 GB, free: 14.05 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001381/0.4565, allocations: 123.1 kB / 0.5073 GB, free: 13.91 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.907e-05/0.4566, allocations: 29.7 kB / 0.5074 GB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.4566, allocations: 4 kB / 0.5074 GB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.069e-05/0.4566, allocations: 4 kB / 0.5074 GB, free: 13.87 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.371e-05/0.4567, allocations: 11.94 kB / 0.5074 GB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/0.4567, allocations: 8.234 kB / 0.5074 GB, free: 13.85 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.485e-05/0.4568, allocations: 11.91 kB / 0.5074 GB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.757e-05/0.4568, allocations: 4 kB / 0.5074 GB, free: 13.84 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.756e-05/0.4569, allocations: 147.5 kB / 0.5075 GB, free: 13.68 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.452e-05/0.4569, allocations: 3.984 kB / 0.5075 GB, free: 13.67 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.663e-05/0.457, allocations: 11.47 kB / 0.5076 GB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.457, allocations: 4 kB / 0.5076 GB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.457, allocations: 0 / 0.5076 GB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.457, allocations: 0 / 0.5076 GB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001391/0.4571, allocations: 157.6 kB / 0.5077 GB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.4571, allocations: 4 kB / 0.5077 GB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.025e-06/0.4572, allocations: 3.938 kB / 0.5077 GB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.4572, allocations: 0 / 0.5077 GB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.686e-06/0.4572, allocations: 0 / 0.5077 GB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.4572, allocations: 4 kB / 0.5077 GB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.4572, allocations: 0 / 0.5077 GB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001188/0.4573, allocations: 173 kB / 0.5079 GB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.855e-05/0.4574, allocations: 85.08 kB / 0.508 GB, free: 13.15 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.681e-05/0.4574, allocations: 0 / 0.508 GB, free: 13.15 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.951e-05/0.4574, allocations: 4 kB / 0.508 GB, free: 13.15 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.261e-05/0.4575, allocations: 0 / 0.508 GB, free: 13.15 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-06/0.4575, allocations: 4 kB / 0.508 GB, free: 13.14 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.689e-05/0.4575, allocations: 91.27 kB / 0.5081 GB, free: 13.05 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4575, allocations: 0 / 0.5081 GB, free: 13.05 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002589/0.4578, allocations: 16 kB / 0.5081 GB, free: 13.04 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 (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.0001481/0.458, allocations: 107.2 kB / 0.5082 GB, free: 12.92 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001473/0.4581, allocations: 87.27 kB / 0.5083 GB, free: 12.82 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.4581, allocations: 0 / 0.5083 GB, free: 12.82 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.42e-05/0.4581, allocations: 55.41 kB / 0.5083 GB, free: 12.76 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002224/0.4584, allocations: 11.95 kB / 0.5083 GB, free: 12.75 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002527/0.4586, allocations: 103.2 kB / 0.5084 GB, free: 12.62 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001484/0.4588, allocations: 0.6809 MB / 0.5091 GB, free: 11.91 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.524e-05/0.4589, allocations: 12.17 kB / 0.5091 GB, free: 11.9 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.447e-05/0.4589, allocations: 11.44 kB / 0.5091 GB, free: 11.89 MB / 382.1 MB Notification: Performance of SimCode: time 6.51e-07/0.4589, allocations: 0 / 0.5091 GB, free: 11.89 MB / 382.1 MB Notification: Performance of Templates: time 0.003273/0.4622, allocations: 493.2 kB / 0.5096 GB, free: 11.41 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: