Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.727/1.727, allocations: 287.5 MB / 302.6 MB, free: 8.188 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.00111/0.00111, allocations: 186.9 kB / 371.2 MB, free: 10.82 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.808/1.808, allocations: 205.4 MB / 0.6298 GB, free: 10.46 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.000773/0.000773, allocations: 92.59 kB / 0.7432 GB, free: 6.445 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005016/0.0005019, allocations: 17.55 kB / 0.8661 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2128/0.2134, allocations: 115.3 MB / 0.9787 GB, free: 28.15 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.0006225/0.214, allocations: 323.5 kB / 0.979 GB, free: 27.83 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0002003/0.2143, allocations: 35.92 kB / 0.979 GB, free: 27.79 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.3e-05/0.2143, allocations: 0 / 0.979 GB, free: 27.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.371e-05/0.2143, allocations: 0 / 0.979 GB, free: 27.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.135e-05/0.2144, allocations: 3.984 kB / 0.979 GB, free: 27.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001621/0.2145, allocations: 8 kB / 0.979 GB, free: 27.78 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 3.923e-05/0.2146, allocations: 4 kB / 0.979 GB, free: 27.78 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.999e-05/0.2146, allocations: 11.97 kB / 0.9791 GB, free: 27.77 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.837e-05/0.2147, allocations: 3.938 kB / 0.9791 GB, free: 27.76 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 2.662e-05/0.2147, allocations: 4 kB / 0.9791 GB, free: 27.76 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.062e-05/0.2147, allocations: 0 / 0.9791 GB, free: 27.76 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.033e-05/0.2148, allocations: 15.98 kB / 0.9791 GB, free: 27.74 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.032e-05/0.2148, allocations: 0 / 0.9791 GB, free: 27.74 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.998e-05/0.2148, allocations: 29.7 kB / 0.9791 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 5.762e-05/0.2149, allocations: 15.98 kB / 0.9791 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.2149, allocations: 4 kB / 0.9791 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.172e-06/0.2149, allocations: 0 / 0.9791 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.957e-06/0.2149, allocations: 0 / 0.9791 GB, free: 27.69 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.0002133/0.2151, allocations: 345.3 kB / 0.9795 GB, free: 27.29 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.182e-05/0.2152, allocations: 8.031 kB / 0.9795 GB, free: 27.29 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.806e-05/0.2152, allocations: 8.844 kB / 0.9795 GB, free: 27.28 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.627e-05/0.2153, allocations: 168.5 kB / 0.9796 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.929e-06/0.2153, allocations: 384 / 0.9796 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.39e-05/0.2153, allocations: 4.375 kB / 0.9796 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001237/0.2154, allocations: 74.16 kB / 0.9797 GB, free: 26.99 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.2155, allocations: 192 / 0.9797 GB, free: 26.99 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.707e-06/0.2155, allocations: 3.938 kB / 0.9797 GB, free: 26.99 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.207e-05/0.2155, allocations: 4 kB / 0.9797 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.106e-05/0.2156, allocations: 23.98 kB / 0.9797 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002609/0.2158, allocations: 268.6 kB / 0.98 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.238e-05/0.2159, allocations: 18.58 kB / 0.98 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.422e-05/0.2159, allocations: 16.92 kB / 0.98 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.035e-06/0.2159, allocations: 0 / 0.98 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.617e-05/0.2159, allocations: 30.56 kB / 0.9801 GB, free: 26.56 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 9.41e-07/0.2159, allocations: 0 / 0.9801 GB, free: 26.56 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.000148/0.2161, allocations: 67.33 kB / 0.9801 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.149e-05/0.2161, allocations: 81.11 kB / 0.9802 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.454e-05/0.2162, allocations: 113.8 kB / 0.9803 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.936e-06/0.2162, allocations: 25.83 kB / 0.9803 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.924e-05/0.2162, allocations: 107.8 kB / 0.9804 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.033e-06/0.2162, allocations: 7.906 kB / 0.9804 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.918e-06/0.2162, allocations: 0 / 0.9804 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.164e-05/0.2163, allocations: 318.8 kB / 0.9807 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.948e-05/0.2163, allocations: 11.98 kB / 0.9808 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.714e-05/0.2164, allocations: 66.86 kB / 0.9808 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.596e-05/0.2164, allocations: 126.1 kB / 0.9809 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.2164, allocations: 0 / 0.9809 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.00011/0.2166, allocations: 119.2 kB / 0.9811 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/0.2166, allocations: 33.7 kB / 0.9811 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.2166, allocations: 0 / 0.9811 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.2166, allocations: 4 kB / 0.9811 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.143e-05/0.2167, allocations: 16.25 kB / 0.9811 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.2167, allocations: 3.984 kB / 0.9811 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.22e-05/0.2168, allocations: 15.84 kB / 0.9811 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.391e-05/0.2168, allocations: 8 kB / 0.9811 GB, free: 25.32 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 7.827e-05/0.2169, allocations: 147.4 kB / 0.9813 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.772e-05/0.2169, allocations: 4 kB / 0.9813 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.149e-05/0.2169, allocations: 7.516 kB / 0.9813 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.2169, allocations: 0 / 0.9813 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.2169, allocations: 0 / 0.9813 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.2169, allocations: 7.938 kB / 0.9813 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001033/0.217, allocations: 157.7 kB / 0.9814 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.2171, allocations: 4 kB / 0.9814 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.82e-07/0.2171, allocations: 0 / 0.9814 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.2171, allocations: 0 / 0.9814 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.192e-06/0.2171, allocations: 0 / 0.9814 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.2171, allocations: 0 / 0.9814 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2171, allocations: 480 / 0.9814 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.24e-05/0.2172, allocations: 173.1 kB / 0.9816 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.831e-05/0.2172, allocations: 85.02 kB / 0.9817 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.186e-05/0.2172, allocations: 0 / 0.9817 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.9e-05/0.2173, allocations: 7.922 kB / 0.9817 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.702e-05/0.2173, allocations: 0 / 0.9817 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.582e-06/0.2173, allocations: 4 kB / 0.9817 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.773e-05/0.2173, allocations: 99.23 kB / 0.9818 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2174, allocations: 0 / 0.9818 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002212/0.2176, allocations: 11.94 kB / 0.9818 GB, free: 24.52 MB / 0.6198 GB 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.0001455/0.2177, allocations: 111.3 kB / 0.9819 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001093/0.2178, allocations: 83.33 kB / 0.982 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2179, allocations: 0 / 0.982 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.299e-05/0.2179, allocations: 59.41 kB / 0.9821 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001909/0.2181, allocations: 3.938 kB / 0.9821 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001944/0.2183, allocations: 111.3 kB / 0.9822 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001083/0.2184, allocations: 0.677 MB / 0.9828 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.321e-05/0.2185, allocations: 11.98 kB / 0.9828 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.919e-06/0.2185, allocations: 11.38 kB / 0.9828 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of SimCode: time 3.1e-07/0.2185, allocations: 0 / 0.9828 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of Templates: time 0.002312/0.2208, allocations: 498.1 kB / 0.9833 GB, free: 22.9 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1)