Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008267/0.0008267, allocations: 79.69 kB / 21.74 MB, free: 2.52 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008673/0.0008673, allocations: 170.3 kB / 25.18 MB, free: 8.324 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9799/0.9799, allocations: 177.2 MB / 205.6 MB, free: 3.996 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.928/1.928, allocations: 389.6 MB / 0.6364 GB, free: 13.3 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 0.7756 GB, free: 14.51 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.386e-05/1.537e-05, allocations: 2.312 kB / 0.7756 GB, free: 14.51 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001138/0.001153, allocations: 0.6504 MB / 0.7763 GB, free: 13.86 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0002071/0.00136, allocations: 31.89 kB / 0.7763 GB, free: 13.83 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.185e-05/0.001382, allocations: 0 / 0.7763 GB, free: 13.83 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.264e-05/0.001415, allocations: 0 / 0.7763 GB, free: 13.83 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 3.796e-05/0.001452, allocations: 8 kB / 0.7763 GB, free: 13.82 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001695/0.001622, allocations: 7.922 kB / 0.7763 GB, free: 13.81 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.66e-05/0.001689, allocations: 8 kB / 0.7763 GB, free: 13.8 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.631e-05/0.001725, allocations: 11.92 kB / 0.7763 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.145e-05/0.001756, allocations: 3.984 kB / 0.7763 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.199e-05/0.001798, allocations: 0 / 0.7763 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.32e-05/0.001812, allocations: 0 / 0.7763 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 8.959e-05/0.001901, allocations: 19.98 kB / 0.7763 GB, free: 13.77 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.782e-05/0.001929, allocations: 11.92 kB / 0.7764 GB, free: 13.76 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.762e-05/0.001947, allocations: 0 / 0.7764 GB, free: 13.76 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 8.403e-05/0.002031, allocations: 27.97 kB / 0.7764 GB, free: 13.73 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.603e-06/0.002032, allocations: 4 kB / 0.7764 GB, free: 13.73 MB / 0.7448 GB Notification: Performance of FrontEnd: time 4.31e-07/0.002033, allocations: 0 / 0.7764 GB, free: 13.73 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.517e-06/0.002036, allocations: 0 / 0.7764 GB, free: 13.73 MB / 0.7448 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.0002293/0.002265, allocations: 246.3 kB / 0.7766 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.02e-05/0.002296, allocations: 8.031 kB / 0.7766 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.505e-05/0.002321, allocations: 4.938 kB / 0.7766 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.62e-05/0.002377, allocations: 105.8 kB / 0.7767 GB, free: 13.31 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.002388, allocations: 8.359 kB / 0.7767 GB, free: 13.3 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.735e-06/0.002395, allocations: 384 / 0.7767 GB, free: 13.3 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.643e-05/0.002482, allocations: 66.73 kB / 0.7768 GB, free: 13.23 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.21e-06/0.002487, allocations: 4.188 kB / 0.7768 GB, free: 13.22 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.832e-06/0.002494, allocations: 4.359 kB / 0.7768 GB, free: 13.22 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.31e-05/0.002517, allocations: 12.31 kB / 0.7768 GB, free: 13.21 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.459e-05/0.002542, allocations: 37.64 kB / 0.7769 GB, free: 13.16 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002027/0.002744, allocations: 174.2 kB / 0.777 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 3.946e-05/0.002784, allocations: 44.28 kB / 0.7771 GB, free: 12.92 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.621e-05/0.0028, allocations: 34.5 kB / 0.7771 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.615e-06/0.002803, allocations: 0 / 0.7771 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.006e-05/0.002823, allocations: 38.56 kB / 0.7771 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.002824, allocations: 0 / 0.7771 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 0.0001079/0.002931, allocations: 122.8 kB / 0.7773 GB, free: 12.68 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.357e-05/0.002965, allocations: 81.11 kB / 0.7773 GB, free: 12.59 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.889e-05/0.003034, allocations: 122.7 kB / 0.7775 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.044e-05/0.003044, allocations: 25.7 kB / 0.7775 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.803e-05/0.003092, allocations: 107.9 kB / 0.7776 GB, free: 12.31 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.972e-06/0.003098, allocations: 3.953 kB / 0.7776 GB, free: 12.31 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.736e-05/0.003126, allocations: 21.72 kB / 0.7776 GB, free: 12.28 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.391e-05/0.0032, allocations: 318.8 kB / 0.7779 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.746e-05/0.003217, allocations: 33.69 kB / 0.7779 GB, free: 11.92 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.121e-05/0.003258, allocations: 76.58 kB / 0.778 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.195e-05/0.00333, allocations: 137.1 kB / 0.7781 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.003332, allocations: 0 / 0.7781 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.266e-05/0.003425, allocations: 136.9 kB / 0.7783 GB, free: 11.49 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.415e-05/0.003449, allocations: 29.7 kB / 0.7783 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.003456, allocations: 4 kB / 0.7783 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.835e-06/0.003463, allocations: 0 / 0.7783 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.205e-05/0.003515, allocations: 12 kB / 0.7783 GB, free: 11.44 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.962e-06/0.003521, allocations: 7.984 kB / 0.7783 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.087e-05/0.003562, allocations: 7.953 kB / 0.7783 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.076e-05/0.003573, allocations: 4 kB / 0.7783 GB, free: 11.42 MB / 0.7448 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 6.181e-05/0.003635, allocations: 146.3 kB / 0.7785 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.345e-05/0.003648, allocations: 12.09 kB / 0.7785 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.497e-06/0.003658, allocations: 3.469 kB / 0.7785 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-06/0.003659, allocations: 0 / 0.7785 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.003661, allocations: 4 kB / 0.7785 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.003668, allocations: 3.984 kB / 0.7785 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.023e-05/0.003739, allocations: 65.84 kB / 0.7786 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.72e-07/0.003739, allocations: 0 / 0.7786 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.81e-07/0.00374, allocations: 3.938 kB / 0.7786 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.003741, allocations: 0 / 0.7786 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.576e-06/0.003744, allocations: 4 kB / 0.7786 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.003746, allocations: 3.938 kB / 0.7786 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.003747, allocations: 4 kB / 0.7786 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.278e-05/0.00383, allocations: 190.9 kB / 0.7788 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.227e-06/0.003839, allocations: 7.984 kB / 0.7788 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.163e-06/0.003846, allocations: 3.938 kB / 0.7788 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.924e-05/0.003875, allocations: 7.938 kB / 0.7788 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.504e-06/0.003883, allocations: 0 / 0.7788 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-06/0.003886, allocations: 0 / 0.7788 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 1.314e-05/0.003899, allocations: 17.31 kB / 0.7788 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.003899, allocations: 0 / 0.7788 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001304/0.004029, allocations: 8 kB / 0.7788 GB, free: 10.88 MB / 0.7448 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.0001162/0.004145, allocations: 92.44 kB / 0.7789 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001039/0.004249, allocations: 135.6 kB / 0.779 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.004254, allocations: 0 / 0.779 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.867e-05/0.004283, allocations: 85.97 kB / 0.7791 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.685e-05/0.00437, allocations: 7.984 kB / 0.7791 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000176/0.004546, allocations: 166.8 kB / 0.7793 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.488e-05/0.004591, allocations: 67.84 kB / 0.7793 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.635e-05/0.004647, allocations: 59.38 kB / 0.7794 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of SimCode: time 5.51e-07/0.004648, allocations: 0 / 0.7794 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of Templates: time 0.001305/0.005953, allocations: 0.692 MB / 0.7801 GB, free: 9.473 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./Buildings_13_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration > Buildings_13_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.431059735827148]