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.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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.00133/0.00133, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001391/0.001391, allocations: 190.1 kB / 16.25 MB, free: 6.633 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.371/1.371, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 1.035/1.035, allocations: 143 MB / 433.1 MB, free: 11.55 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 59.91 kB / 0.5137 GB, free: 11.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1701/0.1713, allocations: 82.03 MB / 0.5938 GB, free: 9.91 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Average): time 0.00296/0.1744, allocations: 1.599 MB / 0.5953 GB, free: 8.293 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003501/0.1747, allocations: 108.6 kB / 0.5954 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.206e-05/0.1748, allocations: 3.938 kB / 0.5954 GB, free: 8.18 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001483/0.175, allocations: 7.984 kB / 0.5955 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.817e-05/0.175, allocations: 11.94 kB / 0.5955 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000287/0.1753, allocations: 27.91 kB / 0.5955 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001041/0.1754, allocations: 43.91 kB / 0.5955 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001357/0.1756, allocations: 27.98 kB / 0.5956 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.689e-05/0.1756, allocations: 27.86 kB / 0.5956 GB, free: 8.035 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.929e-05/0.1757, allocations: 31.84 kB / 0.5956 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.536e-05/0.1757, allocations: 4 kB / 0.5956 GB, free: 8 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.124e-05/0.1758, allocations: 11.98 kB / 0.5956 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.167e-05/0.1759, allocations: 31.84 kB / 0.5957 GB, free: 7.957 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.791e-05/0.1759, allocations: 19.88 kB / 0.5957 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001351/0.1761, allocations: 55.81 kB / 0.5957 GB, free: 7.883 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.1761, allocations: 3.984 kB / 0.5957 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.483e-06/0.1761, allocations: 0 / 0.5957 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.1761, allocations: 0 / 0.5957 GB, free: 7.879 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.0006075/0.1767, allocations: 377.6 kB / 0.5961 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.1768, allocations: 12.03 kB / 0.5961 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.296e-05/0.1768, allocations: 8.828 kB / 0.5961 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002546/0.1771, allocations: 184.2 kB / 0.5963 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.1771, allocations: 12.36 kB / 0.5963 GB, free: 7.211 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.155e-05/0.1771, allocations: 384 / 0.5963 GB, free: 7.211 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002868/0.1774, allocations: 94.14 kB / 0.5964 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.1774, allocations: 192 / 0.5964 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.1774, allocations: 3.938 kB / 0.5964 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.1774, allocations: 4 kB / 0.5964 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003015/0.1777, allocations: 79.91 kB / 0.5965 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005867/0.1783, allocations: 332.6 kB / 0.5968 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002262/0.1786, allocations: 58.53 kB / 0.5969 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001565/0.1787, allocations: 44.91 kB / 0.5969 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.538e-05/0.1788, allocations: 0 / 0.5969 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.024e-05/0.1788, allocations: 34.56 kB / 0.5969 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 8.51e-07/0.1788, allocations: 0 / 0.5969 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0005824/0.1794, allocations: 141.6 kB / 0.5971 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.283e-05/0.1795, allocations: 51.41 kB / 0.5971 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.1796, allocations: 117.8 kB / 0.5972 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.792e-05/0.1796, allocations: 25.7 kB / 0.5973 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.049e-05/0.1797, allocations: 99.97 kB / 0.5973 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.367e-05/0.1797, allocations: 7.906 kB / 0.5974 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.752e-05/0.1798, allocations: 13.72 kB / 0.5974 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.1799, allocations: 326.8 kB / 0.5977 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000143/0.1801, allocations: 31.97 kB / 0.5977 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001352/0.1802, allocations: 39.89 kB / 0.5977 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000257/0.1805, allocations: 68.78 kB / 0.5978 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.1805, allocations: 0 / 0.5978 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000313/0.1808, allocations: 113.5 kB / 0.5979 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.25e-05/0.1808, allocations: 4 kB / 0.5979 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.87e-06/0.1809, allocations: 0 / 0.5979 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.1809, allocations: 4 kB / 0.5979 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001265/0.181, allocations: 15.98 kB / 0.5979 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.181, allocations: 0 / 0.5979 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.502e-05/0.1811, allocations: 19.97 kB / 0.598 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.123e-05/0.1811, allocations: 0 / 0.598 GB, free: 5.375 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.921e-05/0.1812, allocations: 117.8 kB / 0.5981 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.611e-05/0.1813, allocations: 4 kB / 0.5981 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003904/0.1816, allocations: 121.8 kB / 0.5982 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.1817, allocations: 0 / 0.5982 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.1817, allocations: 0 / 0.5982 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.1817, allocations: 48 / 0.5982 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001935/0.1819, allocations: 189.4 kB / 0.5984 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.1819, allocations: 4 kB / 0.5984 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.242e-05/0.182, allocations: 15.98 kB / 0.5984 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.182, allocations: 0 / 0.5984 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.182, allocations: 0 / 0.5984 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.182, allocations: 0 / 0.5984 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.182, allocations: 0 / 0.5984 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00036/0.1824, allocations: 207.3 kB / 0.5986 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.131e-05/0.1824, allocations: 85.02 kB / 0.5987 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.707e-05/0.1825, allocations: 0 / 0.5987 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001098/0.1826, allocations: 19.97 kB / 0.5987 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.933e-05/0.1826, allocations: 4 kB / 0.5987 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.215e-06/0.1826, allocations: 4 kB / 0.5987 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.084e-05/0.1827, allocations: 91.27 kB / 0.5988 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1827, allocations: 0 / 0.5988 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002281/0.1829, allocations: 11.94 kB / 0.5988 GB, free: 4.41 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 (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.0001549/0.1831, allocations: 99.19 kB / 0.5989 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003664/0.1835, allocations: 83.91 kB / 0.599 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1835, allocations: 0 / 0.599 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001478/0.1836, allocations: 43.89 kB / 0.599 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000323/0.184, allocations: 8 kB / 0.599 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003679/0.1843, allocations: 169.5 kB / 0.5992 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002893/0.1846, allocations: 0.6923 MB / 0.5999 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.481e-05/0.1847, allocations: 11.97 kB / 0.5999 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.662e-05/0.1847, allocations: 7.438 kB / 0.5999 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.1847, allocations: 0 / 0.5999 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of Templates: time 0.002813/0.1875, allocations: 0.655 MB / 0.6005 GB, free: 2.59 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average.makefile (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)