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.001387/0.001387, allocations: 102.2 kB / 16.27 MB, free: 6.418 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.001415/0.001415, allocations: 189.3 kB / 17.2 MB, free: 5.953 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.544/1.544, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.798/1.798, allocations: 292.3 MB / 0.5495 GB, free: 17.46 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.002303/0.002303, allocations: 67.91 kB / 0.6721 GB, free: 6.535 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2992/0.3015, allocations: 114.6 MB / 0.784 GB, free: 3.863 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Average): time 0.003107/0.3047, allocations: 1.526 MB / 0.7855 GB, free: 2.32 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0003468/0.305, allocations: 112.5 kB / 0.7856 GB, free: 2.207 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.186e-05/0.3051, allocations: 0 / 0.7856 GB, free: 2.207 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001365/0.3053, allocations: 11.86 kB / 0.7856 GB, free: 2.195 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 2.981e-05/0.3053, allocations: 11.94 kB / 0.7856 GB, free: 2.184 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000274/0.3056, allocations: 35.91 kB / 0.7857 GB, free: 2.148 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 9.856e-05/0.3057, allocations: 47.84 kB / 0.7857 GB, free: 2.102 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001455/0.3058, allocations: 31.97 kB / 0.7858 GB, free: 2.07 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 5.925e-05/0.3059, allocations: 23.92 kB / 0.7858 GB, free: 2.047 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 7.271e-05/0.306, allocations: 31.84 kB / 0.7858 GB, free: 2.016 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.535e-05/0.306, allocations: 4 kB / 0.7858 GB, free: 2.012 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 6.364e-05/0.3061, allocations: 8 kB / 0.7858 GB, free: 2.004 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.52e-05/0.3061, allocations: 15.98 kB / 0.7858 GB, free: 1.988 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.725e-05/0.3062, allocations: 31.8 kB / 0.7859 GB, free: 1.957 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001391/0.3063, allocations: 59.8 kB / 0.7859 GB, free: 1.898 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3064, allocations: 0 / 0.7859 GB, free: 1.898 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.974e-06/0.3064, allocations: 0 / 0.7859 GB, free: 1.898 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.511e-06/0.3064, allocations: 0 / 0.7859 GB, free: 1.898 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.000609/0.307, allocations: 383.5 kB / 0.7863 GB, free: 1.473 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.307, allocations: 12.03 kB / 0.7863 GB, free: 1.461 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.345e-05/0.3071, allocations: 4.844 kB / 0.7863 GB, free: 1.457 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001989/0.3073, allocations: 180.2 kB / 0.7865 GB, free: 1.242 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.3073, allocations: 8.375 kB / 0.7865 GB, free: 1.234 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.149e-05/0.3073, allocations: 384 / 0.7865 GB, free: 1.234 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002979/0.3076, allocations: 98.06 kB / 0.7866 GB, free: 1.133 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.437e-06/0.3077, allocations: 4.188 kB / 0.7866 GB, free: 1.129 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.3077, allocations: 3.938 kB / 0.7866 GB, free: 1.125 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.625e-06/0.3077, allocations: 4 kB / 0.7866 GB, free: 1.121 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003019/0.308, allocations: 75.92 kB / 0.7867 GB, free: 1.047 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005616/0.3086, allocations: 328.6 kB / 0.787 GB, free: 0.6758 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002079/0.3088, allocations: 58.53 kB / 0.787 GB, free: 0.6094 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001506/0.3089, allocations: 40.91 kB / 0.7871 GB, free: 0.5664 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.649e-05/0.309, allocations: 4 kB / 0.7871 GB, free: 0.5625 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.746e-05/0.309, allocations: 38.55 kB / 0.7871 GB, free: 0.5156 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.309, allocations: 0 / 0.7871 GB, free: 0.5156 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.0005595/0.3096, allocations: 137.6 kB / 0.7872 GB, free: 384 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.401e-05/0.3096, allocations: 55.41 kB / 0.7873 GB, free: 316 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.757e-05/0.3097, allocations: 125.7 kB / 0.7874 GB, free: 180 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.3098, allocations: 25.7 kB / 0.7874 GB, free: 148 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.584e-05/0.3098, allocations: 95.98 kB / 0.7875 GB, free: 48 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.262e-05/0.3099, allocations: 7.891 kB / 0.7875 GB, free: 40 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.925e-05/0.3099, allocations: 21.7 kB / 0.7876 GB, free: 12 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.5283/0.8382, allocations: 318 kB / 0.7879 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002377/0.8385, allocations: 31.08 kB / 0.7879 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001468/0.8387, allocations: 40.66 kB / 0.7879 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002737/0.839, allocations: 70.55 kB / 0.788 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.839, allocations: 2.594 kB / 0.788 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000343/0.8393, allocations: 110 kB / 0.7881 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.8394, allocations: 6.156 kB / 0.7881 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/0.8394, allocations: 0 / 0.7881 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.431e-05/0.8394, allocations: 0 / 0.7881 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001354/0.8395, allocations: 17.22 kB / 0.7881 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/0.8396, allocations: 0.9375 kB / 0.7881 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.832e-05/0.8396, allocations: 8.531 kB / 0.7881 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.299e-05/0.8397, allocations: 6.312 kB / 0.7881 GB, free: 48.39 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.879e-05/0.8398, allocations: 118.9 kB / 0.7883 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.129e-05/0.8398, allocations: 7.062 kB / 0.7883 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000356/0.8402, allocations: 114.4 kB / 0.7884 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.8402, allocations: 2.625 kB / 0.7884 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.8402, allocations: 3.938 kB / 0.7884 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.8402, allocations: 1.25 kB / 0.7884 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001531/0.8403, allocations: 181.5 kB / 0.7886 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.8404, allocations: 0 / 0.7886 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.705e-05/0.8405, allocations: 19.3 kB / 0.7886 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.8405, allocations: 0 / 0.7886 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.8405, allocations: 3.234 kB / 0.7886 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.8405, allocations: 0 / 0.7886 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.8405, allocations: 5.156 kB / 0.7886 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003233/0.8408, allocations: 196.6 kB / 0.7888 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.309e-05/0.8408, allocations: 86.19 kB / 0.7888 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.663e-05/0.8409, allocations: 2.688 kB / 0.7888 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.841, allocations: 16.7 kB / 0.7889 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.706e-05/0.841, allocations: 13.23 kB / 0.7889 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.193e-06/0.841, allocations: 3.281 kB / 0.7889 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.904e-05/0.8411, allocations: 92.66 kB / 0.789 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8411, allocations: 3.281 kB / 0.789 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002303/0.8413, allocations: 13.16 kB / 0.789 GB, free: 47.74 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.0001438/0.8415, allocations: 95 kB / 0.7891 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003468/0.8418, allocations: 80.42 kB / 0.7892 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.8418, allocations: 0.5 kB / 0.7892 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001448/0.842, allocations: 45.17 kB / 0.7892 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003312/0.8423, allocations: 6.781 kB / 0.7892 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003515/0.8427, allocations: 168.9 kB / 0.7894 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001358/0.8429, allocations: 0.6891 MB / 0.79 GB, free: 46.82 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.08e-05/0.8429, allocations: 11.22 kB / 0.79 GB, free: 46.82 MB / 0.6544 GB Notification: Performance of SimCode: time 3.31e-07/0.8429, allocations: 0.875 kB / 0.79 GB, free: 46.82 MB / 0.6544 GB Notification: Performance of Templates: time 0.002318/0.8452, allocations: 0.9364 MB / 0.791 GB, free: 46.81 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)