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.001322/0.001322, allocations: 106 kB / 16.45 MB, free: 6.453 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.001498/0.001498, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.43/1.43, allocations: 230.6 MB / 252.8 MB, free: 8.973 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.9073/0.9073, allocations: 145 MB / 453.8 MB, free: 0.7188 MB / 350.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.002035/0.002035, allocations: 62.38 kB / 0.628 GB, free: 10.64 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1828/0.1849, allocations: 87.83 MB / 0.7138 GB, free: 2.824 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Average): time 0.002903/0.1878, allocations: 1.549 MB / 0.7153 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003697/0.1881, allocations: 108.6 kB / 0.7154 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.917e-05/0.1882, allocations: 3.938 kB / 0.7154 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001333/0.1883, allocations: 7.938 kB / 0.7154 GB, free: 1.137 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.084e-05/0.1884, allocations: 11.86 kB / 0.7154 GB, free: 1.125 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002737/0.1886, allocations: 27.95 kB / 0.7155 GB, free: 1.098 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001316/0.1888, allocations: 63.78 kB / 0.7155 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001379/0.1889, allocations: 15.98 kB / 0.7155 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.744e-05/0.189, allocations: 31.91 kB / 0.7156 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.277e-05/0.189, allocations: 27.91 kB / 0.7156 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.1891, allocations: 7.938 kB / 0.7156 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.558e-05/0.1891, allocations: 8 kB / 0.7156 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.862e-05/0.1892, allocations: 19.92 kB / 0.7156 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.72e-05/0.1892, allocations: 23.86 kB / 0.7157 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001593/0.1894, allocations: 60.02 kB / 0.7157 GB, free: 0.8438 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.1894, allocations: 4 kB / 0.7157 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.993e-06/0.1894, allocations: 0 / 0.7157 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.1894, allocations: 0 / 0.7157 GB, free: 0.8398 MB / 0.5294 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.0006334/0.19, allocations: 383.1 kB / 0.7161 GB, free: 424 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/0.1901, allocations: 12.03 kB / 0.7161 GB, free: 412 kB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.452e-05/0.1901, allocations: 34.75 kB / 0.7161 GB, free: 368 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.863e-05/0.1902, allocations: 8.891 kB / 0.7161 GB, free: 360 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000205/0.1904, allocations: 188.2 kB / 0.7163 GB, free: 132 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.153e-06/0.1904, allocations: 4.375 kB / 0.7163 GB, free: 128 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.715e-05/0.1904, allocations: 4.375 kB / 0.7163 GB, free: 124 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003072/0.1907, allocations: 86.19 kB / 0.7164 GB, free: 32 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.1907, allocations: 3.938 kB / 0.7164 GB, free: 28 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.1907, allocations: 8 kB / 0.7164 GB, free: 20 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.1907, allocations: 0 / 0.7164 GB, free: 20 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003465/0.1911, allocations: 83.84 kB / 0.7165 GB, free: 15.94 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005854/0.1917, allocations: 332.7 kB / 0.7168 GB, free: 15.56 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002119/0.1919, allocations: 58.56 kB / 0.7169 GB, free: 15.5 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001642/0.192, allocations: 48.91 kB / 0.7169 GB, free: 15.45 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.106e-05/0.1921, allocations: 0 / 0.7169 GB, free: 15.45 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.757e-05/0.1921, allocations: 30.56 kB / 0.717 GB, free: 15.41 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 6.72e-07/0.1921, allocations: 0 / 0.717 GB, free: 15.41 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0005947/0.1927, allocations: 133.6 kB / 0.7171 GB, free: 15.27 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.717e-05/0.1927, allocations: 59.34 kB / 0.7171 GB, free: 15.2 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001004/0.1928, allocations: 117.8 kB / 0.7172 GB, free: 15.07 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.639e-05/0.1928, allocations: 25.7 kB / 0.7173 GB, free: 15.04 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.109e-05/0.1929, allocations: 96.08 kB / 0.7174 GB, free: 14.95 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.236e-05/0.1929, allocations: 19.78 kB / 0.7174 GB, free: 14.93 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.692e-05/0.193, allocations: 13.72 kB / 0.7174 GB, free: 14.91 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.1931, allocations: 326.8 kB / 0.7177 GB, free: 14.58 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000159/0.1932, allocations: 31.97 kB / 0.7177 GB, free: 14.55 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001491/0.1934, allocations: 35.95 kB / 0.7178 GB, free: 14.51 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003044/0.1937, allocations: 76.72 kB / 0.7178 GB, free: 14.43 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1937, allocations: 0 / 0.7178 GB, free: 14.43 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003552/0.1941, allocations: 105.6 kB / 0.7179 GB, free: 14.32 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.1941, allocations: 10.44 kB / 0.718 GB, free: 14.32 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.1941, allocations: 0 / 0.718 GB, free: 14.32 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/0.1941, allocations: 0 / 0.718 GB, free: 14.32 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001361/0.1942, allocations: 19.98 kB / 0.718 GB, free: 14.3 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.1942, allocations: 0 / 0.718 GB, free: 14.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.396e-05/0.1943, allocations: 11.98 kB / 0.718 GB, free: 14.29 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.352e-05/0.1944, allocations: 3.984 kB / 0.718 GB, free: 14.28 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.0001002/0.1945, allocations: 117.8 kB / 0.7181 GB, free: 14.16 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.978e-05/0.1945, allocations: 7.953 kB / 0.7181 GB, free: 14.15 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000398/0.1949, allocations: 113.5 kB / 0.7182 GB, free: 14.03 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.1949, allocations: 4 kB / 0.7182 GB, free: 14.02 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.1949, allocations: 0 / 0.7182 GB, free: 14.02 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.1949, allocations: 384 / 0.7182 GB, free: 14.02 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002081/0.1951, allocations: 181.6 kB / 0.7184 GB, free: 13.8 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.1951, allocations: 3.938 kB / 0.7184 GB, free: 13.79 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001072/0.1952, allocations: 19.98 kB / 0.7184 GB, free: 13.77 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1952, allocations: 0 / 0.7184 GB, free: 13.77 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.1952, allocations: 7.984 kB / 0.7184 GB, free: 13.77 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1952, allocations: 0 / 0.7184 GB, free: 13.77 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1952, allocations: 0 / 0.7184 GB, free: 13.77 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004063/0.1956, allocations: 203.4 kB / 0.7186 GB, free: 13.55 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.607e-05/0.1957, allocations: 81.11 kB / 0.7187 GB, free: 13.45 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.39e-05/0.1957, allocations: 4 kB / 0.7187 GB, free: 13.45 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001109/0.1958, allocations: 15.97 kB / 0.7187 GB, free: 13.43 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.723e-05/0.1958, allocations: 0 / 0.7187 GB, free: 13.43 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.057e-06/0.1958, allocations: 4 kB / 0.7187 GB, free: 13.43 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.027e-05/0.1959, allocations: 99.2 kB / 0.7188 GB, free: 13.33 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.1959, allocations: 0 / 0.7188 GB, free: 13.33 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002477/0.1962, allocations: 19.89 kB / 0.7188 GB, free: 13.31 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.0007358/0.1969, allocations: 0.7319 MB / 0.7195 GB, free: 12.55 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003773/0.1973, allocations: 79.91 kB / 0.7196 GB, free: 12.48 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1973, allocations: 0 / 0.7196 GB, free: 12.48 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001623/0.1974, allocations: 39.91 kB / 0.7197 GB, free: 12.44 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002753/0.1977, allocations: 7.984 kB / 0.7197 GB, free: 12.43 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00192/0.1996, allocations: 1.437 MB / 0.7211 GB, free: 10.91 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003354/0.2, allocations: 0.6885 MB / 0.7217 GB, free: 10.2 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.417e-05/0.2, allocations: 8.25 kB / 0.7218 GB, free: 10.19 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.178e-05/0.2, allocations: 15.42 kB / 0.7218 GB, free: 10.18 MB / 0.545 GB Notification: Performance of SimCode: time 3.81e-07/0.2, allocations: 4 kB / 0.7218 GB, free: 10.17 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02315/0.2232, allocations: 1.84 MB / 0.7236 GB, free: 8.422 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.931/8.154, allocations: 2.188 kB / 0.7236 GB, free: 8.422 MB / 0.545 GB " [Timeout remaining time 652] (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: 11.823884867990273] Failed to read output from testmodel.py, exit status != 0: 8.226691980002215 8.240777385 8.048551785 Calling exit ...