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.001251/0.001251, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001447/0.001447, allocations: 215.3 kB / 23.04 MB, free: 5.07 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.439/1.439, allocations: 230.6 MB / 256.8 MB, free: 7.941 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.9254/0.9254, allocations: 145 MB / 458.2 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="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.002043/0.002043, allocations: 61.47 kB / 0.6339 GB, free: 7.258 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1743/0.1764, allocations: 87.88 MB / 0.7198 GB, free: 15.39 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Average): time 0.003062/0.1795, allocations: 1.565 MB / 0.7213 GB, free: 13.81 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003607/0.1798, allocations: 116.5 kB / 0.7214 GB, free: 13.69 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.369e-05/0.1799, allocations: 0 / 0.7214 GB, free: 13.69 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001151/0.18, allocations: 7.875 kB / 0.7214 GB, free: 13.68 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 2.428e-05/0.18, allocations: 3.938 kB / 0.7214 GB, free: 13.68 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000236/0.1802, allocations: 31.94 kB / 0.7214 GB, free: 13.65 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001086/0.1804, allocations: 59.78 kB / 0.7215 GB, free: 13.59 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.1805, allocations: 15.98 kB / 0.7215 GB, free: 13.57 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.153e-05/0.1805, allocations: 23.92 kB / 0.7215 GB, free: 13.55 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.264e-05/0.1806, allocations: 35.91 kB / 0.7216 GB, free: 13.52 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.72e-05/0.1806, allocations: 4 kB / 0.7216 GB, free: 13.51 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 5.732e-05/0.1807, allocations: 8 kB / 0.7216 GB, free: 13.5 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.627e-05/0.1807, allocations: 23.91 kB / 0.7216 GB, free: 13.48 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.902e-05/0.1807, allocations: 23.86 kB / 0.7216 GB, free: 13.46 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001391/0.1809, allocations: 59.69 kB / 0.7217 GB, free: 13.4 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1809, allocations: 3.938 kB / 0.7217 GB, free: 13.39 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.986e-06/0.1809, allocations: 7.938 kB / 0.7217 GB, free: 13.39 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.1809, allocations: 0 / 0.7217 GB, free: 13.39 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.0005111/0.1814, allocations: 302.1 kB / 0.722 GB, free: 13.06 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.1814, allocations: 8.031 kB / 0.722 GB, free: 13.05 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.561e-05/0.1815, allocations: 4.188 kB / 0.722 GB, free: 13.05 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.43e-05/0.1815, allocations: 34.75 kB / 0.722 GB, free: 13 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.297e-05/0.1815, allocations: 12.88 kB / 0.722 GB, free: 12.99 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001549/0.1817, allocations: 130.4 kB / 0.7222 GB, free: 12.84 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.761e-06/0.1817, allocations: 384 / 0.7222 GB, free: 12.84 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.495e-05/0.1817, allocations: 4.375 kB / 0.7222 GB, free: 12.84 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002896/0.182, allocations: 97.89 kB / 0.7223 GB, free: 12.73 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.182, allocations: 0 / 0.7223 GB, free: 12.73 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.907e-06/0.182, allocations: 0 / 0.7223 GB, free: 12.73 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.182, allocations: 0 / 0.7223 GB, free: 12.73 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003148/0.1823, allocations: 83.89 kB / 0.7223 GB, free: 12.65 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005289/0.1829, allocations: 299.8 kB / 0.7226 GB, free: 12.32 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002102/0.1831, allocations: 62.53 kB / 0.7227 GB, free: 12.25 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001597/0.1832, allocations: 40.91 kB / 0.7227 GB, free: 12.2 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.888e-05/0.1833, allocations: 4 kB / 0.7227 GB, free: 12.2 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.569e-05/0.1833, allocations: 38.5 kB / 0.7228 GB, free: 12.15 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.1833, allocations: 0 / 0.7228 GB, free: 12.15 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0005803/0.1839, allocations: 137.6 kB / 0.7229 GB, free: 12.01 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.628e-05/0.1839, allocations: 55.41 kB / 0.723 GB, free: 11.95 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.997e-05/0.184, allocations: 121.8 kB / 0.7231 GB, free: 11.82 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.584e-05/0.184, allocations: 25.7 kB / 0.7231 GB, free: 11.79 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.902e-05/0.1841, allocations: 96.03 kB / 0.7232 GB, free: 11.69 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.066e-05/0.1841, allocations: 7.906 kB / 0.7232 GB, free: 11.68 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.241e-05/0.1841, allocations: 21.7 kB / 0.7232 GB, free: 11.65 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.1843, allocations: 318.8 kB / 0.7235 GB, free: 11.33 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001535/0.1844, allocations: 39.95 kB / 0.7236 GB, free: 11.29 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001419/0.1846, allocations: 31.97 kB / 0.7236 GB, free: 11.26 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002852/0.1849, allocations: 76.7 kB / 0.7237 GB, free: 11.18 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1849, allocations: 0 / 0.7237 GB, free: 11.18 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003358/0.1852, allocations: 101.6 kB / 0.7238 GB, free: 11.08 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.1852, allocations: 4 kB / 0.7238 GB, free: 11.07 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.1852, allocations: 0 / 0.7238 GB, free: 11.07 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.1852, allocations: 7.938 kB / 0.7238 GB, free: 11.07 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001289/0.1854, allocations: 15.97 kB / 0.7238 GB, free: 11.05 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.1854, allocations: 0 / 0.7238 GB, free: 11.05 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.183e-05/0.1854, allocations: 19.98 kB / 0.7238 GB, free: 11.03 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.024e-05/0.1855, allocations: 3.938 kB / 0.7238 GB, free: 11.03 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 8.696e-05/0.1855, allocations: 109.8 kB / 0.7239 GB, free: 10.91 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.144e-05/0.1856, allocations: 11.95 kB / 0.7239 GB, free: 10.9 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003878/0.186, allocations: 117.5 kB / 0.724 GB, free: 10.77 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.186, allocations: 4 kB / 0.724 GB, free: 10.77 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.186, allocations: 0 / 0.724 GB, free: 10.77 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.186, allocations: 0 / 0.724 GB, free: 10.77 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001808/0.1862, allocations: 148.7 kB / 0.7242 GB, free: 10.58 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1862, allocations: 0 / 0.7242 GB, free: 10.58 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.591e-05/0.1863, allocations: 15.98 kB / 0.7242 GB, free: 10.56 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.1863, allocations: 0 / 0.7242 GB, free: 10.56 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.1863, allocations: 7.922 kB / 0.7242 GB, free: 10.55 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1863, allocations: 0 / 0.7242 GB, free: 10.55 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.66e-06/0.1863, allocations: 4 kB / 0.7242 GB, free: 10.55 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003934/0.1867, allocations: 203.7 kB / 0.7244 GB, free: 10.34 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.288e-05/0.1867, allocations: 15.95 kB / 0.7244 GB, free: 10.32 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.637e-05/0.1867, allocations: 4 kB / 0.7244 GB, free: 10.32 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.1868, allocations: 11.98 kB / 0.7244 GB, free: 10.3 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.619e-05/0.1869, allocations: 4 kB / 0.7244 GB, free: 10.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.208e-05/0.1869, allocations: 7.984 kB / 0.7244 GB, free: 10.29 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.314e-05/0.1869, allocations: 91.22 kB / 0.7245 GB, free: 10.2 MB / 0.545 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1869, allocations: 0 / 0.7245 GB, free: 10.2 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002311/0.1872, allocations: 11.95 kB / 0.7245 GB, free: 10.19 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.0007498/0.1879, allocations: 0.7359 MB / 0.7253 GB, free: 9.43 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003674/0.1883, allocations: 71.86 kB / 0.7253 GB, free: 9.359 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.1883, allocations: 4 kB / 0.7253 GB, free: 9.355 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001582/0.1884, allocations: 39.95 kB / 0.7254 GB, free: 9.316 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003076/0.1887, allocations: 14.19 kB / 0.7254 GB, free: 9.305 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002077/0.1908, allocations: 1.431 MB / 0.7268 GB, free: 7.793 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004179/0.1912, allocations: 0.6924 MB / 0.7275 GB, free: 7.074 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.835e-05/0.1913, allocations: 8.234 kB / 0.7275 GB, free: 7.066 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.72e-05/0.1913, allocations: 19.38 kB / 0.7275 GB, free: 7.051 MB / 0.545 GB Notification: Performance of SimCode: time 5.91e-07/0.1913, allocations: 0 / 0.7275 GB, free: 7.051 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02227/0.2136, allocations: 1.985 MB / 0.7294 GB, free: 5.219 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.93/11.15, allocations: 8.75 kB / 0.7294 GB, free: 5.211 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: 14.879266888950951] Failed to read output from testmodel.py, exit status != 0: 11.30162297305651 11.317219848 11.133081893 Calling exit ...