Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.Math.Examples.Average.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.001328/0.001328, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001662/0.001662, allocations: 161.4 kB / 24.16 MB, free: 332 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.056/1.056, allocations: 177.1 MB / 204.6 MB, free: 5.496 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.029/2.029, 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.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Examples.Average") translateModel(Buildings.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Examples.Average") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 0.7752 GB, free: 5.359 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.366e-05/2.536e-05, allocations: 5.406 kB / 0.7752 GB, free: 5.355 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Average): time 0.00239/0.002415, allocations: 1.633 MB / 0.7768 GB, free: 3.734 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0002959/0.002711, allocations: 115.7 kB / 0.7769 GB, free: 3.621 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.255e-05/0.002754, allocations: 3.938 kB / 0.7769 GB, free: 3.617 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001099/0.002864, allocations: 8.797 kB / 0.7769 GB, free: 3.609 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 2.595e-05/0.002889, allocations: 13.44 kB / 0.7769 GB, free: 3.602 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001992/0.003089, allocations: 28.83 kB / 0.777 GB, free: 3.574 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 8.924e-05/0.003178, allocations: 53.38 kB / 0.777 GB, free: 3.531 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 8.408e-05/0.003262, allocations: 19.98 kB / 0.777 GB, free: 3.512 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 6.473e-05/0.003327, allocations: 33.66 kB / 0.7771 GB, free: 3.48 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 5.818e-05/0.003385, allocations: 27.95 kB / 0.7771 GB, free: 3.453 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.59e-05/0.003401, allocations: 5.156 kB / 0.7771 GB, free: 3.449 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 7.221e-05/0.003473, allocations: 19.92 kB / 0.7771 GB, free: 3.43 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 3.19e-05/0.003505, allocations: 11.94 kB / 0.7771 GB, free: 3.418 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.213e-05/0.003527, allocations: 13.7 kB / 0.7771 GB, free: 3.406 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.000109/0.003636, allocations: 59.75 kB / 0.7772 GB, free: 3.348 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.003639, allocations: 0 / 0.7772 GB, free: 3.348 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.001e-06/0.00364, allocations: 0 / 0.7772 GB, free: 3.348 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.938e-06/0.003644, allocations: 0 / 0.7772 GB, free: 3.348 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0002904/0.003934, allocations: 269.5 kB / 0.7775 GB, free: 3.059 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.065e-05/0.003965, allocations: 13.84 kB / 0.7775 GB, free: 3.047 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.461e-05/0.00399, allocations: 4.938 kB / 0.7775 GB, free: 3.043 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001204/0.00411, allocations: 126.4 kB / 0.7776 GB, free: 2.895 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.657e-06/0.004119, allocations: 4.375 kB / 0.7776 GB, free: 2.891 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.444e-06/0.004126, allocations: 7.031 kB / 0.7776 GB, free: 2.887 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001256/0.004252, allocations: 81.62 kB / 0.7777 GB, free: 2.797 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.25e-06/0.004257, allocations: 192 / 0.7777 GB, free: 2.797 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.786e-06/0.004266, allocations: 4.375 kB / 0.7777 GB, free: 2.793 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.004269, allocations: 384 / 0.7777 GB, free: 2.793 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.517e-05/0.004294, allocations: 11.94 kB / 0.7777 GB, free: 2.781 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002502/0.004545, allocations: 196.6 kB / 0.7779 GB, free: 2.574 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.269e-05/0.004597, allocations: 22.58 kB / 0.7779 GB, free: 2.543 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.633e-05/0.004614, allocations: 8.859 kB / 0.7779 GB, free: 2.531 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.781e-05/0.004641, allocations: 8.078 kB / 0.7779 GB, free: 2.523 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.095e-05/0.004662, allocations: 34.5 kB / 0.778 GB, free: 2.48 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 9.81e-07/0.004663, allocations: 2.406 kB / 0.778 GB, free: 2.48 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.0001115/0.004775, allocations: 49.89 kB / 0.778 GB, free: 2.426 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.572e-05/0.004801, allocations: 51.41 kB / 0.7781 GB, free: 2.363 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.542e-05/0.004856, allocations: 114.7 kB / 0.7782 GB, free: 2.238 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.191e-05/0.004868, allocations: 33.64 kB / 0.7782 GB, free: 2.199 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.396e-05/0.004902, allocations: 96.06 kB / 0.7783 GB, free: 2.102 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.671e-05/0.004919, allocations: 11.89 kB / 0.7783 GB, free: 2.09 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.661e-05/0.004945, allocations: 14.84 kB / 0.7783 GB, free: 2.07 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.403e-05/0.005019, allocations: 318.8 kB / 0.7786 GB, free: 1.75 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.188e-05/0.005031, allocations: 4 kB / 0.7786 GB, free: 1.746 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.648e-06/0.005041, allocations: 0.8125 kB / 0.7786 GB, free: 1.746 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.961e-05/0.00507, allocations: 23.61 kB / 0.7786 GB, free: 1.719 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.005072, allocations: 0.7812 kB / 0.7786 GB, free: 1.719 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.658e-05/0.005129, allocations: 41.69 kB / 0.7787 GB, free: 1.672 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.005143, allocations: 12.59 kB / 0.7787 GB, free: 1.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.005146, allocations: 0 / 0.7787 GB, free: 1.66 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.107e-06/0.005155, allocations: 0.7812 kB / 0.7787 GB, free: 1.66 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.843e-05/0.005224, allocations: 13.42 kB / 0.7787 GB, free: 1.648 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.574e-06/0.005226, allocations: 0 / 0.7787 GB, free: 1.648 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.221e-05/0.005248, allocations: 4 kB / 0.7787 GB, free: 1.645 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.44e-05/0.005263, allocations: 0 / 0.7787 GB, free: 1.645 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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 5.501e-05/0.005318, allocations: 113.3 kB / 0.7788 GB, free: 1.523 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.795e-05/0.005336, allocations: 9.359 kB / 0.7788 GB, free: 1.516 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.675e-05/0.005413, allocations: 53.62 kB / 0.7789 GB, free: 1.461 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.005415, allocations: 3.984 kB / 0.7789 GB, free: 1.457 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.005417, allocations: 0 / 0.7789 GB, free: 1.457 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.00542, allocations: 0.875 kB / 0.7789 GB, free: 1.457 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.14e-05/0.005511, allocations: 81.83 kB / 0.779 GB, free: 1.359 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.005512, allocations: 0.5 kB / 0.779 GB, free: 1.359 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.431e-05/0.005546, allocations: 8.812 kB / 0.779 GB, free: 1.352 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.005549, allocations: 4 kB / 0.779 GB, free: 1.348 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-06/0.005555, allocations: 5.75 kB / 0.779 GB, free: 1.344 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.484e-06/0.005558, allocations: 3.938 kB / 0.779 GB, free: 1.34 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.005559, allocations: 3.984 kB / 0.779 GB, free: 1.336 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.882e-05/0.005638, allocations: 135.5 kB / 0.7791 GB, free: 1.188 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.815e-06/0.005646, allocations: 4 kB / 0.7791 GB, free: 1.184 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.518e-06/0.005655, allocations: 4.5 kB / 0.7791 GB, free: 1.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.995e-05/0.005695, allocations: 13.02 kB / 0.7791 GB, free: 1.168 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.843e-05/0.005724, allocations: 7.938 kB / 0.7791 GB, free: 1.16 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.041e-06/0.00573, allocations: 0 / 0.7791 GB, free: 1.16 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.694e-05/0.005747, allocations: 21.36 kB / 0.7792 GB, free: 1.137 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.005747, allocations: 0 / 0.7792 GB, free: 1.137 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001303/0.005877, allocations: 12.94 kB / 0.7792 GB, free: 1.125 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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 9.924e-05/0.005976, allocations: 80.89 kB / 0.7793 GB, free: 1.039 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 7.003e-05/0.006046, allocations: 64.23 kB / 0.7793 GB, free: 0.9727 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.006048, allocations: 0 / 0.7793 GB, free: 0.9727 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.932e-05/0.006068, allocations: 14.41 kB / 0.7793 GB, free: 0.957 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001488/0.006217, allocations: 16.75 kB / 0.7794 GB, free: 0.9414 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002533/0.00647, allocations: 151.7 kB / 0.7795 GB, free: 0.7656 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.257e-05/0.006502, allocations: 59.34 kB / 0.7796 GB, free: 0.6875 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.509e-05/0.006528, allocations: 9.078 kB / 0.7796 GB, free: 0.6797 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.798e-05/0.006576, allocations: 55.38 kB / 0.7796 GB, free: 0.625 MB / 0.7292 GB Notification: Performance of SimCode: time 9.81e-07/0.006576, allocations: 1.031 kB / 0.7796 GB, free: 0.625 MB / 0.7292 GB Notification: Performance of Templates: time 0.002406/0.008982, allocations: 0.7732 MB / 0.7804 GB, free: 15.89 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Math.Examples.Average.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.Average.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.Average.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Examples.Average.sim & ./Buildings_13_Buildings.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Buildings_13_Buildings.Utilities.Math.Examples.Average.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.132072224281728]