Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Math.Examples.Average.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Utilities.Math.Examples.Average") Notification: Performance of loadModel(Buildings): time 4.244/4.244, allocations: 433.3 MB / 440.9 MB, free: 10.49 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.437e-05/2.446e-05, allocations: 8 kB / 0.5325 GB, free: 1.973 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5278/0.5279, allocations: 98.71 MB / 0.6289 GB, free: 15.74 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1902/0.7181, allocations: 124 MB / 0.75 GB, free: 3.613 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002401/0.7184, allocations: 71.95 kB / 0.75 GB, free: 3.543 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.004157/0.7226, allocations: 1.099 MB / 0.7511 GB, free: 2.441 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.745e-06/0.7226, allocations: 0 / 0.7511 GB, free: 2.441 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.284e-05/0.7227, allocations: 4 kB / 0.7511 GB, free: 2.438 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005056/0.7232, allocations: 366.5 kB / 0.7515 GB, free: 2.035 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.7232, allocations: 12.02 kB / 0.7515 GB, free: 2.023 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.609e-05/0.7233, allocations: 7.906 kB / 0.7515 GB, free: 2.016 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002304/0.7235, allocations: 198.7 kB / 0.7517 GB, free: 1.785 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.7235, allocations: 0 / 0.7517 GB, free: 1.785 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.592e-05/0.7236, allocations: 0 / 0.7517 GB, free: 1.785 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001197/0.7237, allocations: 28 kB / 0.7517 GB, free: 1.758 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001357/0.7239, allocations: 61.61 kB / 0.7518 GB, free: 1.691 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.417e-06/0.7239, allocations: 0 / 0.7518 GB, free: 1.691 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.7239, allocations: 4 kB / 0.7518 GB, free: 1.688 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.561e-06/0.7239, allocations: 0 / 0.7518 GB, free: 1.688 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006121/0.7245, allocations: 317.3 kB / 0.7521 GB, free: 1.34 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.498e-05/0.7246, allocations: 34.52 kB / 0.7521 GB, free: 1.297 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.127e-05/0.7247, allocations: 20.94 kB / 0.7521 GB, free: 1.273 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.699e-05/0.7248, allocations: 4 kB / 0.7521 GB, free: 1.27 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.117e-05/0.7248, allocations: 30.56 kB / 0.7521 GB, free: 1.23 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 2.167e-06/0.7248, allocations: 0 / 0.7521 GB, free: 1.23 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0002677/0.7251, allocations: 57.64 kB / 0.7522 GB, free: 1.168 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.704e-05/0.7251, allocations: 55.41 kB / 0.7523 GB, free: 1.102 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001066/0.7253, allocations: 108.9 kB / 0.7524 GB, free: 0.9883 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.033e-05/0.7253, allocations: 25.7 kB / 0.7524 GB, free: 0.957 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.607e-05/0.7254, allocations: 96.05 kB / 0.7525 GB, free: 0.8594 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.498e-05/0.7254, allocations: 15.77 kB / 0.7525 GB, free: 0.8438 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.54e-06/0.7254, allocations: 0 / 0.7525 GB, free: 0.8438 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001552/0.7256, allocations: 314.8 kB / 0.7528 GB, free: 0.5273 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.861e-05/0.7256, allocations: 11.94 kB / 0.7528 GB, free: 0.5156 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.584e-05/0.7257, allocations: 16 kB / 0.7528 GB, free: 0.5 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.432e-05/0.7258, allocations: 12.12 kB / 0.7528 GB, free: 500 kB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.402e-06/0.7258, allocations: 0 / 0.7528 GB, free: 500 kB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000173/0.726, allocations: 65.58 kB / 0.7529 GB, free: 428 kB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.726, allocations: 4 kB / 0.7529 GB, free: 424 kB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.372e-06/0.726, allocations: 3.938 kB / 0.7529 GB, free: 420 kB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.726, allocations: 3.984 kB / 0.7529 GB, free: 416 kB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001664/0.7262, allocations: 19.98 kB / 0.7529 GB, free: 396 kB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.195e-06/0.7262, allocations: 7.953 kB / 0.7529 GB, free: 388 kB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001074/0.7264, allocations: 15.98 kB / 0.7529 GB, free: 372 kB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.654e-05/0.7264, allocations: 4 kB / 0.7529 GB, free: 368 kB / 0.6198 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.174e-05/0.7265, allocations: 101 kB / 0.753 GB, free: 260 kB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.02e-05/0.7265, allocations: 7.938 kB / 0.753 GB, free: 252 kB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002136/0.7268, allocations: 73.91 kB / 0.7531 GB, free: 168 kB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.91e-06/0.7268, allocations: 4 kB / 0.7531 GB, free: 164 kB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.22e-06/0.7268, allocations: 0 / 0.7531 GB, free: 164 kB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.7268, allocations: 3.953 kB / 0.7531 GB, free: 160 kB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002294/0.7271, allocations: 150.2 kB / 0.7533 GB, free: 15.97 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.259e-06/0.7271, allocations: 0 / 0.7533 GB, free: 15.97 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001397/0.7272, allocations: 23.97 kB / 0.7533 GB, free: 15.95 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.532e-06/0.7272, allocations: 0 / 0.7533 GB, free: 15.95 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.039e-06/0.7273, allocations: 0 / 0.7533 GB, free: 15.95 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.981e-06/0.7273, allocations: 8 kB / 0.7533 GB, free: 15.94 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.692e-06/0.7273, allocations: 4 kB / 0.7533 GB, free: 15.94 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002277/0.7275, allocations: 155.4 kB / 0.7535 GB, free: 15.77 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.827e-05/0.7276, allocations: 85.02 kB / 0.7535 GB, free: 15.67 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.733e-05/0.7276, allocations: 0 / 0.7535 GB, free: 15.67 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001552/0.7278, allocations: 19.98 kB / 0.7536 GB, free: 15.65 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.413e-05/0.7279, allocations: 7.984 kB / 0.7536 GB, free: 15.64 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.257e-05/0.7279, allocations: 4 kB / 0.7536 GB, free: 15.64 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.729e-05/0.728, allocations: 87.28 kB / 0.7536 GB, free: 15.55 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.073e-06/0.728, allocations: 0 / 0.7536 GB, free: 15.55 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003197/0.7283, allocations: 11.94 kB / 0.7537 GB, free: 15.54 MB / 0.6355 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 () * 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 (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.0001557/0.7285, allocations: 102.5 kB / 0.7538 GB, free: 15.43 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001339/0.7286, allocations: 31.98 kB / 0.7538 GB, free: 15.4 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.64e-06/0.7286, allocations: 4 kB / 0.7538 GB, free: 15.4 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.597e-05/0.7287, allocations: 19.94 kB / 0.7538 GB, free: 15.38 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002071/0.7289, allocations: 11.88 kB / 0.7538 GB, free: 15.37 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000308/0.7292, allocations: 88.05 kB / 0.7539 GB, free: 15.25 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003635/0.7296, allocations: 0.6924 MB / 0.7546 GB, free: 14.54 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.886e-05/0.7297, allocations: 7.984 kB / 0.7546 GB, free: 14.53 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.088e-05/0.7297, allocations: 11.44 kB / 0.7546 GB, free: 14.52 MB / 0.6355 GB Notification: Performance of SimCode: time 1.36e-06/0.7297, allocations: 0 / 0.7546 GB, free: 14.52 MB / 0.6355 GB Notification: Performance of Templates: time 0.00313/0.7329, allocations: 0.5698 MB / 0.7552 GB, free: 13.95 MB / 0.6355 GB