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.001306/0.001306, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001507/0.001507, allocations: 223.1 kB / 23 MB, free: 4.91 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.504/1.504, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.9433/0.9433, allocations: 145 MB / 458.2 MB, free: 15.3 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.002316/0.002316, allocations: 71.95 kB / 0.6343 GB, free: 6.215 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1796/0.1819, allocations: 87.89 MB / 0.7201 GB, free: 14.34 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Average): time 0.002778/0.1847, allocations: 1.533 MB / 0.7216 GB, free: 12.8 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003569/0.185, allocations: 120.5 kB / 0.7218 GB, free: 12.68 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.906e-05/0.1851, allocations: 0 / 0.7218 GB, free: 12.68 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001257/0.1852, allocations: 15.86 kB / 0.7218 GB, free: 12.66 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 2.263e-05/0.1852, allocations: 3.938 kB / 0.7218 GB, free: 12.66 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002369/0.1855, allocations: 27.97 kB / 0.7218 GB, free: 12.63 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001056/0.1856, allocations: 55.78 kB / 0.7219 GB, free: 12.57 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.1857, allocations: 19.97 kB / 0.7219 GB, free: 12.55 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.895e-05/0.1857, allocations: 23.92 kB / 0.7219 GB, free: 12.53 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.146e-05/0.1858, allocations: 31.84 kB / 0.7219 GB, free: 12.5 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.735e-05/0.1858, allocations: 8 kB / 0.7219 GB, free: 12.49 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 6.315e-05/0.1859, allocations: 11.98 kB / 0.722 GB, free: 12.48 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.579e-05/0.1859, allocations: 11.98 kB / 0.722 GB, free: 12.47 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.563e-05/0.186, allocations: 23.88 kB / 0.722 GB, free: 12.45 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001427/0.1861, allocations: 67.66 kB / 0.722 GB, free: 12.38 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1861, allocations: 0 / 0.722 GB, free: 12.38 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.773e-06/0.1861, allocations: 0 / 0.722 GB, free: 12.38 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.1861, allocations: 0 / 0.722 GB, free: 12.38 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.0005388/0.1867, allocations: 306 kB / 0.7223 GB, free: 12.05 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.1867, allocations: 16.03 kB / 0.7224 GB, free: 12.03 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.066e-05/0.1867, allocations: 8.891 kB / 0.7224 GB, free: 12.02 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001794/0.1869, allocations: 122.5 kB / 0.7225 GB, free: 11.88 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.1869, allocations: 384 / 0.7225 GB, free: 11.88 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.595e-05/0.187, allocations: 4.375 kB / 0.7225 GB, free: 11.88 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002759/0.1872, allocations: 86.14 kB / 0.7226 GB, free: 11.79 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.1872, allocations: 4.188 kB / 0.7226 GB, free: 11.78 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.512e-05/0.1873, allocations: 7.938 kB / 0.7226 GB, free: 11.77 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.1873, allocations: 0 / 0.7226 GB, free: 11.77 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002999/0.1876, allocations: 79.91 kB / 0.7227 GB, free: 11.7 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000522/0.1881, allocations: 272.3 kB / 0.7229 GB, free: 11.4 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002081/0.1883, allocations: 62.53 kB / 0.723 GB, free: 11.33 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001517/0.1884, allocations: 40.92 kB / 0.723 GB, free: 11.29 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.63e-05/0.1885, allocations: 4 kB / 0.723 GB, free: 11.28 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.037e-05/0.1885, allocations: 38.48 kB / 0.7231 GB, free: 11.23 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.1885, allocations: 0 / 0.7231 GB, free: 11.23 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0005669/0.1891, allocations: 141.6 kB / 0.7232 GB, free: 11.09 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.96e-05/0.1891, allocations: 51.41 kB / 0.7232 GB, free: 11.03 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.352e-05/0.1892, allocations: 113.8 kB / 0.7233 GB, free: 10.91 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/0.1892, allocations: 25.7 kB / 0.7234 GB, free: 10.88 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.405e-05/0.1893, allocations: 100.1 kB / 0.7235 GB, free: 10.77 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.306e-05/0.1893, allocations: 7.906 kB / 0.7235 GB, free: 10.77 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.005e-05/0.1894, allocations: 13.72 kB / 0.7235 GB, free: 10.75 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.1895, allocations: 322.8 kB / 0.7238 GB, free: 10.42 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001459/0.1897, allocations: 35.91 kB / 0.7238 GB, free: 10.39 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001385/0.1898, allocations: 39.95 kB / 0.7239 GB, free: 10.35 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002687/0.1901, allocations: 73 kB / 0.7239 GB, free: 10.27 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/0.1901, allocations: 0 / 0.7239 GB, free: 10.27 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003205/0.1904, allocations: 109.6 kB / 0.724 GB, free: 10.16 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.1904, allocations: 7.984 kB / 0.7241 GB, free: 10.15 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.1904, allocations: 0 / 0.7241 GB, free: 10.15 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.1904, allocations: 0 / 0.7241 GB, free: 10.15 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001257/0.1905, allocations: 15.98 kB / 0.7241 GB, free: 10.14 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.1906, allocations: 0 / 0.7241 GB, free: 10.14 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.649e-05/0.1906, allocations: 11.98 kB / 0.7241 GB, free: 10.12 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.76e-05/0.1906, allocations: 0 / 0.7241 GB, free: 10.12 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 9.588e-05/0.1907, allocations: 125.8 kB / 0.7242 GB, free: 9.992 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.699e-05/0.1908, allocations: 7.953 kB / 0.7242 GB, free: 9.984 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003749/0.1911, allocations: 113.5 kB / 0.7243 GB, free: 9.859 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.1911, allocations: 0 / 0.7243 GB, free: 9.859 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.1912, allocations: 0 / 0.7243 GB, free: 9.859 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.1912, allocations: 0 / 0.7243 GB, free: 9.859 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001534/0.1913, allocations: 129.2 kB / 0.7244 GB, free: 9.703 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1913, allocations: 0 / 0.7244 GB, free: 9.703 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.885e-05/0.1914, allocations: 15.98 kB / 0.7245 GB, free: 9.688 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.1914, allocations: 4 kB / 0.7245 GB, free: 9.684 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.1914, allocations: 0 / 0.7245 GB, free: 9.684 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.518e-06/0.1914, allocations: 7.984 kB / 0.7245 GB, free: 9.676 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1914, allocations: 0 / 0.7245 GB, free: 9.676 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003831/0.1918, allocations: 203.3 kB / 0.7247 GB, free: 9.461 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.17e-05/0.1918, allocations: 11.98 kB / 0.7247 GB, free: 9.449 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.45e-05/0.1918, allocations: 0 / 0.7247 GB, free: 9.449 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.1919, allocations: 11.98 kB / 0.7247 GB, free: 9.438 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.357e-05/0.192, allocations: 4 kB / 0.7247 GB, free: 9.434 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-05/0.192, allocations: 3.984 kB / 0.7247 GB, free: 9.43 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.067e-05/0.192, allocations: 91.28 kB / 0.7248 GB, free: 9.34 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.192, allocations: 3.938 kB / 0.7248 GB, free: 9.336 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002229/0.1923, allocations: 15.89 kB / 0.7248 GB, free: 9.32 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.0001419/0.1924, allocations: 99.22 kB / 0.7249 GB, free: 9.215 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003504/0.1928, allocations: 79.92 kB / 0.725 GB, free: 9.137 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.1928, allocations: 0 / 0.725 GB, free: 9.137 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00015/0.1929, allocations: 43.89 kB / 0.725 GB, free: 9.094 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003111/0.1932, allocations: 7.938 kB / 0.725 GB, free: 9.086 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003903/0.1936, allocations: 186.9 kB / 0.7252 GB, free: 8.871 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.831e-05/0.1937, allocations: 75.58 kB / 0.7253 GB, free: 8.777 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.563e-05/0.1937, allocations: 15.42 kB / 0.7253 GB, free: 8.762 MB / 0.545 GB Notification: Performance of SimCode: time 3.51e-07/0.1937, allocations: 0 / 0.7253 GB, free: 8.762 MB / 0.545 GB Notification: Performance of Templates: time 0.002782/0.1965, allocations: 0.9603 MB / 0.7262 GB, free: 7.809 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: 8.125445738900453] Failed to read output from testmodel.py, exit status != 0: 0.20525389816612005 0.21915125100000002 0.030103712 Calling exit ...