Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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_8_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001045/0.001045, allocations: 108.5 kB / 16.36 MB, free: 6.414 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.001035/0.001035, allocations: 193.7 kB / 17.3 MB, free: 5.789 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.363/1.363, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.819/1.819, allocations: 292.3 MB / 0.5496 GB, free: 17.54 MB / 462.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: Performance of FrontEnd - loaded program: time 0.001668/0.001668, allocations: 63.91 kB / 0.6729 GB, free: 5.848 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2313/0.2329, allocations: 114.6 MB / 0.7848 GB, free: 3.172 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.002256/0.2353, allocations: 0.5848 MB / 0.7854 GB, free: 2.578 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0002676/0.2355, allocations: 35.88 kB / 0.7854 GB, free: 2.543 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.144e-05/0.2356, allocations: 4 kB / 0.7854 GB, free: 2.539 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.3e-05/0.2356, allocations: 3.938 kB / 0.7854 GB, free: 2.535 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.098e-05/0.2357, allocations: 7.984 kB / 0.7854 GB, free: 2.527 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002177/0.2359, allocations: 4 kB / 0.7854 GB, free: 2.523 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 8.958e-05/0.236, allocations: 15.97 kB / 0.7854 GB, free: 2.508 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.475e-05/0.2361, allocations: 0 / 0.7854 GB, free: 2.508 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 1.897e-05/0.2361, allocations: 0 / 0.7854 GB, free: 2.508 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.549e-05/0.2361, allocations: 4 kB / 0.7854 GB, free: 2.504 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.444e-05/0.2362, allocations: 7.875 kB / 0.7854 GB, free: 2.496 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 8.78e-05/0.2363, allocations: 15.98 kB / 0.7855 GB, free: 2.48 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.58e-05/0.2363, allocations: 8 kB / 0.7855 GB, free: 2.473 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.877e-05/0.2363, allocations: 7.938 kB / 0.7855 GB, free: 2.465 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001077/0.2365, allocations: 23.95 kB / 0.7855 GB, free: 2.441 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.2365, allocations: 0 / 0.7855 GB, free: 2.441 MB / 0.6544 GB Notification: Performance of FrontEnd: time 5.25e-06/0.2365, allocations: 0 / 0.7855 GB, free: 2.441 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.2365, allocations: 3.938 kB / 0.7855 GB, free: 2.438 MB / 0.6544 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.0003601/0.2368, allocations: 353.3 kB / 0.7858 GB, free: 2.035 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.2369, allocations: 15.97 kB / 0.7859 GB, free: 2.02 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.567e-05/0.2369, allocations: 0.9375 kB / 0.7859 GB, free: 2.02 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.804e-05/0.237, allocations: 172.3 kB / 0.786 GB, free: 1.812 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/0.2371, allocations: 4.375 kB / 0.786 GB, free: 1.809 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.281e-05/0.2371, allocations: 384 / 0.786 GB, free: 1.809 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001519/0.2372, allocations: 54.25 kB / 0.7861 GB, free: 1.75 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.2373, allocations: 192 / 0.7861 GB, free: 1.75 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.2373, allocations: 3.938 kB / 0.7861 GB, free: 1.746 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.174e-05/0.2373, allocations: 7.984 kB / 0.7861 GB, free: 1.738 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.533e-05/0.2374, allocations: 27.92 kB / 0.7861 GB, free: 1.711 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000394/0.2378, allocations: 264.8 kB / 0.7864 GB, free: 1.402 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 5.397e-05/0.2378, allocations: 26.56 kB / 0.7864 GB, free: 1.367 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.051e-05/0.2379, allocations: 4.859 kB / 0.7864 GB, free: 1.359 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 7.183e-06/0.2379, allocations: 0 / 0.7864 GB, free: 1.359 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.258e-05/0.2379, allocations: 30.56 kB / 0.7864 GB, free: 1.32 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.2379, allocations: 0 / 0.7864 GB, free: 1.32 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1): time 0.0001897/0.2381, allocations: 75.3 kB / 0.7865 GB, free: 1.234 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.678e-05/0.2382, allocations: 85.23 kB / 0.7866 GB, free: 1.133 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.558e-05/0.2383, allocations: 109.8 kB / 0.7867 GB, free: 1.016 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.326e-05/0.2383, allocations: 25.7 kB / 0.7867 GB, free: 0.9844 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.015e-05/0.2383, allocations: 107.9 kB / 0.7868 GB, free: 0.875 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 9.919e-06/0.2384, allocations: 7.984 kB / 0.7868 GB, free: 0.8672 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.981e-05/0.2384, allocations: 21.62 kB / 0.7868 GB, free: 0.8398 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001038/0.2385, allocations: 318.8 kB / 0.7871 GB, free: 0.5195 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.74e-05/0.2386, allocations: 11.98 kB / 0.7872 GB, free: 0.5078 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.754e-05/0.2386, allocations: 62.86 kB / 0.7872 GB, free: 432 kB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000104/0.2387, allocations: 134.1 kB / 0.7873 GB, free: 260 kB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2387, allocations: 0 / 0.7873 GB, free: 260 kB / 0.6544 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001553/0.2389, allocations: 119.4 kB / 0.7875 GB, free: 128 kB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.442e-05/0.2389, allocations: 33.7 kB / 0.7875 GB, free: 88 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.239, allocations: 0 / 0.7875 GB, free: 88 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.239, allocations: 4 kB / 0.7875 GB, free: 84 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.449e-05/0.2391, allocations: 15.92 kB / 0.7875 GB, free: 68 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.2391, allocations: 11.88 kB / 0.7875 GB, free: 56 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.458e-05/0.2391, allocations: 11.84 kB / 0.7875 GB, free: 44 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.612e-05/0.2392, allocations: 4 kB / 0.7875 GB, free: 40 kB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.3325/0.5717, allocations: 145.8 kB / 0.7877 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.227e-05/0.5717, allocations: 2.688 kB / 0.7877 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.833e-05/0.5717, allocations: 6.25 kB / 0.7877 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.247e-06/0.5718, allocations: 0.9375 kB / 0.7877 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.5718, allocations: 0.8125 kB / 0.7877 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.5718, allocations: 5.688 kB / 0.7877 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001328/0.5719, allocations: 155.9 kB / 0.7878 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.5719, allocations: 0 / 0.7878 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.412e-06/0.5719, allocations: 2.219 kB / 0.7878 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.5719, allocations: 0.9062 kB / 0.7878 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.5719, allocations: 0.625 kB / 0.7878 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.572, allocations: 0.9375 kB / 0.7878 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.572, allocations: 0.7031 kB / 0.7878 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001231/0.5721, allocations: 168.6 kB / 0.788 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.142e-05/0.5721, allocations: 84.08 kB / 0.7881 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.378e-05/0.5722, allocations: 0 / 0.7881 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.151e-05/0.5722, allocations: 2.5 kB / 0.7881 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.061e-05/0.5723, allocations: 11.73 kB / 0.7881 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.007e-06/0.5723, allocations: 2.312 kB / 0.7881 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.34e-05/0.5723, allocations: 85.72 kB / 0.7882 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5723, allocations: 2.844 kB / 0.7882 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003154/0.5726, allocations: 8.125 kB / 0.7882 GB, free: 47.8 MB / 0.6544 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 (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.0001517/0.5728, allocations: 110.4 kB / 0.7883 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001368/0.5729, allocations: 86.7 kB / 0.7884 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.573, allocations: 0 / 0.7884 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 2.269e-05/0.573, allocations: 58.66 kB / 0.7884 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002624/0.5733, allocations: 4.281 kB / 0.7884 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002406/0.5735, allocations: 103.9 kB / 0.7885 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001547/0.5737, allocations: 0.6776 MB / 0.7892 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001201/0.5738, allocations: 8.578 kB / 0.7892 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.172e-05/0.5738, allocations: 13.06 kB / 0.7892 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of SimCode: time 1.232e-06/0.5738, allocations: 0 / 0.7892 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of Templates: time 0.002534/0.5764, allocations: 0.5163 MB / 0.7897 GB, free: 46.8 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1)