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.001531/0.001531, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.001675/0.001675, allocations: 161 kB / 24.17 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 0.9726/0.9726, allocations: 177.1 MB / 204.6 MB, free: 5.492 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.995/1.995, allocations: 389.6 MB / 0.6354 GB, free: 12.33 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.563e-06/1.563e-06, allocations: 0 / 0.7752 GB, free: 5.43 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.41e-05/2.566e-05, allocations: 4.203 kB / 0.7752 GB, free: 5.426 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Average): time 0.002872/0.002898, allocations: 1.592 MB / 0.7767 GB, free: 3.844 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0003622/0.00326, allocations: 119.6 kB / 0.7768 GB, free: 3.727 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.015e-05/0.00331, allocations: 4.594 kB / 0.7768 GB, free: 3.723 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001304/0.003441, allocations: 16.69 kB / 0.7769 GB, free: 3.707 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 3.31e-05/0.003474, allocations: 3.875 kB / 0.7769 GB, free: 3.707 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002577/0.003732, allocations: 31.31 kB / 0.7769 GB, free: 3.68 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001091/0.003841, allocations: 58.23 kB / 0.7769 GB, free: 3.633 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 9.508e-05/0.003936, allocations: 19.98 kB / 0.777 GB, free: 3.613 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 7.673e-05/0.004013, allocations: 33.83 kB / 0.777 GB, free: 3.582 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 6.617e-05/0.004079, allocations: 23.91 kB / 0.777 GB, free: 3.559 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.004097, allocations: 4 kB / 0.777 GB, free: 3.555 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 6.719e-05/0.004164, allocations: 23.91 kB / 0.777 GB, free: 3.531 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 3.865e-05/0.004203, allocations: 11.94 kB / 0.7771 GB, free: 3.52 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.603e-05/0.004229, allocations: 11.98 kB / 0.7771 GB, free: 3.508 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001244/0.004354, allocations: 55.16 kB / 0.7771 GB, free: 3.457 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.004355, allocations: 0 / 0.7771 GB, free: 3.457 MB / 0.7292 GB Notification: Performance of FrontEnd: time 9.51e-07/0.004356, allocations: 3.938 kB / 0.7771 GB, free: 3.453 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.126e-06/0.004359, allocations: 0 / 0.7771 GB, free: 3.453 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.0003002/0.00466, allocations: 268.7 kB / 0.7774 GB, free: 3.164 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.004693, allocations: 13.34 kB / 0.7774 GB, free: 3.152 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.709e-05/0.00472, allocations: 8.938 kB / 0.7774 GB, free: 3.145 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001143/0.004834, allocations: 121.7 kB / 0.7775 GB, free: 3 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.292e-06/0.00484, allocations: 1.531 kB / 0.7775 GB, free: 3 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.908e-06/0.00485, allocations: 8.375 kB / 0.7775 GB, free: 2.992 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001526/0.005003, allocations: 78.59 kB / 0.7776 GB, free: 2.906 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.005011, allocations: 192 / 0.7776 GB, free: 2.906 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.005021, allocations: 4.375 kB / 0.7776 GB, free: 2.902 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.005027, allocations: 0.9688 kB / 0.7776 GB, free: 2.902 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.836e-05/0.005066, allocations: 11.94 kB / 0.7776 GB, free: 2.891 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003035/0.005369, allocations: 194.9 kB / 0.7778 GB, free: 2.684 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.718e-05/0.005426, allocations: 28.03 kB / 0.7778 GB, free: 2.648 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.738e-05/0.005444, allocations: 4.859 kB / 0.7778 GB, free: 2.641 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.892e-05/0.005472, allocations: 8.078 kB / 0.7778 GB, free: 2.633 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.107e-05/0.005494, allocations: 39.12 kB / 0.7779 GB, free: 2.586 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 1.422e-06/0.005495, allocations: 0 / 0.7779 GB, free: 2.586 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.0001079/0.005603, allocations: 46.55 kB / 0.7779 GB, free: 2.535 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.204e-05/0.005635, allocations: 51.41 kB / 0.778 GB, free: 2.473 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.981e-05/0.005695, allocations: 119.9 kB / 0.7781 GB, free: 2.344 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.578e-06/0.005704, allocations: 25.7 kB / 0.7781 GB, free: 2.312 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.288e-05/0.005737, allocations: 88.08 kB / 0.7782 GB, free: 2.223 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/0.005756, allocations: 20.78 kB / 0.7782 GB, free: 2.203 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.557e-05/0.005781, allocations: 17.66 kB / 0.7782 GB, free: 2.18 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.719e-05/0.005859, allocations: 319.3 kB / 0.7785 GB, free: 1.859 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.203e-05/0.005871, allocations: 4 kB / 0.7785 GB, free: 1.855 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.018e-05/0.005881, allocations: 4.562 kB / 0.7785 GB, free: 1.852 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.5e-05/0.005916, allocations: 21.36 kB / 0.7786 GB, free: 1.828 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.005917, allocations: 0 / 0.7786 GB, free: 1.828 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.305e-05/0.00597, allocations: 41.62 kB / 0.7786 GB, free: 1.781 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.005984, allocations: 11.94 kB / 0.7786 GB, free: 1.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.005988, allocations: 0 / 0.7786 GB, free: 1.77 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.005998, allocations: 0.6875 kB / 0.7786 GB, free: 1.77 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.54e-05/0.006064, allocations: 12.92 kB / 0.7786 GB, free: 1.758 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.116e-06/0.006067, allocations: 0 / 0.7786 GB, free: 1.758 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.199e-05/0.006089, allocations: 5.781 kB / 0.7786 GB, free: 1.754 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.451e-05/0.006103, allocations: 4 kB / 0.7786 GB, free: 1.75 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.475e-05/0.006158, allocations: 112.7 kB / 0.7787 GB, free: 1.629 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.039e-05/0.006179, allocations: 7.922 kB / 0.7788 GB, free: 1.621 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.532e-05/0.006264, allocations: 57.62 kB / 0.7788 GB, free: 1.559 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.006265, allocations: 0.5625 kB / 0.7788 GB, free: 1.559 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.006268, allocations: 5.578 kB / 0.7788 GB, free: 1.555 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.006271, allocations: 0 / 0.7788 GB, free: 1.555 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.95e-05/0.00636, allocations: 73.84 kB / 0.7789 GB, free: 1.465 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.006362, allocations: 3.984 kB / 0.7789 GB, free: 1.461 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.367e-05/0.006396, allocations: 8.812 kB / 0.7789 GB, free: 1.453 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.006397, allocations: 0 / 0.7789 GB, free: 1.453 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.32e-06/0.006403, allocations: 4.875 kB / 0.7789 GB, free: 1.449 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.006404, allocations: 3.938 kB / 0.7789 GB, free: 1.445 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.006405, allocations: 0 / 0.7789 GB, free: 1.445 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.422e-05/0.006479, allocations: 140.1 kB / 0.779 GB, free: 1.293 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.013e-06/0.006486, allocations: 4.781 kB / 0.779 GB, free: 1.289 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.818e-06/0.006496, allocations: 7.938 kB / 0.779 GB, free: 1.281 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.525e-05/0.006532, allocations: 9.031 kB / 0.7791 GB, free: 1.273 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.717e-05/0.006559, allocations: 3.984 kB / 0.7791 GB, free: 1.27 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-06/0.006565, allocations: 0 / 0.7791 GB, free: 1.27 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.69e-05/0.006582, allocations: 26.62 kB / 0.7791 GB, free: 1.242 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4e-08/0.006582, allocations: 0 / 0.7791 GB, free: 1.242 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001255/0.006707, allocations: 16 kB / 0.7791 GB, free: 1.227 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.329e-05/0.0068, allocations: 81.38 kB / 0.7792 GB, free: 1.141 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 6.718e-05/0.006868, allocations: 67.58 kB / 0.7792 GB, free: 1.07 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.00687, allocations: 1.062 kB / 0.7792 GB, free: 1.07 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.864e-05/0.006888, allocations: 13.12 kB / 0.7793 GB, free: 1.055 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001272/0.007015, allocations: 8.5 kB / 0.7793 GB, free: 1.047 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002435/0.007259, allocations: 159.1 kB / 0.7794 GB, free: 0.8633 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.469e-05/0.007294, allocations: 60.03 kB / 0.7795 GB, free: 0.7852 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.107e-05/0.007315, allocations: 5 kB / 0.7795 GB, free: 0.7812 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.365e-05/0.007358, allocations: 51.38 kB / 0.7795 GB, free: 0.7305 MB / 0.7292 GB Notification: Performance of SimCode: time 6.91e-07/0.007359, allocations: 0.9375 kB / 0.7795 GB, free: 0.7305 MB / 0.7292 GB Notification: Performance of Templates: time 0.002266/0.009625, allocations: 0.7674 MB / 0.7803 GB, free: 4 kB / 0.7292 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.993975896853954]