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.001699/0.001699, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.002287/0.002287, allocations: 219.1 kB / 22.26 MB, free: 5.125 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.514/1.514, allocations: 230.6 MB / 256 MB, free: 7.992 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.9712/0.9712, allocations: 145 MB / 457.4 MB, free: 15.46 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: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.Average,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Average",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.Average,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Average",fmuType="me",version="2.0",platforms={"static"}) [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.002203/0.002203, allocations: 63.53 kB / 0.6332 GB, free: 7.301 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1804/0.1826, allocations: 87.9 MB / 0.719 GB, free: 15.42 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Average): time 0.002978/0.1856, allocations: 1.557 MB / 0.7205 GB, free: 13.85 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003554/0.186, allocations: 124.5 kB / 0.7206 GB, free: 13.72 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.719e-05/0.186, allocations: 0 / 0.7206 GB, free: 13.72 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001119/0.1861, allocations: 3.938 kB / 0.7206 GB, free: 13.72 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 2.939e-05/0.1862, allocations: 11.81 kB / 0.7207 GB, free: 13.71 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002426/0.1864, allocations: 27.95 kB / 0.7207 GB, free: 13.68 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001121/0.1865, allocations: 59.78 kB / 0.7207 GB, free: 13.62 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.1866, allocations: 19.97 kB / 0.7208 GB, free: 13.6 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.522e-05/0.1867, allocations: 23.92 kB / 0.7208 GB, free: 13.58 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.666e-05/0.1868, allocations: 31.91 kB / 0.7208 GB, free: 13.55 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.905e-05/0.1868, allocations: 4 kB / 0.7208 GB, free: 13.54 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 6.091e-05/0.1869, allocations: 12 kB / 0.7208 GB, free: 13.53 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.63e-05/0.1869, allocations: 19.92 kB / 0.7208 GB, free: 13.51 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.304e-05/0.187, allocations: 23.86 kB / 0.7209 GB, free: 13.49 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001588/0.1871, allocations: 59.73 kB / 0.7209 GB, free: 13.43 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.064e-06/0.1871, allocations: 4 kB / 0.7209 GB, free: 13.43 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.393e-06/0.1871, allocations: 0 / 0.7209 GB, free: 13.43 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.1871, allocations: 0 / 0.7209 GB, free: 13.43 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.0005833/0.1877, allocations: 302.1 kB / 0.7212 GB, free: 13.1 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.1878, allocations: 12.03 kB / 0.7212 GB, free: 13.09 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.924e-05/0.1878, allocations: 42.69 kB / 0.7213 GB, free: 13.04 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.531e-05/0.1878, allocations: 8.891 kB / 0.7213 GB, free: 13.03 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001868/0.188, allocations: 130.4 kB / 0.7214 GB, free: 12.88 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.663e-06/0.188, allocations: 384 / 0.7214 GB, free: 12.88 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.864e-05/0.188, allocations: 4.375 kB / 0.7214 GB, free: 12.87 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002922/0.1883, allocations: 82.2 kB / 0.7215 GB, free: 12.79 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.1884, allocations: 3.938 kB / 0.7215 GB, free: 12.78 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.1884, allocations: 8 kB / 0.7215 GB, free: 12.77 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.1884, allocations: 0 / 0.7215 GB, free: 12.77 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003239/0.1887, allocations: 83.84 kB / 0.7216 GB, free: 12.69 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005802/0.1893, allocations: 287.8 kB / 0.7219 GB, free: 12.37 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000214/0.1895, allocations: 70.56 kB / 0.7219 GB, free: 12.29 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001539/0.1896, allocations: 36.91 kB / 0.722 GB, free: 12.25 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.699e-05/0.1897, allocations: 4 kB / 0.722 GB, free: 12.25 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.19e-05/0.1897, allocations: 34.56 kB / 0.722 GB, free: 12.2 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.1897, allocations: 4 kB / 0.722 GB, free: 12.2 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0005588/0.1903, allocations: 133.5 kB / 0.7221 GB, free: 12.06 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.589e-05/0.1903, allocations: 55.41 kB / 0.7222 GB, free: 12 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/0.1904, allocations: 121.8 kB / 0.7223 GB, free: 11.87 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.677e-05/0.1904, allocations: 29.7 kB / 0.7223 GB, free: 11.83 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.544e-05/0.1905, allocations: 104 kB / 0.7224 GB, free: 11.73 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.375e-05/0.1905, allocations: 11.91 kB / 0.7224 GB, free: 11.71 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.013e-05/0.1906, allocations: 17.7 kB / 0.7224 GB, free: 11.69 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.1907, allocations: 318.8 kB / 0.7228 GB, free: 11.37 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001534/0.1909, allocations: 35.95 kB / 0.7228 GB, free: 11.34 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001376/0.191, allocations: 39.97 kB / 0.7228 GB, free: 11.3 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002994/0.1913, allocations: 68.78 kB / 0.7229 GB, free: 11.23 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1913, allocations: 0 / 0.7229 GB, free: 11.23 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003377/0.1916, allocations: 109.5 kB / 0.723 GB, free: 11.11 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.1917, allocations: 4 kB / 0.723 GB, free: 11.11 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.1917, allocations: 0 / 0.723 GB, free: 11.11 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/0.1917, allocations: 0 / 0.723 GB, free: 11.11 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001328/0.1918, allocations: 23.97 kB / 0.723 GB, free: 11.09 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.1918, allocations: 0 / 0.723 GB, free: 11.09 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.02e-05/0.1919, allocations: 11.98 kB / 0.723 GB, free: 11.07 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.69e-05/0.1919, allocations: 0 / 0.723 GB, free: 11.07 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.0001045/0.192, allocations: 121.8 kB / 0.7231 GB, free: 10.95 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.161e-05/0.192, allocations: 8.281 kB / 0.7232 GB, free: 10.94 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003839/0.1924, allocations: 113.6 kB / 0.7233 GB, free: 10.81 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.731e-05/0.1925, allocations: 7.938 kB / 0.7233 GB, free: 10.8 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.1925, allocations: 0 / 0.7233 GB, free: 10.8 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.1925, allocations: 0 / 0.7233 GB, free: 10.8 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001893/0.1927, allocations: 148.7 kB / 0.7234 GB, free: 10.62 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.582e-06/0.1927, allocations: 4 kB / 0.7234 GB, free: 10.61 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.587e-05/0.1928, allocations: 15.98 kB / 0.7234 GB, free: 10.6 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.1928, allocations: 0 / 0.7234 GB, free: 10.6 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.505e-06/0.1928, allocations: 0 / 0.7234 GB, free: 10.6 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.1928, allocations: 3.984 kB / 0.7234 GB, free: 10.59 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1928, allocations: 0 / 0.7234 GB, free: 10.59 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000384/0.1932, allocations: 203.4 kB / 0.7236 GB, free: 10.38 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.492e-05/0.1932, allocations: 11.92 kB / 0.7236 GB, free: 10.37 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.659e-05/0.1932, allocations: 4 kB / 0.7236 GB, free: 10.36 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.1933, allocations: 15.92 kB / 0.7237 GB, free: 10.35 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.788e-05/0.1934, allocations: 0 / 0.7237 GB, free: 10.35 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.833e-06/0.1934, allocations: 0 / 0.7237 GB, free: 10.35 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.114e-05/0.1934, allocations: 103.6 kB / 0.7238 GB, free: 10.25 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1934, allocations: 4 kB / 0.7238 GB, free: 10.24 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002401/0.1937, allocations: 15.89 kB / 0.7238 GB, free: 10.23 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.0007916/0.1945, allocations: 0.732 MB / 0.7245 GB, free: 9.469 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003475/0.1948, allocations: 71.92 kB / 0.7246 GB, free: 9.398 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.1948, allocations: 3.938 kB / 0.7246 GB, free: 9.395 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001481/0.195, allocations: 43.89 kB / 0.7246 GB, free: 9.352 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003549/0.1953, allocations: 12 kB / 0.7246 GB, free: 9.34 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002051/0.1974, allocations: 1.418 MB / 0.726 GB, free: 7.844 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003341/0.1977, allocations: 0.6963 MB / 0.7267 GB, free: 7.121 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.756e-05/0.1978, allocations: 8.234 kB / 0.7267 GB, free: 7.113 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.349e-05/0.1978, allocations: 15.44 kB / 0.7267 GB, free: 7.102 MB / 0.545 GB Notification: Performance of SimCode: time 5.01e-07/0.1978, allocations: 0 / 0.7267 GB, free: 7.102 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03047/0.2283, allocations: 1.952 MB / 0.7286 GB, free: 5.281 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.2, allocations: 0.75 kB / 0.7286 GB, free: 5.281 MB / 0.545 GB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Average_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Average.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.031192930880934] Failed to read output from testmodel.py, exit status != 0: 11.308787574991584 11.338498624 11.146000748 Calling exit ...