Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.Average.conf.json 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/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Average") translateModel(IBPSA.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Average") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 181.6 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5692/0.5692, allocations: 91.99 MB / 108.5 MB, free: 13.07 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.553/1.553, allocations: 223.2 MB / 354.3 MB, free: 10.43 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001175/0.001175, allocations: 100.3 kB / 427.4 MB, free: 2.113 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003345/0.0003345, allocations: 12 kB / 0.4982 GB, free: 42.05 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.152, allocations: 72.31 MB / 0.5689 GB, free: 1.68 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4563/0.6083, allocations: 101.7 MB / 0.6682 GB, free: 2.656 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002643/0.6086, allocations: 71.97 kB / 0.6683 GB, free: 2.586 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00385/0.6125, allocations: 1.138 MB / 0.6694 GB, free: 1.453 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.965e-06/0.6125, allocations: 4 kB / 0.6694 GB, free: 1.449 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.093e-05/0.6125, allocations: 2.188 kB / 0.6694 GB, free: 1.449 MB / 458.7 MB 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.0005327/0.6131, allocations: 383.8 kB / 0.6698 GB, free: 1.027 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.6131, allocations: 8.031 kB / 0.6698 GB, free: 1.02 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.474e-05/0.6132, allocations: 11.86 kB / 0.6698 GB, free: 1.008 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002139/0.6134, allocations: 183.5 kB / 0.67 GB, free: 0.7891 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.6134, allocations: 0 / 0.67 GB, free: 0.7891 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.202e-05/0.6134, allocations: 9.438 kB / 0.67 GB, free: 0.7812 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003201/0.6138, allocations: 109.5 kB / 0.6701 GB, free: 0.668 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.6138, allocations: 0 / 0.6701 GB, free: 0.668 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/0.6138, allocations: 0 / 0.6701 GB, free: 0.668 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.6138, allocations: 0 / 0.6701 GB, free: 0.668 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003273/0.6142, allocations: 103.9 kB / 0.6702 GB, free: 0.5664 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006127/0.6148, allocations: 336.7 kB / 0.6705 GB, free: 192 kB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002123/0.615, allocations: 70.53 kB / 0.6706 GB, free: 112 kB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.127e-05/0.6151, allocations: 8.078 kB / 0.6706 GB, free: 104 kB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/0.6151, allocations: 34.52 kB / 0.6706 GB, free: 60 kB / 458.7 MB Notification: Performance of pre-optimization done (n=3): time 2.455e-06/0.6151, allocations: 3.984 kB / 0.6706 GB, free: 56 kB / 458.7 MB Notification: Performance of matching and sorting (n=3): time 0.0005926/0.6157, allocations: 177.5 kB / 0.6708 GB, free: 15.88 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.641e-05/0.6157, allocations: 55.41 kB / 0.6708 GB, free: 15.81 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.554e-05/0.6158, allocations: 107.9 kB / 0.6709 GB, free: 15.7 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.567e-05/0.6159, allocations: 25.7 kB / 0.6709 GB, free: 15.67 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.086e-05/0.6159, allocations: 92.08 kB / 0.671 GB, free: 15.57 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.403e-05/0.616, allocations: 15.8 kB / 0.6711 GB, free: 15.56 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.038e-06/0.616, allocations: 0 / 0.6711 GB, free: 15.56 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001173/0.6161, allocations: 314.8 kB / 0.6714 GB, free: 15.24 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001557/0.6163, allocations: 47.95 kB / 0.6714 GB, free: 15.2 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001435/0.6164, allocations: 43.97 kB / 0.6714 GB, free: 15.15 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001523/0.6166, allocations: 43.95 kB / 0.6715 GB, free: 15.11 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.6166, allocations: 4 kB / 0.6715 GB, free: 15.11 MB / 474.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003638/0.617, allocations: 121.6 kB / 0.6716 GB, free: 14.98 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.617, allocations: 7.984 kB / 0.6716 GB, free: 14.97 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.617, allocations: 7.953 kB / 0.6716 GB, free: 14.96 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.617, allocations: 4 kB / 0.6716 GB, free: 14.96 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001612/0.6172, allocations: 23.98 kB / 0.6716 GB, free: 14.94 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.6172, allocations: 0 / 0.6716 GB, free: 14.94 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.094e-05/0.6173, allocations: 15.98 kB / 0.6717 GB, free: 14.92 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.024e-05/0.6173, allocations: 5 kB / 0.6717 GB, free: 14.92 MB / 474.7 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.558e-05/0.6174, allocations: 121.8 kB / 0.6718 GB, free: 14.79 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.645e-05/0.6175, allocations: 7.906 kB / 0.6718 GB, free: 14.78 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003859/0.6178, allocations: 133.5 kB / 0.6719 GB, free: 14.64 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.6179, allocations: 3.953 kB / 0.6719 GB, free: 14.64 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.6179, allocations: 0 / 0.6719 GB, free: 14.64 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.6179, allocations: 3.984 kB / 0.6719 GB, free: 14.63 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001706/0.6181, allocations: 173.7 kB / 0.6721 GB, free: 14.41 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.6181, allocations: 4.859 kB / 0.6721 GB, free: 14.41 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001138/0.6182, allocations: 23.98 kB / 0.6721 GB, free: 14.39 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.6182, allocations: 0 / 0.6721 GB, free: 14.39 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.6182, allocations: 7.938 kB / 0.6721 GB, free: 14.38 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.6182, allocations: 0 / 0.6721 GB, free: 14.38 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.6182, allocations: 7.953 kB / 0.6721 GB, free: 14.37 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000371/0.6186, allocations: 219.4 kB / 0.6723 GB, free: 14.14 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.702e-05/0.6186, allocations: 81.11 kB / 0.6724 GB, free: 14.04 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.531e-05/0.6187, allocations: 0 / 0.6724 GB, free: 14.04 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001106/0.6188, allocations: 19.98 kB / 0.6724 GB, free: 14.02 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.396e-05/0.6188, allocations: 11.94 kB / 0.6724 GB, free: 14.01 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.556e-06/0.6189, allocations: 0 / 0.6724 GB, free: 14.01 MB / 474.7 MB Notification: Performance of sorting global known variables: time 5.982e-05/0.6189, allocations: 95.2 kB / 0.6725 GB, free: 13.92 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.6189, allocations: 0 / 0.6725 GB, free: 13.92 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002188/0.6192, allocations: 19.84 kB / 0.6726 GB, free: 13.9 MB / 474.7 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001435/0.6193, allocations: 103.2 kB / 0.6727 GB, free: 13.79 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0003523/0.6197, allocations: 96.33 kB / 0.6727 GB, free: 13.7 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.6197, allocations: 0 / 0.6727 GB, free: 13.7 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001676/0.6198, allocations: 47.97 kB / 0.6728 GB, free: 13.65 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001664/0.62, allocations: 4 kB / 0.6728 GB, free: 13.64 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003417/0.6204, allocations: 169.7 kB / 0.673 GB, free: 13.45 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002673/0.6207, allocations: 0.6926 MB / 0.6736 GB, free: 12.73 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 5.499e-05/0.6207, allocations: 11.98 kB / 0.6736 GB, free: 12.72 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.577e-05/0.6207, allocations: 15.44 kB / 0.6737 GB, free: 12.7 MB / 474.7 MB Notification: Performance of SimCode: time 2.41e-07/0.6208, allocations: 0 / 0.6737 GB, free: 12.7 MB / 474.7 MB Notification: Performance of Templates: time 0.002469/0.6232, allocations: 0.6013 MB / 0.6742 GB, free: 12.11 MB / 474.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Average.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Average.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.Average.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.Average.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.Average.pipe 2>&1)