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.001284/0.001284, allocations: 114.5 kB / 18.94 MB, free: 2.934 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.001501/0.001501, allocations: 217 kB / 22.25 MB, free: 5.082 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.475/1.475, allocations: 230.6 MB / 256 MB, free: 8.008 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.8924/0.8924, allocations: 145 MB / 457.4 MB, free: 15.55 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.002054/0.002054, allocations: 71.77 kB / 0.6332 GB, free: 7.305 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.175/0.1771, allocations: 87.87 MB / 0.719 GB, free: 15.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Average): time 0.002734/0.1798, allocations: 1.567 MB / 0.7205 GB, free: 13.85 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003337/0.1801, allocations: 112.5 kB / 0.7206 GB, free: 13.74 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.462e-05/0.1802, allocations: 4 kB / 0.7206 GB, free: 13.73 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001124/0.1803, allocations: 11.86 kB / 0.7206 GB, free: 13.72 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 2.509e-05/0.1803, allocations: 7.938 kB / 0.7207 GB, free: 13.71 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002209/0.1805, allocations: 27.95 kB / 0.7207 GB, free: 13.69 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001047/0.1806, allocations: 55.78 kB / 0.7207 GB, free: 13.63 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.1807, allocations: 15.98 kB / 0.7207 GB, free: 13.62 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.509e-05/0.1808, allocations: 27.92 kB / 0.7208 GB, free: 13.59 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.155e-05/0.1809, allocations: 27.91 kB / 0.7208 GB, free: 13.56 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.584e-05/0.1809, allocations: 4 kB / 0.7208 GB, free: 13.56 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 6.135e-05/0.181, allocations: 15.97 kB / 0.7208 GB, free: 13.54 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.668e-05/0.181, allocations: 23.92 kB / 0.7208 GB, free: 13.52 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.637e-05/0.181, allocations: 27.81 kB / 0.7209 GB, free: 13.49 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001369/0.1812, allocations: 67.66 kB / 0.7209 GB, free: 13.43 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1812, allocations: 0 / 0.7209 GB, free: 13.43 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.212e-06/0.1812, allocations: 0 / 0.7209 GB, free: 13.43 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.315e-06/0.1812, 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.0005233/0.1817, allocations: 302.1 kB / 0.7212 GB, free: 13.1 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.1817, allocations: 12.03 kB / 0.7212 GB, free: 13.09 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.647e-05/0.1818, allocations: 38.75 kB / 0.7213 GB, free: 13.04 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.765e-05/0.1818, allocations: 8.891 kB / 0.7213 GB, free: 13.04 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001646/0.182, allocations: 126.4 kB / 0.7214 GB, free: 12.89 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.182, allocations: 4.375 kB / 0.7214 GB, free: 12.88 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.499e-05/0.182, allocations: 4.375 kB / 0.7214 GB, free: 12.88 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002842/0.1823, allocations: 93.89 kB / 0.7215 GB, free: 12.78 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.1823, allocations: 0 / 0.7215 GB, free: 12.78 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.1823, allocations: 3.984 kB / 0.7215 GB, free: 12.78 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.1823, allocations: 4 kB / 0.7215 GB, free: 12.77 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003039/0.1826, allocations: 75.92 kB / 0.7216 GB, free: 12.7 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005251/0.1831, allocations: 295.8 kB / 0.7219 GB, free: 12.37 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002068/0.1834, allocations: 66.53 kB / 0.7219 GB, free: 12.29 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001517/0.1835, allocations: 36.92 kB / 0.722 GB, free: 12.25 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.604e-05/0.1835, allocations: 3.984 kB / 0.722 GB, free: 12.25 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/0.1836, allocations: 30.56 kB / 0.722 GB, free: 12.21 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.1836, allocations: 0 / 0.722 GB, free: 12.21 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0005591/0.1841, allocations: 149.8 kB / 0.7221 GB, free: 12.06 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.936e-05/0.1842, allocations: 51.41 kB / 0.7222 GB, free: 12 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.38e-05/0.1843, allocations: 117.8 kB / 0.7223 GB, free: 11.87 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.1843, allocations: 25.7 kB / 0.7223 GB, free: 11.84 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.267e-05/0.1843, allocations: 104 kB / 0.7224 GB, free: 11.73 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.621e-05/0.1844, allocations: 3.953 kB / 0.7224 GB, free: 11.73 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.711e-05/0.1844, allocations: 17.72 kB / 0.7224 GB, free: 11.71 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.1845, allocations: 318.8 kB / 0.7227 GB, free: 11.39 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001434/0.1847, allocations: 31.97 kB / 0.7228 GB, free: 11.36 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001353/0.1848, allocations: 35.95 kB / 0.7228 GB, free: 11.32 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002705/0.1851, allocations: 76.78 kB / 0.7229 GB, free: 11.24 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1851, allocations: 0 / 0.7229 GB, free: 11.24 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003249/0.1854, allocations: 109.5 kB / 0.723 GB, free: 11.13 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.1854, allocations: 11.94 kB / 0.723 GB, free: 11.12 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.718e-06/0.1854, allocations: 0 / 0.723 GB, free: 11.12 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.1854, allocations: 4 kB / 0.723 GB, free: 11.11 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001211/0.1856, allocations: 11.98 kB / 0.723 GB, free: 11.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.1856, allocations: 0 / 0.723 GB, free: 11.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.719e-05/0.1856, allocations: 11.98 kB / 0.723 GB, free: 11.09 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.129e-05/0.1857, allocations: 7.938 kB / 0.723 GB, free: 11.08 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.323e-05/0.1858, allocations: 117.8 kB / 0.7231 GB, free: 10.96 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.812e-05/0.1858, allocations: 7.953 kB / 0.7232 GB, free: 10.95 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003702/0.1862, allocations: 117.5 kB / 0.7233 GB, free: 10.82 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.786e-06/0.1862, allocations: 3.984 kB / 0.7233 GB, free: 10.82 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.1862, allocations: 0 / 0.7233 GB, free: 10.82 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.1862, allocations: 0 / 0.7233 GB, free: 10.82 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001865/0.1864, allocations: 152.7 kB / 0.7234 GB, free: 10.62 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.1864, allocations: 4 kB / 0.7234 GB, free: 10.62 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.378e-05/0.1865, allocations: 15.98 kB / 0.7234 GB, free: 10.61 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.1865, allocations: 0 / 0.7234 GB, free: 10.61 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.1865, allocations: 0 / 0.7234 GB, free: 10.61 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1865, allocations: 0 / 0.7234 GB, free: 10.61 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.1865, allocations: 4 kB / 0.7234 GB, free: 10.6 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003741/0.1868, allocations: 207.3 kB / 0.7236 GB, free: 10.38 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.075e-05/0.1869, allocations: 7.938 kB / 0.7236 GB, free: 10.38 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.406e-05/0.1869, allocations: 0 / 0.7236 GB, free: 10.38 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.187, allocations: 15.98 kB / 0.7237 GB, free: 10.36 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.13e-05/0.187, allocations: 7.922 kB / 0.7237 GB, free: 10.35 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.251e-05/0.187, allocations: 4 kB / 0.7237 GB, free: 10.35 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.742e-05/0.1871, allocations: 95.2 kB / 0.7238 GB, free: 10.25 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.1871, allocations: 0 / 0.7238 GB, free: 10.25 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002264/0.1873, allocations: 12 kB / 0.7238 GB, free: 10.24 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.0007291/0.188, allocations: 0.7319 MB / 0.7245 GB, free: 9.484 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000349/0.1884, allocations: 84.12 kB / 0.7246 GB, free: 9.402 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1884, allocations: 4 kB / 0.7246 GB, free: 9.398 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001504/0.1885, allocations: 36.05 kB / 0.7246 GB, free: 9.363 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003228/0.1889, allocations: 11.98 kB / 0.7246 GB, free: 9.352 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001894/0.1908, allocations: 1.424 MB / 0.726 GB, free: 7.852 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003363/0.1911, allocations: 0.7001 MB / 0.7267 GB, free: 7.125 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.865e-05/0.1911, allocations: 4.25 kB / 0.7267 GB, free: 7.121 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.369e-05/0.1912, allocations: 19.42 kB / 0.7267 GB, free: 7.105 MB / 0.545 GB Notification: Performance of SimCode: time 3.31e-07/0.1912, allocations: 0 / 0.7267 GB, free: 7.105 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02775/0.2189, allocations: 1.945 MB / 0.7286 GB, free: 5.289 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.84/11.06, allocations: 6.688 kB / 0.7286 GB, free: 5.285 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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.828504465000151] Failed to read output from testmodel.py, exit status != 0: 11.160039616999711 11.174830289 10.990721491 Calling exit ...