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.001277/0.001277, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001399/0.001399, allocations: 208.9 kB / 22.24 MB, free: 5.262 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.459/1.459, allocations: 230.6 MB / 256 MB, free: 7.812 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.9511/0.9511, allocations: 145 MB / 457.4 MB, free: 15.33 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.0021/0.0021, allocations: 71.75 kB / 0.6331 GB, free: 6.738 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2028/0.2049, allocations: 87.88 MB / 0.7189 GB, free: 14.88 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Average): time 0.00381/0.2087, allocations: 1.549 MB / 0.7204 GB, free: 13.31 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0004579/0.2092, allocations: 120.5 kB / 0.7205 GB, free: 13.19 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.828e-05/0.2092, allocations: 0 / 0.7205 GB, free: 13.19 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001508/0.2094, allocations: 11.86 kB / 0.7206 GB, free: 13.18 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.563e-05/0.2094, allocations: 3.938 kB / 0.7206 GB, free: 13.18 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002607/0.2097, allocations: 23.97 kB / 0.7206 GB, free: 13.15 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001307/0.2098, allocations: 55.84 kB / 0.7206 GB, free: 13.1 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001309/0.2099, allocations: 19.98 kB / 0.7207 GB, free: 13.08 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.85e-05/0.21, allocations: 23.91 kB / 0.7207 GB, free: 13.05 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 9.07e-05/0.2101, allocations: 35.84 kB / 0.7207 GB, free: 13.02 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.161e-05/0.2101, allocations: 4 kB / 0.7207 GB, free: 13.02 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 7.612e-05/0.2102, allocations: 11.98 kB / 0.7207 GB, free: 13 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.433e-05/0.2103, allocations: 19.92 kB / 0.7207 GB, free: 12.98 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.117e-05/0.2103, allocations: 11.94 kB / 0.7208 GB, free: 12.97 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001885/0.2105, allocations: 71.66 kB / 0.7208 GB, free: 12.9 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.2105, allocations: 0 / 0.7208 GB, free: 12.9 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.502e-06/0.2105, allocations: 3.938 kB / 0.7208 GB, free: 12.9 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.147e-05/0.2105, allocations: 4 kB / 0.7208 GB, free: 12.89 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.0006573/0.2112, allocations: 302.1 kB / 0.7211 GB, free: 12.57 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.2112, allocations: 12.03 kB / 0.7211 GB, free: 12.55 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.168e-05/0.2113, allocations: 34.75 kB / 0.7212 GB, free: 12.51 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.64e-05/0.2113, allocations: 8.891 kB / 0.7212 GB, free: 12.5 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002209/0.2115, allocations: 122.5 kB / 0.7213 GB, free: 12.36 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.2115, allocations: 384 / 0.7213 GB, free: 12.36 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.122e-05/0.2115, allocations: 4.375 kB / 0.7213 GB, free: 12.36 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003828/0.2119, allocations: 94.14 kB / 0.7214 GB, free: 12.26 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.2119, allocations: 3.938 kB / 0.7214 GB, free: 12.25 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.212, allocations: 0 / 0.7214 GB, free: 12.25 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.212, allocations: 0 / 0.7214 GB, free: 12.25 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004628/0.2124, allocations: 83.91 kB / 0.7215 GB, free: 12.17 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007397/0.2132, allocations: 295.7 kB / 0.7218 GB, free: 11.84 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002903/0.2135, allocations: 58.53 kB / 0.7218 GB, free: 11.77 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002266/0.2137, allocations: 40.91 kB / 0.7218 GB, free: 11.73 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.826e-05/0.2137, allocations: 0 / 0.7218 GB, free: 11.73 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.951e-05/0.2138, allocations: 34.56 kB / 0.7219 GB, free: 11.69 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.302e-06/0.2138, allocations: 3.938 kB / 0.7219 GB, free: 11.68 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0008078/0.2146, allocations: 145.5 kB / 0.722 GB, free: 11.54 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.3e-05/0.2146, allocations: 51.41 kB / 0.7221 GB, free: 11.47 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001324/0.2148, allocations: 113.8 kB / 0.7222 GB, free: 11.35 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.352e-05/0.2148, allocations: 25.7 kB / 0.7222 GB, free: 11.32 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.073e-05/0.2149, allocations: 96.08 kB / 0.7223 GB, free: 11.22 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.163e-05/0.2149, allocations: 15.89 kB / 0.7223 GB, free: 11.21 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.532e-05/0.2149, allocations: 17.72 kB / 0.7223 GB, free: 11.18 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001872/0.2151, allocations: 322.8 kB / 0.7226 GB, free: 10.86 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000223/0.2154, allocations: 31.97 kB / 0.7227 GB, free: 10.83 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002096/0.2156, allocations: 31.95 kB / 0.7227 GB, free: 10.8 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004299/0.216, allocations: 80.72 kB / 0.7228 GB, free: 10.71 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.216, allocations: 0 / 0.7228 GB, free: 10.71 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0005052/0.2165, allocations: 105.9 kB / 0.7229 GB, free: 10.61 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.2165, allocations: 4 kB / 0.7229 GB, free: 10.6 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.2165, allocations: 48 / 0.7229 GB, free: 10.6 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/0.2165, allocations: 3.984 kB / 0.7229 GB, free: 10.6 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001759/0.2167, allocations: 15.98 kB / 0.7229 GB, free: 10.58 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.261e-06/0.2167, allocations: 4 kB / 0.7229 GB, free: 10.58 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001238/0.2168, allocations: 15.97 kB / 0.7229 GB, free: 10.56 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.63e-05/0.2169, allocations: 4 kB / 0.7229 GB, free: 10.56 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.0001247/0.217, allocations: 117.8 kB / 0.723 GB, free: 10.43 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.801e-05/0.217, allocations: 7.953 kB / 0.723 GB, free: 10.43 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005575/0.2176, allocations: 113.5 kB / 0.7232 GB, free: 10.3 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.2176, allocations: 8 kB / 0.7232 GB, free: 10.29 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.2176, allocations: 0 / 0.7232 GB, free: 10.29 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.2176, allocations: 0 / 0.7232 GB, free: 10.29 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002788/0.2179, allocations: 148.6 kB / 0.7233 GB, free: 10.11 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.2179, allocations: 0 / 0.7233 GB, free: 10.11 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001445/0.218, allocations: 15.98 kB / 0.7233 GB, free: 10.09 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.218, allocations: 0 / 0.7233 GB, free: 10.09 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.442e-05/0.2181, allocations: 4 kB / 0.7233 GB, free: 10.09 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.2181, allocations: 0 / 0.7233 GB, free: 10.09 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2181, allocations: 3.938 kB / 0.7233 GB, free: 10.08 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005311/0.2186, allocations: 215.3 kB / 0.7235 GB, free: 9.855 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.075e-05/0.2186, allocations: 0 / 0.7235 GB, free: 9.855 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.908e-05/0.2186, allocations: 0 / 0.7235 GB, free: 9.855 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001574/0.2188, allocations: 11.98 kB / 0.7235 GB, free: 9.844 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.38e-05/0.2188, allocations: 3.984 kB / 0.7235 GB, free: 9.84 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.19e-05/0.2188, allocations: 4 kB / 0.7235 GB, free: 9.836 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.653e-05/0.2189, allocations: 95.27 kB / 0.7236 GB, free: 9.742 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2189, allocations: 0 / 0.7236 GB, free: 9.742 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003993/0.2193, allocations: 23.83 kB / 0.7237 GB, free: 9.719 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.000989/0.2203, allocations: 0.7281 MB / 0.7244 GB, free: 8.965 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005083/0.2208, allocations: 83.84 kB / 0.7245 GB, free: 8.883 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.2208, allocations: 0 / 0.7245 GB, free: 8.883 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002326/0.2211, allocations: 35.97 kB / 0.7245 GB, free: 8.848 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004821/0.2215, allocations: 11.98 kB / 0.7245 GB, free: 8.836 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002753/0.2243, allocations: 1.427 MB / 0.7259 GB, free: 7.332 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001121/0.2244, allocations: 76.72 kB / 0.726 GB, free: 7.238 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.74e-05/0.2245, allocations: 8 kB / 0.726 GB, free: 7.23 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.928e-05/0.2245, allocations: 23.36 kB / 0.726 GB, free: 7.207 MB / 0.545 GB Notification: Performance of SimCode: time 5.21e-07/0.2245, allocations: 0 / 0.726 GB, free: 7.207 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03645/0.261, allocations: 2.395 MB / 0.7283 GB, free: 4.957 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.41, allocations: 5.062 kB / 0.7283 GB, free: 4.953 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 & 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: 15.250387063715607] Failed to read output from testmodel.py, exit status != 0: 11.512111600954086 11.528275273 11.314569924 Calling exit ...