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.00126/0.00126, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001484/0.001484, allocations: 209.7 kB / 23.03 MB, free: 4.926 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.462/1.462, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.9367/0.9367, allocations: 145 MB / 458.2 MB, free: 15.28 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.Average,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Average",fmuType="cs",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.001996/0.001996, allocations: 71.66 kB / 0.6339 GB, free: 6.699 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1773/0.1793, allocations: 87.89 MB / 0.7197 GB, free: 14.83 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Average): time 0.002849/0.1822, allocations: 1.536 MB / 0.7212 GB, free: 13.28 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003169/0.1825, allocations: 112.5 kB / 0.7213 GB, free: 13.17 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.728e-05/0.1825, allocations: 0 / 0.7213 GB, free: 13.17 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001231/0.1827, allocations: 15.86 kB / 0.7213 GB, free: 13.15 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 2.437e-05/0.1827, allocations: 3.938 kB / 0.7213 GB, free: 13.15 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002332/0.1829, allocations: 35.89 kB / 0.7214 GB, free: 13.11 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001106/0.183, allocations: 59.83 kB / 0.7214 GB, free: 13.05 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.1831, allocations: 12 kB / 0.7214 GB, free: 13.04 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.698e-05/0.1832, allocations: 27.91 kB / 0.7214 GB, free: 13.02 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.932e-05/0.1833, allocations: 27.86 kB / 0.7215 GB, free: 12.99 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.968e-05/0.1833, allocations: 8 kB / 0.7215 GB, free: 12.98 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 6.664e-05/0.1834, allocations: 15.98 kB / 0.7215 GB, free: 12.96 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.52e-05/0.1834, allocations: 19.91 kB / 0.7215 GB, free: 12.95 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.471e-05/0.1834, allocations: 15.88 kB / 0.7215 GB, free: 12.93 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000142/0.1836, allocations: 59.73 kB / 0.7216 GB, free: 12.87 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.1836, allocations: 4 kB / 0.7216 GB, free: 12.87 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.402e-06/0.1836, allocations: 4 kB / 0.7216 GB, free: 12.86 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.949e-06/0.1836, allocations: 0 / 0.7216 GB, free: 12.86 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.000539/0.1841, allocations: 308.3 kB / 0.7219 GB, free: 12.53 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.1842, allocations: 8.031 kB / 0.7219 GB, free: 12.52 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.466e-05/0.1842, allocations: 4.188 kB / 0.7219 GB, free: 12.52 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.061e-05/0.1842, allocations: 30.75 kB / 0.7219 GB, free: 12.48 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.926e-05/0.1842, allocations: 12.83 kB / 0.7219 GB, free: 12.47 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001752/0.1844, allocations: 126.5 kB / 0.7221 GB, free: 12.32 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.1844, allocations: 12.31 kB / 0.7221 GB, free: 12.31 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.047e-05/0.1845, allocations: 4.375 kB / 0.7221 GB, free: 12.3 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002821/0.1847, allocations: 97.88 kB / 0.7222 GB, free: 12.2 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.1848, allocations: 0 / 0.7222 GB, free: 12.2 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.1848, allocations: 0 / 0.7222 GB, free: 12.2 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.1848, allocations: 0 / 0.7222 GB, free: 12.2 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003147/0.1851, allocations: 87.91 kB / 0.7223 GB, free: 12.12 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000562/0.1856, allocations: 291.7 kB / 0.7225 GB, free: 11.79 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002081/0.1859, allocations: 54.53 kB / 0.7226 GB, free: 11.73 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001649/0.186, allocations: 41 kB / 0.7226 GB, free: 11.68 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.997e-05/0.1861, allocations: 7.938 kB / 0.7226 GB, free: 11.68 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.637e-05/0.1861, allocations: 38.56 kB / 0.7227 GB, free: 11.63 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.343e-06/0.1861, allocations: 0 / 0.7227 GB, free: 11.63 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0005589/0.1867, allocations: 129.6 kB / 0.7228 GB, free: 11.5 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.112e-05/0.1867, allocations: 51.41 kB / 0.7228 GB, free: 11.43 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001382/0.1869, allocations: 121.8 kB / 0.723 GB, free: 11.3 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.632e-05/0.1869, allocations: 25.7 kB / 0.723 GB, free: 11.27 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.884e-05/0.187, allocations: 92.09 kB / 0.7231 GB, free: 11.18 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.129e-05/0.187, allocations: 15.91 kB / 0.7231 GB, free: 11.16 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.521e-05/0.187, allocations: 17.7 kB / 0.7231 GB, free: 11.14 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001751/0.1872, allocations: 318.8 kB / 0.7234 GB, free: 10.82 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001441/0.1874, allocations: 35.95 kB / 0.7234 GB, free: 10.79 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001317/0.1875, allocations: 31.91 kB / 0.7235 GB, free: 10.75 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002665/0.1878, allocations: 80.77 kB / 0.7235 GB, free: 10.67 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.1878, allocations: 3.938 kB / 0.7236 GB, free: 10.67 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000326/0.1881, allocations: 97.62 kB / 0.7236 GB, free: 10.57 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.1881, allocations: 4 kB / 0.7236 GB, free: 10.56 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.1881, allocations: 0 / 0.7236 GB, free: 10.56 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.1881, allocations: 4 kB / 0.7237 GB, free: 10.56 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000159/0.1883, allocations: 23.97 kB / 0.7237 GB, free: 10.54 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.1883, allocations: 0 / 0.7237 GB, free: 10.54 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.514e-05/0.1884, allocations: 11.98 kB / 0.7237 GB, free: 10.52 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.118e-05/0.1884, allocations: 3.938 kB / 0.7237 GB, free: 10.52 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.0001136/0.1885, allocations: 117.8 kB / 0.7238 GB, free: 10.39 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.116e-05/0.1886, allocations: 7.953 kB / 0.7238 GB, free: 10.39 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003994/0.189, allocations: 113.6 kB / 0.7239 GB, free: 10.26 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.189, allocations: 4 kB / 0.7239 GB, free: 10.26 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.189, allocations: 0 / 0.7239 GB, free: 10.26 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.189, allocations: 0 / 0.7239 GB, free: 10.26 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002141/0.1892, allocations: 148.6 kB / 0.7241 GB, free: 10.07 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.1892, allocations: 4 kB / 0.7241 GB, free: 10.07 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.954e-05/0.1893, allocations: 19.92 kB / 0.7241 GB, free: 10.05 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.1893, allocations: 0 / 0.7241 GB, free: 10.05 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.1893, allocations: 4 kB / 0.7241 GB, free: 10.04 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1893, allocations: 0 / 0.7241 GB, free: 10.04 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1893, allocations: 0 / 0.7241 GB, free: 10.04 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004036/0.1897, allocations: 211.7 kB / 0.7243 GB, free: 9.82 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.084e-05/0.1897, allocations: 4.031 kB / 0.7243 GB, free: 9.816 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.967e-05/0.1897, allocations: 3.984 kB / 0.7243 GB, free: 9.812 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.1898, allocations: 11.98 kB / 0.7243 GB, free: 9.801 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.776e-05/0.1899, allocations: 8 kB / 0.7243 GB, free: 9.793 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.003e-05/0.1899, allocations: 4 kB / 0.7243 GB, free: 9.789 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.316e-05/0.19, allocations: 99.58 kB / 0.7244 GB, free: 9.691 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.19, allocations: 0 / 0.7244 GB, free: 9.691 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002404/0.1902, allocations: 11.95 kB / 0.7244 GB, free: 9.68 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.0007845/0.191, allocations: 0.7358 MB / 0.7251 GB, free: 8.918 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000363/0.1914, allocations: 79.86 kB / 0.7252 GB, free: 8.84 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.1914, allocations: 0 / 0.7252 GB, free: 8.84 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001482/0.1915, allocations: 39.95 kB / 0.7253 GB, free: 8.801 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003124/0.1918, allocations: 8 kB / 0.7253 GB, free: 8.793 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001873/0.1937, allocations: 1.424 MB / 0.7267 GB, free: 7.289 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.998e-05/0.1938, allocations: 83.58 kB / 0.7267 GB, free: 7.188 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.676e-05/0.1938, allocations: 7.984 kB / 0.7267 GB, free: 7.18 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.709e-05/0.1939, allocations: 15.44 kB / 0.7268 GB, free: 7.164 MB / 0.545 GB Notification: Performance of SimCode: time 6.22e-07/0.1939, allocations: 0 / 0.7268 GB, free: 7.164 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02183/0.2157, allocations: 2.044 MB / 0.7288 GB, free: 5.277 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.37, allocations: 16.31 kB / 0.7288 GB, free: 5.266 MB / 0.545 GB " [Timeout remaining time 648] (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.167886100010946] Failed to read output from testmodel.py, exit status != 0: 11.528131862054579 11.552750738 11.36461676 Calling exit ...