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.0009335/0.0009335, allocations: 80.81 kB / 20.75 MB, free: 3.734 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.001076/0.001076, allocations: 161 kB / 24.17 MB, free: 320 kB / 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 1.022/1.022, allocations: 177.1 MB / 204.6 MB, free: 5.098 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 2.011/2.011, allocations: 389.6 MB / 0.6354 GB, free: 12.32 MB / 0.6042 GB " [Timeout remaining time 177] 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.653e-06/1.653e-06, allocations: 1.094 kB / 0.7752 GB, free: 5.402 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.206e-05/2.371e-05, allocations: 2.312 kB / 0.7752 GB, free: 5.398 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001233/0.001256, allocations: 0.6143 MB / 0.7758 GB, free: 4.805 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0002131/0.001469, allocations: 44.95 kB / 0.7758 GB, free: 4.762 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.953e-05/0.001489, allocations: 0 / 0.7758 GB, free: 4.762 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.286e-05/0.001522, allocations: 0.9062 kB / 0.7758 GB, free: 4.762 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 3.659e-05/0.001558, allocations: 0 / 0.7758 GB, free: 4.762 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001979/0.001756, allocations: 14.58 kB / 0.7759 GB, free: 4.75 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 6.459e-05/0.001821, allocations: 4.547 kB / 0.7759 GB, free: 4.746 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.729e-05/0.001858, allocations: 5.25 kB / 0.7759 GB, free: 4.742 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 3.616e-05/0.001894, allocations: 7.984 kB / 0.7759 GB, free: 4.734 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 4.38e-05/0.001938, allocations: 0 / 0.7759 GB, free: 4.734 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.37e-05/0.001952, allocations: 0 / 0.7759 GB, free: 4.734 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 7.56e-05/0.002028, allocations: 23.83 kB / 0.7759 GB, free: 4.715 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.909e-05/0.002057, allocations: 8.859 kB / 0.7759 GB, free: 4.707 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.644e-05/0.002073, allocations: 1.312 kB / 0.7759 GB, free: 4.707 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 8.627e-05/0.002159, allocations: 24.84 kB / 0.7759 GB, free: 4.684 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.543e-06/0.002161, allocations: 0 / 0.7759 GB, free: 4.684 MB / 0.7292 GB Notification: Performance of FrontEnd: time 7.01e-07/0.002162, allocations: 0 / 0.7759 GB, free: 4.684 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.006e-06/0.002165, allocations: 0.875 kB / 0.7759 GB, free: 4.684 MB / 0.7292 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.0002423/0.002407, allocations: 258.3 kB / 0.7762 GB, free: 4.398 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.002446, allocations: 9.344 kB / 0.7762 GB, free: 4.391 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.644e-05/0.002472, allocations: 0.9375 kB / 0.7762 GB, free: 4.391 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.498e-05/0.002527, allocations: 105.8 kB / 0.7763 GB, free: 4.262 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/0.002538, allocations: 3.562 kB / 0.7763 GB, free: 4.262 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.786e-06/0.002546, allocations: 384 / 0.7763 GB, free: 4.262 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.122e-05/0.002638, allocations: 79.48 kB / 0.7764 GB, free: 4.172 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.172e-06/0.002644, allocations: 192 / 0.7764 GB, free: 4.172 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.231e-06/0.00265, allocations: 384 / 0.7764 GB, free: 4.172 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.524e-05/0.002675, allocations: 8.359 kB / 0.7764 GB, free: 4.164 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.571e-05/0.002701, allocations: 37.64 kB / 0.7764 GB, free: 4.121 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001981/0.002899, allocations: 170.2 kB / 0.7766 GB, free: 3.938 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001252/0.003024, allocations: 48.84 kB / 0.7766 GB, free: 3.875 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.853e-05/0.003043, allocations: 47.62 kB / 0.7767 GB, free: 3.824 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.256e-06/0.003046, allocations: 4 kB / 0.7767 GB, free: 3.82 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.909e-05/0.003065, allocations: 34.5 kB / 0.7767 GB, free: 3.777 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.003066, allocations: 0 / 0.7767 GB, free: 3.777 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1): time 0.0001139/0.00318, allocations: 114.8 kB / 0.7768 GB, free: 3.641 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.354e-05/0.003214, allocations: 77.11 kB / 0.7769 GB, free: 3.547 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.945e-05/0.003273, allocations: 122.7 kB / 0.777 GB, free: 3.414 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.675e-06/0.003281, allocations: 25.7 kB / 0.777 GB, free: 3.383 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.991e-05/0.003321, allocations: 103.9 kB / 0.7771 GB, free: 3.277 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 6.192e-06/0.003327, allocations: 7.141 kB / 0.7771 GB, free: 3.273 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.503e-05/0.003362, allocations: 29.69 kB / 0.7772 GB, free: 3.238 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.743e-05/0.003429, allocations: 314.8 kB / 0.7775 GB, free: 2.922 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.554e-05/0.003445, allocations: 29.7 kB / 0.7775 GB, free: 2.887 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.269e-05/0.003488, allocations: 88.84 kB / 0.7776 GB, free: 2.77 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.942e-05/0.003557, allocations: 128.2 kB / 0.7777 GB, free: 2.609 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.003559, allocations: 0.7812 kB / 0.7777 GB, free: 2.609 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.463e-05/0.003644, allocations: 127.5 kB / 0.7778 GB, free: 2.469 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.431e-05/0.003668, allocations: 33.7 kB / 0.7779 GB, free: 2.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.003674, allocations: 0 / 0.7779 GB, free: 2.43 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.003688, allocations: 7.984 kB / 0.7779 GB, free: 2.422 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.184e-05/0.00374, allocations: 17.45 kB / 0.7779 GB, free: 2.406 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.003744, allocations: 0 / 0.7779 GB, free: 2.406 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.856e-05/0.003782, allocations: 4.812 kB / 0.7779 GB, free: 2.402 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.243e-05/0.003795, allocations: 8 kB / 0.7779 GB, free: 2.395 MB / 0.7292 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.252e-05/0.003857, allocations: 152 kB / 0.778 GB, free: 2.23 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.374e-05/0.003871, allocations: 11.92 kB / 0.778 GB, free: 2.219 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.213e-05/0.003883, allocations: 7.469 kB / 0.7781 GB, free: 2.215 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.003885, allocations: 4.766 kB / 0.7781 GB, free: 2.211 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.482e-06/0.003886, allocations: 0.5 kB / 0.7781 GB, free: 2.211 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.003888, allocations: 0 / 0.7781 GB, free: 2.211 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.182e-05/0.00396, allocations: 67.45 kB / 0.7781 GB, free: 2.129 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.003962, allocations: 0 / 0.7781 GB, free: 2.129 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.637e-06/0.003966, allocations: 3.984 kB / 0.7781 GB, free: 2.125 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.31e-07/0.003966, allocations: 0 / 0.7781 GB, free: 2.125 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.849e-06/0.003971, allocations: 1.578 kB / 0.7781 GB, free: 2.125 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.003973, allocations: 3.938 kB / 0.7781 GB, free: 2.121 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.003974, allocations: 0.875 kB / 0.7781 GB, free: 2.121 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.121e-05/0.004055, allocations: 187 kB / 0.7783 GB, free: 1.91 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.184e-06/0.004062, allocations: 4.562 kB / 0.7783 GB, free: 1.906 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.564e-06/0.00407, allocations: 4.719 kB / 0.7783 GB, free: 1.902 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.029e-05/0.0041, allocations: 3.938 kB / 0.7783 GB, free: 1.898 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.015e-06/0.004108, allocations: 2.188 kB / 0.7783 GB, free: 1.898 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.065e-06/0.004111, allocations: 4 kB / 0.7783 GB, free: 1.895 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.383e-05/0.004125, allocations: 16.83 kB / 0.7783 GB, free: 1.875 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.004125, allocations: 1.469 kB / 0.7783 GB, free: 1.875 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001347/0.00426, allocations: 16 kB / 0.7784 GB, free: 1.859 MB / 0.7292 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.0001354/0.004395, allocations: 80.42 kB / 0.7784 GB, free: 1.773 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001287/0.004524, allocations: 137.5 kB / 0.7786 GB, free: 1.613 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/0.004529, allocations: 4 kB / 0.7786 GB, free: 1.609 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.206e-05/0.004561, allocations: 86.81 kB / 0.7787 GB, free: 1.504 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001064/0.004668, allocations: 7.766 kB / 0.7787 GB, free: 1.5 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002128/0.00488, allocations: 133.3 kB / 0.7788 GB, free: 1.336 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.518e-05/0.004916, allocations: 60.22 kB / 0.7788 GB, free: 1.258 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.921e-05/0.004945, allocations: 5.062 kB / 0.7789 GB, free: 1.254 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.808e-05/0.004993, allocations: 56.47 kB / 0.7789 GB, free: 1.199 MB / 0.7292 GB Notification: Performance of SimCode: time 9.51e-07/0.004994, allocations: 0.9375 kB / 0.7789 GB, free: 1.199 MB / 0.7292 GB Notification: Performance of Templates: time 0.00234/0.007334, allocations: 0.5966 MB / 0.7795 GB, free: 0.6289 MB / 0.7292 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.013512757141143]