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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 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(IBPSA.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Average") translateModel(IBPSA.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Average") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001805/0.001805, allocations: 112 kB / 17.33 MB, free: 5.023 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.001492/0.001492, allocations: 198.6 kB / 18.33 MB, free: 4.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.46/1.46, allocations: 225.6 MB / 244.8 MB, free: 13.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8909/0.8909, allocations: 128.4 MB / 426.1 MB, free: 7.203 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001978/0.001978, allocations: 70.41 kB / 0.5912 GB, free: 21.41 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1753/0.1772, allocations: 83.26 MB / 0.6725 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Average): time 0.002961/0.1802, allocations: 1.528 MB / 0.674 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003743/0.1806, allocations: 116.5 kB / 0.6741 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.909e-05/0.1806, allocations: 0 / 0.6741 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001315/0.1807, allocations: 11.86 kB / 0.6741 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.376e-05/0.1808, allocations: 3.938 kB / 0.6741 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002621/0.181, allocations: 31.95 kB / 0.6741 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001138/0.1811, allocations: 59.83 kB / 0.6742 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001339/0.1813, allocations: 27.84 kB / 0.6742 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.937e-05/0.1813, allocations: 27.91 kB / 0.6742 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.007e-05/0.1814, allocations: 23.91 kB / 0.6743 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.664e-05/0.1814, allocations: 4 kB / 0.6743 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.615e-05/0.1815, allocations: 12 kB / 0.6743 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.075e-05/0.1816, allocations: 23.91 kB / 0.6743 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.415e-05/0.1816, allocations: 23.86 kB / 0.6743 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000153/0.1818, allocations: 55.75 kB / 0.6744 GB, free: 1.895 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.1818, allocations: 0 / 0.6744 GB, free: 1.895 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.462e-06/0.1818, allocations: 0 / 0.6744 GB, free: 1.895 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.1818, allocations: 7.938 kB / 0.6744 GB, free: 1.887 MB / 0.4981 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.0006036/0.1824, allocations: 383.1 kB / 0.6747 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.1824, allocations: 12.03 kB / 0.6748 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.794e-05/0.1825, allocations: 8.891 kB / 0.6748 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000201/0.1827, allocations: 180.3 kB / 0.6749 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.1827, allocations: 4.375 kB / 0.6749 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.246e-05/0.1827, allocations: 8.375 kB / 0.6749 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002839/0.183, allocations: 94.12 kB / 0.675 GB, free: 1.117 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.183, allocations: 4.125 kB / 0.675 GB, free: 1.113 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.183, allocations: 3.938 kB / 0.675 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.183, allocations: 4 kB / 0.6751 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002955/0.1833, allocations: 75.92 kB / 0.6751 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005682/0.1839, allocations: 332.6 kB / 0.6754 GB, free: 0.6562 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002049/0.1841, allocations: 58.53 kB / 0.6755 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001561/0.1842, allocations: 40.91 kB / 0.6755 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.689e-05/0.1843, allocations: 4 kB / 0.6755 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.125e-05/0.1843, allocations: 30.56 kB / 0.6756 GB, free: 0.5039 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.1843, allocations: 0 / 0.6756 GB, free: 0.5039 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0005553/0.1849, allocations: 141.6 kB / 0.6757 GB, free: 368 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.202e-05/0.1849, allocations: 59.41 kB / 0.6758 GB, free: 296 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.68e-05/0.185, allocations: 113.8 kB / 0.6759 GB, free: 172 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.1851, allocations: 25.7 kB / 0.6759 GB, free: 140 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.421e-05/0.1851, allocations: 92.14 kB / 0.676 GB, free: 44 kB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.185e-05/0.1851, allocations: 11.89 kB / 0.676 GB, free: 32 kB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.494e-05/0.1852, allocations: 13.72 kB / 0.676 GB, free: 12 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001559/0.1853, allocations: 318.8 kB / 0.6763 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000146/0.1855, allocations: 39.95 kB / 0.6763 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001356/0.1856, allocations: 39.91 kB / 0.6764 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002711/0.1859, allocations: 72.77 kB / 0.6765 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1859, allocations: 4 kB / 0.6765 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003211/0.1862, allocations: 109.5 kB / 0.6766 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.1862, allocations: 4 kB / 0.6766 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.1862, allocations: 0 / 0.6766 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.1862, allocations: 0 / 0.6766 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001434/0.1864, allocations: 19.97 kB / 0.6766 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.1864, allocations: 0 / 0.6766 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.056e-05/0.1865, allocations: 19.92 kB / 0.6766 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.76e-05/0.1865, allocations: 0 / 0.6766 GB, free: 15.38 MB / 0.5137 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 9.459e-05/0.1866, allocations: 117.8 kB / 0.6767 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.651e-05/0.1866, allocations: 4 kB / 0.6767 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003837/0.187, allocations: 121.8 kB / 0.6768 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.187, allocations: 4 kB / 0.6768 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.187, allocations: 0 / 0.6768 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.187, allocations: 0 / 0.6768 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002093/0.1872, allocations: 181.6 kB / 0.677 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.1872, allocations: 3.938 kB / 0.677 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001002/0.1873, allocations: 15.98 kB / 0.677 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.1873, allocations: 3.984 kB / 0.677 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.273e-06/0.1873, allocations: 0 / 0.677 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1873, allocations: 0 / 0.677 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1873, allocations: 4 kB / 0.677 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003833/0.1877, allocations: 199.4 kB / 0.6772 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.63e-05/0.1878, allocations: 89.05 kB / 0.6773 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.614e-05/0.1878, allocations: 0 / 0.6773 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.1879, allocations: 11.98 kB / 0.6773 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.92e-05/0.1879, allocations: 7.938 kB / 0.6773 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.416e-06/0.188, allocations: 3.984 kB / 0.6773 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.891e-05/0.188, allocations: 91.28 kB / 0.6774 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7.1e-08/0.188, allocations: 0 / 0.6774 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002346/0.1883, allocations: 12 kB / 0.6774 GB, free: 14.42 MB / 0.5137 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.0001615/0.1884, allocations: 107.1 kB / 0.6775 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003733/0.1888, allocations: 75.92 kB / 0.6776 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1888, allocations: 0 / 0.6776 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001467/0.1889, allocations: 35.95 kB / 0.6776 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003164/0.1893, allocations: 15.72 kB / 0.6777 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003922/0.1896, allocations: 158.7 kB / 0.6778 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003453/0.19, allocations: 0.6885 MB / 0.6785 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 5.502e-05/0.19, allocations: 11.98 kB / 0.6785 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.102e-05/0.1901, allocations: 11.44 kB / 0.6785 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of SimCode: time 2.91e-07/0.1901, allocations: 0 / 0.6785 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of Templates: time 0.003605/0.1937, allocations: 0.7787 MB / 0.6793 GB, free: 12.49 MB / 0.5137 GB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Average.makefile [Timeout 660] (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) [Timeout 480]