Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.Average.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.Average") translateModel(Buildings.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.Average") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001615/0.001615, allocations: 106.9 kB / 16.36 MB, free: 6.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001665/0.001665, allocations: 189.2 kB / 17.29 MB, free: 5.875 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.711/1.711, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.846/1.846, allocations: 292.3 MB / 0.5496 GB, free: 17.45 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 71.19 kB / 0.6729 GB, free: 5.836 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2558/0.2572, allocations: 114.6 MB / 0.7848 GB, free: 3.16 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Average): time 0.002832/0.2601, allocations: 1.538 MB / 0.7863 GB, free: 1.609 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0003247/0.2604, allocations: 116.5 kB / 0.7864 GB, free: 1.492 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.293e-05/0.2605, allocations: 3.938 kB / 0.7864 GB, free: 1.488 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001259/0.2606, allocations: 11.92 kB / 0.7864 GB, free: 1.477 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 2.878e-05/0.2607, allocations: 7.938 kB / 0.7864 GB, free: 1.469 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002473/0.2609, allocations: 27.91 kB / 0.7864 GB, free: 1.441 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 9.301e-05/0.261, allocations: 43.91 kB / 0.7865 GB, free: 1.398 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000133/0.2612, allocations: 27.98 kB / 0.7865 GB, free: 1.371 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 5.649e-05/0.2612, allocations: 31.89 kB / 0.7865 GB, free: 1.34 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 7.417e-05/0.2613, allocations: 27.86 kB / 0.7866 GB, free: 1.312 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.694e-05/0.2613, allocations: 4 kB / 0.7866 GB, free: 1.309 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 6.003e-05/0.2614, allocations: 15.92 kB / 0.7866 GB, free: 1.293 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.682e-05/0.2614, allocations: 19.92 kB / 0.7866 GB, free: 1.273 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.416e-05/0.2615, allocations: 23.88 kB / 0.7866 GB, free: 1.25 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001286/0.2616, allocations: 59.8 kB / 0.7867 GB, free: 1.191 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.2616, allocations: 0 / 0.7867 GB, free: 1.191 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2616, allocations: 4 kB / 0.7867 GB, free: 1.188 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.015e-05/0.2617, allocations: 0 / 0.7867 GB, free: 1.188 MB / 0.6544 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.0005699/0.2622, allocations: 375.3 kB / 0.787 GB, free: 0.7695 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.2623, allocations: 12.03 kB / 0.7871 GB, free: 0.7578 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.767e-05/0.2623, allocations: 4.844 kB / 0.7871 GB, free: 0.7539 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001718/0.2625, allocations: 188.2 kB / 0.7872 GB, free: 0.5312 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.367e-06/0.2625, allocations: 4.375 kB / 0.7872 GB, free: 0.5273 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.465e-05/0.2625, allocations: 4.312 kB / 0.7872 GB, free: 0.5234 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002795/0.2628, allocations: 94.14 kB / 0.7873 GB, free: 436 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.2628, allocations: 192 / 0.7873 GB, free: 436 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.2629, allocations: 7.875 kB / 0.7873 GB, free: 428 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.2629, allocations: 4 kB / 0.7873 GB, free: 424 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003056/0.2632, allocations: 83.91 kB / 0.7874 GB, free: 340 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4937/0.7569, allocations: 324.6 kB / 0.7877 GB, free: 48.78 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003269/0.7573, allocations: 58.92 kB / 0.7878 GB, free: 48.76 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001519/0.7574, allocations: 43.17 kB / 0.7878 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 5.206e-05/0.7575, allocations: 2.625 kB / 0.7878 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.133e-05/0.7575, allocations: 33.22 kB / 0.7879 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 2.645e-06/0.7575, allocations: 0 / 0.7879 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.0005792/0.7581, allocations: 137.3 kB / 0.788 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.66e-05/0.7582, allocations: 54.03 kB / 0.7881 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001118/0.7583, allocations: 115.9 kB / 0.7882 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.339e-05/0.7583, allocations: 26.2 kB / 0.7882 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.416e-05/0.7584, allocations: 96.53 kB / 0.7883 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.489e-05/0.7584, allocations: 13.66 kB / 0.7883 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.845e-05/0.7584, allocations: 18.41 kB / 0.7883 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.036e-05/0.7585, allocations: 318.3 kB / 0.7886 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001432/0.7586, allocations: 37.92 kB / 0.7886 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001314/0.7588, allocations: 28.5 kB / 0.7887 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002595/0.759, allocations: 77.28 kB / 0.7887 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.7591, allocations: 1.906 kB / 0.7888 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000303/0.7594, allocations: 99.28 kB / 0.7888 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.7594, allocations: 7.25 kB / 0.7889 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.7594, allocations: 0.5312 kB / 0.7889 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.179e-05/0.7594, allocations: 2.062 kB / 0.7889 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001403/0.7596, allocations: 23.11 kB / 0.7889 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.7596, allocations: 0 / 0.7889 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.05e-05/0.7597, allocations: 15.39 kB / 0.7889 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.673e-05/0.7597, allocations: 7.375 kB / 0.7889 GB, free: 48.04 MB / 0.6544 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 7.517e-05/0.7598, allocations: 113.1 kB / 0.789 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.463e-05/0.7598, allocations: 3.688 kB / 0.789 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003743/0.7602, allocations: 117.5 kB / 0.7891 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.648e-06/0.7602, allocations: 0.9375 kB / 0.7891 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.7602, allocations: 6 kB / 0.7891 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.7602, allocations: 0 / 0.7891 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001572/0.7604, allocations: 178.6 kB / 0.7893 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.7604, allocations: 0.9062 kB / 0.7893 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.123e-05/0.7605, allocations: 19.53 kB / 0.7893 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.7605, allocations: 0 / 0.7893 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.919e-06/0.7605, allocations: 2.188 kB / 0.7893 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.083e-06/0.7605, allocations: 0 / 0.7893 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.7605, allocations: 0.75 kB / 0.7893 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000347/0.7609, allocations: 212.5 kB / 0.7895 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.48e-05/0.7609, allocations: 79.64 kB / 0.7896 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.711e-05/0.761, allocations: 6.969 kB / 0.7896 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.908e-05/0.7611, allocations: 10.84 kB / 0.7896 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.979e-05/0.7611, allocations: 6.094 kB / 0.7896 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-06/0.7611, allocations: 0 / 0.7896 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.173e-05/0.7612, allocations: 101.8 kB / 0.7897 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7612, allocations: 3.25 kB / 0.7897 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002229/0.7614, allocations: 10.78 kB / 0.7897 GB, free: 47.39 MB / 0.6544 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 0.0001524/0.7616, allocations: 99.47 kB / 0.7898 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003598/0.7619, allocations: 77.81 kB / 0.7899 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.7619, allocations: 0 / 0.7899 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001571/0.7621, allocations: 43.77 kB / 0.7899 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002989/0.7624, allocations: 9.562 kB / 0.79 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003713/0.7628, allocations: 182.3 kB / 0.7901 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001625/0.763, allocations: 0.6895 MB / 0.7908 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.991e-05/0.763, allocations: 10.06 kB / 0.7908 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of SimCode: time 2e-07/0.763, allocations: 0 / 0.7908 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of Templates: time 0.00254/0.7656, allocations: 0.931 MB / 0.7917 GB, free: 46.44 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.Average.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.Average.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.Average.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.Average.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.Average.pipe 2>&1)