Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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) 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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.001112/0.001112, allocations: 99.39 kB / 15.05 MB, free: 1.105 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.001405/0.001405, allocations: 177.3 kB / 15.94 MB, free: 220 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.044/1.044, allocations: 143.3 MB / 434.3 MB, free: 13.61 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003093/0.0003093, allocations: 8 kB / 0.5158 GB, free: 11.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1763/0.1767, allocations: 83.41 MB / 0.5973 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Average): time 0.001477/0.1782, allocations: 1.237 MB / 0.5985 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002559/0.1785, allocations: 116.5 kB / 0.5986 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.542e-05/0.1785, allocations: 4 kB / 0.5986 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.329e-05/0.1786, allocations: 3.984 kB / 0.5986 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.333e-05/0.1786, allocations: 11.92 kB / 0.5986 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001558/0.1788, allocations: 15.98 kB / 0.5986 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.984e-05/0.1789, allocations: 35.94 kB / 0.5987 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.733e-05/0.179, allocations: 23.98 kB / 0.5987 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.675e-05/0.179, allocations: 19.92 kB / 0.5987 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.27e-05/0.1791, allocations: 23.84 kB / 0.5987 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.191e-05/0.1791, allocations: 4 kB / 0.5987 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.24e-05/0.1792, allocations: 4 kB / 0.5987 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.064e-05/0.1792, allocations: 11.98 kB / 0.5987 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.729e-05/0.1792, allocations: 37.64 kB / 0.5988 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.224e-05/0.1793, allocations: 43.86 kB / 0.5988 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.874e-06/0.1793, allocations: 4 kB / 0.5988 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.142e-06/0.1793, allocations: 0 / 0.5988 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.633e-06/0.1793, allocations: 0 / 0.5988 GB, free: 6.195 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.0004521/0.1798, allocations: 379.4 kB / 0.5992 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.879e-05/0.1798, allocations: 12.03 kB / 0.5992 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.205e-05/0.1799, allocations: 7.953 kB / 0.5992 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00015/0.18, allocations: 182.9 kB / 0.5994 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.257e-06/0.1801, allocations: 0 / 0.5994 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.442e-05/0.1801, allocations: 7.938 kB / 0.5994 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002786/0.1804, allocations: 105.6 kB / 0.5995 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.1804, allocations: 0 / 0.5995 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.1804, allocations: 0 / 0.5995 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.1804, allocations: 0 / 0.5995 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003183/0.1807, allocations: 99.92 kB / 0.5996 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005048/0.1812, allocations: 348.6 kB / 0.5999 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001999/0.1815, allocations: 58.55 kB / 0.6 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.242e-05/0.1815, allocations: 12.08 kB / 0.6 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/0.1815, allocations: 34.56 kB / 0.6 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.1815, allocations: 3.938 kB / 0.6 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0005674/0.1821, allocations: 169.6 kB / 0.6002 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.822e-05/0.1822, allocations: 59.41 kB / 0.6002 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.641e-05/0.1822, allocations: 117.8 kB / 0.6003 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.354e-05/0.1823, allocations: 25.7 kB / 0.6004 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.1824, allocations: 99.97 kB / 0.6005 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.818e-05/0.1824, allocations: 11.89 kB / 0.6005 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-06/0.1824, allocations: 0 / 0.6005 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.442e-05/0.1825, allocations: 310.8 kB / 0.6008 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001586/0.1827, allocations: 51.95 kB / 0.6008 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001458/0.1828, allocations: 43.95 kB / 0.6009 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001533/0.183, allocations: 43.97 kB / 0.6009 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.183, allocations: 0 / 0.6009 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003437/0.1833, allocations: 133.7 kB / 0.601 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.1834, allocations: 8 kB / 0.601 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.1834, allocations: 48 / 0.601 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.1834, allocations: 7.938 kB / 0.6011 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001294/0.1835, allocations: 27.98 kB / 0.6011 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.1835, allocations: 0 / 0.6011 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.587e-05/0.1836, allocations: 19.97 kB / 0.6011 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.645e-05/0.1837, allocations: 0 / 0.6011 GB, free: 3.648 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001304/0.1838, allocations: 113.8 kB / 0.6012 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.65e-05/0.1838, allocations: 11.91 kB / 0.6012 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004118/0.1842, allocations: 137.4 kB / 0.6014 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.1843, allocations: 3.953 kB / 0.6014 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.1843, allocations: 0 / 0.6014 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.1843, allocations: 7.938 kB / 0.6014 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001739/0.1845, allocations: 177.6 kB / 0.6015 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.1845, allocations: 0 / 0.6015 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000102/0.1846, allocations: 19.98 kB / 0.6016 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.1846, allocations: 4 kB / 0.6016 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.1846, allocations: 0 / 0.6016 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1846, allocations: 3.938 kB / 0.6016 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.1846, allocations: 3.953 kB / 0.6016 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003842/0.185, allocations: 219.5 kB / 0.6018 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.437e-05/0.185, allocations: 81.02 kB / 0.6018 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.795e-05/0.1851, allocations: 7.984 kB / 0.6019 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/0.1852, allocations: 15.98 kB / 0.6019 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.783e-05/0.1852, allocations: 7.938 kB / 0.6019 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.266e-06/0.1852, allocations: 3.953 kB / 0.6019 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.032e-05/0.1853, allocations: 91.27 kB / 0.602 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1853, allocations: 0 / 0.602 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002327/0.1855, allocations: 19.94 kB / 0.602 GB, free: 2.629 MB / 0.4981 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 (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.0001298/0.1857, allocations: 99.23 kB / 0.6021 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004072/0.1861, allocations: 95.92 kB / 0.6022 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1861, allocations: 4 kB / 0.6022 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001654/0.1863, allocations: 47.95 kB / 0.6022 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001918/0.1865, allocations: 8 kB / 0.6022 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003117/0.1868, allocations: 164.8 kB / 0.6024 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003309/0.1871, allocations: 0.6887 MB / 0.6031 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.667e-05/0.1872, allocations: 15.97 kB / 0.6031 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.32e-05/0.1872, allocations: 7.438 kB / 0.6031 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of SimCode: time 1.493e-06/0.1872, allocations: 4 kB / 0.6031 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of Templates: time 0.002525/0.1898, allocations: 0.6046 MB / 0.6037 GB, free: 0.8398 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average.makefile Environment - environmentSimulation: (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average.pipe 2>&1) Environment - environmentSimulation: