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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001249/0.001249, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001559/0.001559, allocations: 212.8 kB / 22.25 MB, free: 5.258 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.403/1.403, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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.7.0/package.mo): time 0.8821/0.8821, allocations: 145 MB / 457.4 MB, free: 15.22 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average") [Timeout 660] "Notification: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002049/0.002049, allocations: 67.58 kB / 0.6336 GB, free: 6.148 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1771/0.1792, allocations: 87.89 MB / 0.7194 GB, free: 14.27 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Average): time 0.002724/0.1819, allocations: 1.53 MB / 0.7209 GB, free: 12.72 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003222/0.1822, allocations: 120.5 kB / 0.721 GB, free: 12.6 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.172e-05/0.1823, allocations: 0 / 0.721 GB, free: 12.6 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001079/0.1824, allocations: 11.86 kB / 0.721 GB, free: 12.59 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 2.496e-05/0.1824, allocations: 7.938 kB / 0.721 GB, free: 12.58 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002142/0.1826, allocations: 27.97 kB / 0.7211 GB, free: 12.55 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.219e-05/0.1827, allocations: 51.83 kB / 0.7211 GB, free: 12.5 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001263/0.1828, allocations: 16 kB / 0.7211 GB, free: 12.49 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.696e-05/0.1829, allocations: 31.89 kB / 0.7211 GB, free: 12.46 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.323e-05/0.183, allocations: 23.86 kB / 0.7212 GB, free: 12.43 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.61e-05/0.183, allocations: 8 kB / 0.7212 GB, free: 12.43 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 5.864e-05/0.183, allocations: 15.98 kB / 0.7212 GB, free: 12.41 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.807e-05/0.1831, allocations: 15.92 kB / 0.7212 GB, free: 12.39 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.319e-05/0.1831, allocations: 23.88 kB / 0.7212 GB, free: 12.37 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001268/0.1832, allocations: 67.66 kB / 0.7213 GB, free: 12.3 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1832, allocations: 0 / 0.7213 GB, free: 12.3 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.362e-06/0.1832, allocations: 0 / 0.7213 GB, free: 12.3 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.955e-06/0.1833, allocations: 3.938 kB / 0.7213 GB, free: 12.3 MB / 0.545 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.0005256/0.1838, allocations: 306.1 kB / 0.7216 GB, free: 11.97 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.09e-05/0.1838, allocations: 12.03 kB / 0.7216 GB, free: 11.96 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.08e-05/0.1838, allocations: 8.891 kB / 0.7216 GB, free: 11.95 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001685/0.184, allocations: 122.5 kB / 0.7217 GB, free: 11.8 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.46e-06/0.184, allocations: 384 / 0.7217 GB, free: 11.8 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.67e-05/0.184, allocations: 4.375 kB / 0.7217 GB, free: 11.8 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002706/0.1843, allocations: 90.14 kB / 0.7218 GB, free: 11.71 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.1843, allocations: 192 / 0.7218 GB, free: 11.71 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.1843, allocations: 3.938 kB / 0.7218 GB, free: 11.7 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-06/0.1843, allocations: 0 / 0.7218 GB, free: 11.7 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003005/0.1846, allocations: 87.89 kB / 0.7219 GB, free: 11.62 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005429/0.1852, allocations: 268.3 kB / 0.7222 GB, free: 11.32 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002005/0.1854, allocations: 58.53 kB / 0.7222 GB, free: 11.26 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001544/0.1855, allocations: 44.92 kB / 0.7223 GB, free: 11.21 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.186e-05/0.1856, allocations: 4 kB / 0.7223 GB, free: 11.21 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.763e-05/0.1856, allocations: 34.55 kB / 0.7223 GB, free: 11.16 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.1856, allocations: 0 / 0.7223 GB, free: 11.16 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0005386/0.1861, allocations: 137.6 kB / 0.7224 GB, free: 11.02 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.875e-05/0.1862, allocations: 51.41 kB / 0.7225 GB, free: 10.96 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001122/0.1863, allocations: 125.7 kB / 0.7226 GB, free: 10.83 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.237e-05/0.1863, allocations: 25.7 kB / 0.7226 GB, free: 10.8 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.719e-05/0.1864, allocations: 96.08 kB / 0.7227 GB, free: 10.7 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.264e-05/0.1864, allocations: 11.91 kB / 0.7227 GB, free: 10.69 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.321e-05/0.1864, allocations: 13.72 kB / 0.7227 GB, free: 10.67 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001593/0.1866, allocations: 322.8 kB / 0.723 GB, free: 10.34 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001469/0.1867, allocations: 31.97 kB / 0.7231 GB, free: 10.31 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001357/0.1869, allocations: 39.95 kB / 0.7231 GB, free: 10.27 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002696/0.1871, allocations: 68.78 kB / 0.7232 GB, free: 10.2 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.1871, allocations: 3.938 kB / 0.7232 GB, free: 10.2 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003292/0.1875, allocations: 109.6 kB / 0.7233 GB, free: 10.09 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.1875, allocations: 4 kB / 0.7233 GB, free: 10.08 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-06/0.1875, allocations: 3.938 kB / 0.7233 GB, free: 10.08 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.1875, allocations: 0 / 0.7233 GB, free: 10.08 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001171/0.1876, allocations: 15.98 kB / 0.7233 GB, free: 10.06 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.1876, allocations: 0 / 0.7233 GB, free: 10.06 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.441e-05/0.1877, allocations: 11.98 kB / 0.7233 GB, free: 10.05 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.659e-05/0.1877, allocations: 0 / 0.7233 GB, free: 10.05 MB / 0.545 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 0.0001002/0.1878, allocations: 125.8 kB / 0.7234 GB, free: 9.918 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.751e-05/0.1878, allocations: 7.953 kB / 0.7234 GB, free: 9.91 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003673/0.1882, allocations: 113.5 kB / 0.7236 GB, free: 9.785 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.1882, allocations: 0 / 0.7236 GB, free: 9.785 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.1882, allocations: 0 / 0.7236 GB, free: 9.785 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.201e-06/0.1882, allocations: 7.984 kB / 0.7236 GB, free: 9.777 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001597/0.1884, allocations: 129.2 kB / 0.7237 GB, free: 9.621 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.1884, allocations: 0 / 0.7237 GB, free: 9.621 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.932e-05/0.1885, allocations: 15.98 kB / 0.7237 GB, free: 9.605 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.1885, allocations: 4 kB / 0.7237 GB, free: 9.602 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.1885, allocations: 3.984 kB / 0.7237 GB, free: 9.598 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.1885, allocations: 3.984 kB / 0.7237 GB, free: 9.594 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1885, allocations: 0 / 0.7237 GB, free: 9.594 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003758/0.1889, allocations: 203.7 kB / 0.7239 GB, free: 9.379 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.265e-05/0.1889, allocations: 19.95 kB / 0.7239 GB, free: 9.359 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.263e-05/0.1889, allocations: 0 / 0.7239 GB, free: 9.359 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.189, allocations: 11.98 kB / 0.7239 GB, free: 9.348 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.994e-05/0.189, allocations: 4 kB / 0.7239 GB, free: 9.344 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.215e-06/0.189, allocations: 3.984 kB / 0.7239 GB, free: 9.34 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.735e-05/0.1891, allocations: 91.28 kB / 0.724 GB, free: 9.25 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.1891, allocations: 0 / 0.724 GB, free: 9.25 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002281/0.1893, allocations: 11.95 kB / 0.724 GB, free: 9.238 MB / 0.545 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.0001293/0.1894, allocations: 103.2 kB / 0.7241 GB, free: 9.129 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003381/0.1898, allocations: 71.92 kB / 0.7242 GB, free: 9.059 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1898, allocations: 4 kB / 0.7242 GB, free: 9.055 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001544/0.1899, allocations: 43.89 kB / 0.7243 GB, free: 9.012 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002585/0.1902, allocations: 9.969 kB / 0.7243 GB, free: 9.004 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003641/0.1906, allocations: 157.2 kB / 0.7244 GB, free: 8.824 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.558e-05/0.1907, allocations: 79.58 kB / 0.7245 GB, free: 8.727 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.326e-05/0.1907, allocations: 7.984 kB / 0.7245 GB, free: 8.719 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.983e-05/0.1907, allocations: 11.44 kB / 0.7245 GB, free: 8.711 MB / 0.545 GB Notification: Performance of SimCode: time 2.8e-07/0.1907, allocations: 0 / 0.7245 GB, free: 8.711 MB / 0.545 GB Notification: Performance of Templates: time 0.003421/0.1942, allocations: 0.8387 MB / 0.7253 GB, free: 7.895 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.371112359687686] Failed to read output from testmodel.py, exit status != 0: 0.20238807797431946 0.216346699 0.03011774 Calling exit ...