Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.552/1.552, allocations: 288.4 MB / 304.3 MB, free: 8.145 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001012/0.001012, allocations: 183.9 kB / 372.9 MB, free: 10.14 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.551/1.551, allocations: 205.4 MB / 0.6316 GB, free: 9.879 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008687/0.0008687, allocations: 94.22 kB / 0.745 GB, free: 5.789 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004311/0.0004315, allocations: 13.5 kB / 0.8681 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2184/0.2189, allocations: 115.3 MB / 0.9807 GB, free: 27.31 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.0006925/0.2196, allocations: 327.7 kB / 0.9811 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0002008/0.2198, allocations: 31.92 kB / 0.9811 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.047e-05/0.2199, allocations: 0 / 0.9811 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.711e-05/0.2199, allocations: 4 kB / 0.9811 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.135e-05/0.2199, allocations: 0 / 0.9811 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001753/0.2201, allocations: 15.97 kB / 0.9811 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.665e-05/0.2202, allocations: 7.938 kB / 0.9811 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.068e-05/0.2202, allocations: 0 / 0.9811 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2e-05/0.2203, allocations: 4 kB / 0.9811 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 2.979e-05/0.2203, allocations: 3.984 kB / 0.9811 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.197e-05/0.2203, allocations: 0 / 0.9811 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.322e-05/0.2204, allocations: 15.98 kB / 0.9811 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.583e-05/0.2204, allocations: 4 kB / 0.9811 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.177e-05/0.2205, allocations: 37.64 kB / 0.9812 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 7.01e-05/0.2206, allocations: 15.98 kB / 0.9812 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.279e-06/0.2206, allocations: 0 / 0.9812 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.623e-06/0.2206, allocations: 0 / 0.9812 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.757e-06/0.2206, allocations: 0 / 0.9812 GB, free: 26.84 MB / 0.6198 GB 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.0002609/0.2209, allocations: 349.2 kB / 0.9815 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.2209, allocations: 8.031 kB / 0.9815 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.203e-05/0.2209, allocations: 4.844 kB / 0.9815 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.233e-05/0.221, allocations: 172.5 kB / 0.9817 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.221, allocations: 8.375 kB / 0.9817 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.266e-05/0.221, allocations: 384 / 0.9817 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001355/0.2212, allocations: 58.19 kB / 0.9818 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.2212, allocations: 4.125 kB / 0.9818 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.2212, allocations: 7.938 kB / 0.9818 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.69e-05/0.2213, allocations: 7.984 kB / 0.9818 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.575e-05/0.2213, allocations: 23.98 kB / 0.9818 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000304/0.2216, allocations: 268.8 kB / 0.9821 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.693e-05/0.2217, allocations: 22.52 kB / 0.9821 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.401e-05/0.2217, allocations: 8.922 kB / 0.9821 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.845e-06/0.2217, allocations: 0 / 0.9821 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.876e-05/0.2217, allocations: 30.56 kB / 0.9821 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.2217, allocations: 0 / 0.9821 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001573/0.2219, allocations: 71.39 kB / 0.9822 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.584e-05/0.2219, allocations: 81.05 kB / 0.9823 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.556e-05/0.222, allocations: 114 kB / 0.9824 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.077e-06/0.222, allocations: 25.7 kB / 0.9824 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.35e-05/0.2221, allocations: 107.8 kB / 0.9825 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.995e-06/0.2221, allocations: 3.906 kB / 0.9825 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.777e-06/0.2221, allocations: 0 / 0.9825 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.292e-05/0.2222, allocations: 326.8 kB / 0.9828 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.168e-05/0.2222, allocations: 12.05 kB / 0.9828 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.762e-05/0.2222, allocations: 62.86 kB / 0.9829 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.927e-05/0.2223, allocations: 134.1 kB / 0.983 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.2223, allocations: 0 / 0.983 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001154/0.2224, allocations: 115.2 kB / 0.9831 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.591e-05/0.2225, allocations: 29.95 kB / 0.9832 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.2225, allocations: 8 kB / 0.9832 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.2225, allocations: 0 / 0.9832 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.24e-05/0.2226, allocations: 12 kB / 0.9832 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.2226, allocations: 4 kB / 0.9832 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.246e-05/0.2227, allocations: 19.83 kB / 0.9832 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.212e-05/0.2227, allocations: 4 kB / 0.9832 GB, free: 24.47 MB / 0.6198 GB 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 5.928e-05/0.2228, allocations: 143.4 kB / 0.9833 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.133e-05/0.2228, allocations: 4 kB / 0.9833 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.658e-06/0.2228, allocations: 7.531 kB / 0.9834 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.2228, allocations: 4 kB / 0.9834 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.2228, allocations: 7.984 kB / 0.9834 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.702e-05/0.2228, allocations: 81.05 kB / 0.9834 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.29e-05/0.2228, allocations: 3.938 kB / 0.9834 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.461e-05/0.2229, allocations: 0 / 0.9834 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.379e-05/0.2229, allocations: 4 kB / 0.9834 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 7.698e-05/0.223, allocations: 194.1 kB / 0.9836 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 7.964e-05/0.2231, allocations: 248.4 kB / 0.9839 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.54e-05/0.2231, allocations: 4 kB / 0.9839 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.446e-05/0.2232, allocations: 91.16 kB / 0.984 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of Backend: time 1.9e-07/0.2232, allocations: 0 / 0.984 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004001/0.2236, allocations: 173.1 kB / 0.9841 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0002416/0.2238, allocations: 0.605 MB / 0.9847 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of Templates: time 0.002337/0.2262, allocations: 0.4944 MB / 0.9852 GB, free: 22.28 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1)