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.001448/0.001448, allocations: 107.2 kB / 15.99 MB, free: 6.348 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.001625/0.001625, allocations: 189.2 kB / 16.91 MB, free: 6.184 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.423/1.423, allocations: 205.1 MB / 222.8 MB, free: 4.691 MB / 174.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.746/1.746, allocations: 292.3 MB / 0.5492 GB, free: 13.62 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.001331/0.001332, allocations: 72.05 kB / 0.6716 GB, free: 26.39 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.229/0.2303, allocations: 114.5 MB / 0.7835 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Average): time 0.003339/0.2337, allocations: 1.591 MB / 0.7851 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003774/0.2341, allocations: 121.5 kB / 0.7852 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.784e-05/0.2342, allocations: 4 kB / 0.7852 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001424/0.2343, allocations: 11.92 kB / 0.7852 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.586e-05/0.2344, allocations: 3.938 kB / 0.7852 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002592/0.2347, allocations: 23.98 kB / 0.7852 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001071/0.2348, allocations: 55.83 kB / 0.7853 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000141/0.2349, allocations: 27.98 kB / 0.7853 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.394e-05/0.235, allocations: 23.92 kB / 0.7853 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.856e-05/0.2351, allocations: 31.84 kB / 0.7854 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.394e-05/0.2351, allocations: 4 kB / 0.7854 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.89e-05/0.2352, allocations: 11.98 kB / 0.7854 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.092e-05/0.2353, allocations: 12 kB / 0.7854 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.357e-05/0.2353, allocations: 31.78 kB / 0.7854 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001149/0.2355, allocations: 35.94 kB / 0.7854 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.2355, allocations: 4 kB / 0.7854 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.493e-06/0.2355, allocations: 4 kB / 0.7855 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.12e-06/0.2355, allocations: 0 / 0.7855 GB, free: 11.89 MB / 0.6075 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.0005691/0.2361, allocations: 379.6 kB / 0.7858 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.2361, allocations: 12.03 kB / 0.7858 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.852e-05/0.2362, allocations: 4.844 kB / 0.7858 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001721/0.2363, allocations: 180.2 kB / 0.786 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/0.2364, allocations: 8.375 kB / 0.786 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.757e-05/0.2364, allocations: 12.25 kB / 0.786 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003/0.2367, allocations: 86.2 kB / 0.7861 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.2367, allocations: 192 / 0.7861 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.796e-05/0.2367, allocations: 7.922 kB / 0.7861 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.2367, allocations: 0 / 0.7861 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003083/0.2371, allocations: 83.86 kB / 0.7862 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005651/0.2376, allocations: 332.6 kB / 0.7865 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002687/0.2379, allocations: 62.53 kB / 0.7866 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001499/0.2381, allocations: 40.91 kB / 0.7866 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.832e-05/0.2381, allocations: 0 / 0.7866 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.291e-05/0.2382, allocations: 34.59 kB / 0.7866 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.2382, allocations: 0 / 0.7866 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0005624/0.2387, allocations: 141.6 kB / 0.7868 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.816e-05/0.2388, allocations: 51.41 kB / 0.7868 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.762e-05/0.2389, allocations: 117.8 kB / 0.7869 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.473e-05/0.2389, allocations: 25.7 kB / 0.787 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.562e-05/0.239, allocations: 95.98 kB / 0.7871 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.145e-05/0.239, allocations: 3.906 kB / 0.7871 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.496e-05/0.2391, allocations: 25.7 kB / 0.7871 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.2392, allocations: 314.8 kB / 0.7874 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001483/0.2394, allocations: 35.95 kB / 0.7874 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001408/0.2395, allocations: 39.91 kB / 0.7875 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002642/0.2398, allocations: 73.06 kB / 0.7875 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.2398, allocations: 0 / 0.7875 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003197/0.2401, allocations: 109.5 kB / 0.7876 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.2401, allocations: 4 kB / 0.7876 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.2401, allocations: 0 / 0.7876 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.2402, allocations: 0 / 0.7876 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000133/0.2403, allocations: 23.97 kB / 0.7877 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.2403, allocations: 0 / 0.7877 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.896e-05/0.2404, allocations: 15.98 kB / 0.7877 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.211e-05/0.2404, allocations: 0 / 0.7877 GB, free: 9.395 MB / 0.6075 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 8.986e-05/0.2405, allocations: 121.7 kB / 0.7878 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.827e-05/0.2406, allocations: 7.906 kB / 0.7878 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003762/0.2409, allocations: 117.5 kB / 0.7879 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.241, allocations: 4 kB / 0.7879 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.241, allocations: 0 / 0.7879 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.241, allocations: 0 / 0.7879 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001881/0.2412, allocations: 181.6 kB / 0.7881 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.2412, allocations: 0 / 0.7881 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.548e-05/0.2413, allocations: 15.98 kB / 0.7881 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.2413, allocations: 0 / 0.7881 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.287e-06/0.2413, allocations: 4 kB / 0.7881 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.2413, allocations: 3.984 kB / 0.7881 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2413, allocations: 0 / 0.7881 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003663/0.2417, allocations: 199.4 kB / 0.7883 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.655e-05/0.2417, allocations: 92.94 kB / 0.7884 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.559e-05/0.2418, allocations: 7.938 kB / 0.7884 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.2419, allocations: 11.98 kB / 0.7884 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.773e-05/0.2419, allocations: 4 kB / 0.7884 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-06/0.2419, allocations: 0 / 0.7884 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.818e-05/0.242, allocations: 99.64 kB / 0.7885 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.242, allocations: 0 / 0.7885 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002297/0.2423, allocations: 8 kB / 0.7885 GB, free: 8.426 MB / 0.6075 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.0001628/0.2424, allocations: 107.2 kB / 0.7886 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003508/0.2428, allocations: 79.86 kB / 0.7887 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.2428, allocations: 0 / 0.7887 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001527/0.2429, allocations: 39.95 kB / 0.7887 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003372/0.2433, allocations: 12 kB / 0.7887 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004023/0.2437, allocations: 191.2 kB / 0.7889 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002955/0.244, allocations: 0.6885 MB / 0.7896 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.127e-05/0.244, allocations: 7.438 kB / 0.7896 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of SimCode: time 2.044e-06/0.2441, allocations: 8 kB / 0.7896 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of Templates: time 0.002783/0.2468, allocations: 0.9423 MB / 0.7905 GB, free: 6.293 MB / 0.6075 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)