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.0009214/0.0009214, allocations: 80.81 kB / 21.54 MB, free: 2.949 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.000982/0.000982, allocations: 167 kB / 24.96 MB, free: 8.719 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 1.01/1.01, allocations: 177.1 MB / 205.4 MB, free: 5.465 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.927/1.927, allocations: 389.6 MB / 0.6362 GB, free: 12.31 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.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.593e-06/1.593e-06, allocations: 0 / 0.776 GB, free: 5.371 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.734e-05/1.894e-05, allocations: 2.969 kB / 0.776 GB, free: 5.367 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Average): time 0.002075/0.002094, allocations: 1.642 MB / 0.7776 GB, free: 3.742 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0005296/0.002623, allocations: 123.6 kB / 0.7777 GB, free: 3.621 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.366e-05/0.002667, allocations: 0 / 0.7777 GB, free: 3.621 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001085/0.002775, allocations: 12.95 kB / 0.7777 GB, free: 3.609 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 2.466e-05/0.0028, allocations: 6.844 kB / 0.7777 GB, free: 3.605 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001868/0.002987, allocations: 27.91 kB / 0.7777 GB, free: 3.578 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 8.587e-05/0.003073, allocations: 58.56 kB / 0.7778 GB, free: 3.531 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 8.091e-05/0.003153, allocations: 19.98 kB / 0.7778 GB, free: 3.512 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 6.22e-05/0.003216, allocations: 29.28 kB / 0.7778 GB, free: 3.484 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 5.929e-05/0.003275, allocations: 32.98 kB / 0.7779 GB, free: 3.457 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.695e-05/0.003292, allocations: 4.656 kB / 0.7779 GB, free: 3.453 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 6.545e-05/0.003357, allocations: 15.92 kB / 0.7779 GB, free: 3.438 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 3.16e-05/0.003389, allocations: 15.92 kB / 0.7779 GB, free: 3.422 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.371e-05/0.003413, allocations: 19.92 kB / 0.7779 GB, free: 3.402 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001001/0.003513, allocations: 51.81 kB / 0.778 GB, free: 3.352 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.563e-06/0.003514, allocations: 0 / 0.778 GB, free: 3.352 MB / 0.7292 GB Notification: Performance of FrontEnd: time 4.51e-07/0.003515, allocations: 0 / 0.778 GB, free: 3.352 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.076e-06/0.003518, allocations: 3.5 kB / 0.778 GB, free: 3.352 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.0002695/0.003787, allocations: 264.8 kB / 0.7782 GB, free: 3.066 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.927e-05/0.003817, allocations: 13.34 kB / 0.7782 GB, free: 3.055 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.546e-05/0.003842, allocations: 4.938 kB / 0.7782 GB, free: 3.051 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001127/0.003955, allocations: 129.6 kB / 0.7784 GB, free: 2.898 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.035e-06/0.003963, allocations: 384 / 0.7784 GB, free: 2.898 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.156e-06/0.003971, allocations: 4.375 kB / 0.7784 GB, free: 2.895 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001196/0.00409, allocations: 77.69 kB / 0.7784 GB, free: 2.809 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.004098, allocations: 3.719 kB / 0.7784 GB, free: 2.809 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-06/0.004106, allocations: 4.375 kB / 0.7785 GB, free: 2.805 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.004111, allocations: 4.375 kB / 0.7785 GB, free: 2.801 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.96e-05/0.004141, allocations: 15.88 kB / 0.7785 GB, free: 2.785 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002296/0.00437, allocations: 185.9 kB / 0.7786 GB, free: 2.586 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 4.536e-05/0.004416, allocations: 30.59 kB / 0.7787 GB, free: 2.547 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.425e-05/0.00443, allocations: 12.8 kB / 0.7787 GB, free: 2.531 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.535e-05/0.004455, allocations: 4.656 kB / 0.7787 GB, free: 2.527 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.978e-05/0.004475, allocations: 38.48 kB / 0.7787 GB, free: 2.48 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.004476, allocations: 3.906 kB / 0.7787 GB, free: 2.48 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.0001003/0.004576, allocations: 41.69 kB / 0.7788 GB, free: 2.434 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.438e-05/0.004601, allocations: 55.34 kB / 0.7788 GB, free: 2.367 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.224e-05/0.004653, allocations: 118.7 kB / 0.7789 GB, free: 2.238 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.855e-06/0.004661, allocations: 25.7 kB / 0.779 GB, free: 2.207 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.953e-05/0.00469, allocations: 92.08 kB / 0.7791 GB, free: 2.113 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.717e-05/0.004708, allocations: 15.88 kB / 0.7791 GB, free: 2.098 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.36e-05/0.004731, allocations: 13.72 kB / 0.7791 GB, free: 2.078 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.925e-05/0.0048, allocations: 322.8 kB / 0.7794 GB, free: 1.754 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.067e-05/0.004811, allocations: 4 kB / 0.7794 GB, free: 1.75 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.355e-06/0.004819, allocations: 2.844 kB / 0.7794 GB, free: 1.75 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.741e-05/0.004847, allocations: 19.67 kB / 0.7794 GB, free: 1.727 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-06/0.004849, allocations: 4 kB / 0.7794 GB, free: 1.723 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.587e-05/0.004895, allocations: 37.69 kB / 0.7795 GB, free: 1.68 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.004907, allocations: 15.88 kB / 0.7795 GB, free: 1.664 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.004911, allocations: 0 / 0.7795 GB, free: 1.664 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/0.004921, allocations: 0 / 0.7795 GB, free: 1.664 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.423e-05/0.004976, allocations: 8.969 kB / 0.7795 GB, free: 1.656 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.096e-06/0.004979, allocations: 3.984 kB / 0.7795 GB, free: 1.652 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.983e-05/0.004998, allocations: 4 kB / 0.7795 GB, free: 1.648 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.17e-05/0.00501, allocations: 1.156 kB / 0.7795 GB, free: 1.648 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 4.571e-05/0.005056, allocations: 112.7 kB / 0.7796 GB, free: 1.527 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.576e-05/0.005072, allocations: 8.781 kB / 0.7796 GB, free: 1.52 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.433e-05/0.005146, allocations: 54.61 kB / 0.7797 GB, free: 1.465 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.005148, allocations: 0 / 0.7797 GB, free: 1.465 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-06/0.005149, allocations: 0 / 0.7797 GB, free: 1.465 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.798e-06/0.005153, allocations: 4.484 kB / 0.7797 GB, free: 1.461 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.88e-05/0.005232, allocations: 78.72 kB / 0.7797 GB, free: 1.367 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.005233, allocations: 3.938 kB / 0.7797 GB, free: 1.363 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.535e-05/0.005268, allocations: 17.61 kB / 0.7798 GB, free: 1.348 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.00527, allocations: 0 / 0.7798 GB, free: 1.348 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.057e-06/0.005274, allocations: 4 kB / 0.7798 GB, free: 1.344 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.005276, allocations: 3.938 kB / 0.7798 GB, free: 1.34 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.005277, allocations: 0 / 0.7798 GB, free: 1.34 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.872e-05/0.005346, allocations: 136.2 kB / 0.7799 GB, free: 1.191 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.947e-06/0.005355, allocations: 4 kB / 0.7799 GB, free: 1.188 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.326e-06/0.005363, allocations: 5.781 kB / 0.7799 GB, free: 1.184 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.265e-05/0.005396, allocations: 7.938 kB / 0.7799 GB, free: 1.176 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.945e-05/0.005425, allocations: 7.984 kB / 0.7799 GB, free: 1.168 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.418e-06/0.005429, allocations: 0 / 0.7799 GB, free: 1.168 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.351e-05/0.005443, allocations: 18.12 kB / 0.7799 GB, free: 1.148 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.005443, allocations: 0 / 0.7799 GB, free: 1.148 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001159/0.005559, allocations: 12 kB / 0.7799 GB, free: 1.137 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 8.589e-05/0.005645, allocations: 85.72 kB / 0.78 GB, free: 1.047 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 7.195e-05/0.005717, allocations: 71.58 kB / 0.7801 GB, free: 0.9727 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.005719, allocations: 0.875 kB / 0.7801 GB, free: 0.9727 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.568e-05/0.005735, allocations: 8.859 kB / 0.7801 GB, free: 0.9609 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001178/0.005853, allocations: 7.859 kB / 0.7801 GB, free: 0.957 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000237/0.00609, allocations: 163.9 kB / 0.7803 GB, free: 0.7695 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.112e-05/0.006121, allocations: 59.3 kB / 0.7803 GB, free: 0.6914 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.341e-05/0.006144, allocations: 11.98 kB / 0.7803 GB, free: 0.6797 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.206e-05/0.006186, allocations: 52.62 kB / 0.7804 GB, free: 0.6289 MB / 0.7292 GB Notification: Performance of SimCode: time 9.02e-07/0.006187, allocations: 0 / 0.7804 GB, free: 0.6289 MB / 0.7292 GB Notification: Performance of Templates: time 0.002157/0.008344, allocations: 0.7758 MB / 0.7811 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 -lv LOG_STATS > Buildings_13_Buildings.Utilities.Math.Examples.Average.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.966289001516998]