Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests.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.001347/0.001347, 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.001638/0.001638, allocations: 214 kB / 22.25 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.538/1.538, allocations: 230.6 MB / 256 MB, free: 7.785 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.9166/0.9166, allocations: 145 MB / 457.4 MB, free: 15.29 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.Controls.Continuous.Examples.NumberOfRequests,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_NumberOfRequests",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_NumberOfRequests",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.002026/0.002026, allocations: 70.94 kB / 0.6331 GB, free: 6.758 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1786/0.1806, allocations: 87.89 MB / 0.7189 GB, free: 14.89 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests): time 0.002667/0.1833, allocations: 1.475 MB / 0.7203 GB, free: 13.4 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0009433/0.1842, allocations: 0.4909 MB / 0.7208 GB, free: 12.9 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.378e-05/0.1843, allocations: 4 kB / 0.7208 GB, free: 12.9 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001244/0.1844, allocations: 7.875 kB / 0.7208 GB, free: 12.89 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.554e-05/0.1845, allocations: 19.84 kB / 0.7208 GB, free: 12.87 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002698/0.1848, allocations: 39.89 kB / 0.7209 GB, free: 12.83 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001863/0.1849, allocations: 99.8 kB / 0.721 GB, free: 12.73 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.1851, allocations: 16.12 kB / 0.721 GB, free: 12.72 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001817/0.1852, allocations: 51.84 kB / 0.721 GB, free: 12.67 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 9.66e-05/0.1853, allocations: 43.83 kB / 0.7211 GB, free: 12.62 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.662e-05/0.1854, allocations: 8 kB / 0.7211 GB, free: 12.62 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 4.875e-05/0.1854, allocations: 11.94 kB / 0.7211 GB, free: 12.61 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.882e-05/0.1855, allocations: 23.97 kB / 0.7211 GB, free: 12.58 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.093e-05/0.1855, allocations: 31.86 kB / 0.7212 GB, free: 12.55 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001738/0.1857, allocations: 91.62 kB / 0.7212 GB, free: 12.46 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.1857, allocations: 3.938 kB / 0.7212 GB, free: 12.46 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.873e-06/0.1857, allocations: 0 / 0.7212 GB, free: 12.46 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.126e-05/0.1857, allocations: 0 / 0.7212 GB, free: 12.46 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007208/0.1864, allocations: 393.4 kB / 0.7216 GB, free: 12.03 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.1865, allocations: 8.031 kB / 0.7216 GB, free: 12.02 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.265e-05/0.1865, allocations: 34.75 kB / 0.7217 GB, free: 11.98 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001455/0.1867, allocations: 20.88 kB / 0.7217 GB, free: 11.96 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002346/0.1869, allocations: 130.5 kB / 0.7218 GB, free: 11.81 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/0.1869, allocations: 8.359 kB / 0.7218 GB, free: 11.8 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.259e-05/0.1869, allocations: 4.375 kB / 0.7218 GB, free: 11.8 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003344/0.1873, allocations: 151.2 kB / 0.722 GB, free: 11.64 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.1873, allocations: 4 kB / 0.722 GB, free: 11.63 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.685e-05/0.1873, allocations: 8 kB / 0.722 GB, free: 11.62 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.1873, allocations: 0 / 0.722 GB, free: 11.62 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003136/0.1876, allocations: 113.6 kB / 0.7221 GB, free: 11.51 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000536/0.1881, allocations: 295.8 kB / 0.7224 GB, free: 11.18 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003479/0.1885, allocations: 128.2 kB / 0.7225 GB, free: 11.04 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002013/0.1887, allocations: 102.6 kB / 0.7226 GB, free: 10.93 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.823e-05/0.1887, allocations: 0 / 0.7226 GB, free: 10.93 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003199/0.189, allocations: 157 kB / 0.7227 GB, free: 10.75 MB / 0.545 GB Notification: Performance of pre-optimization done (n=6): time 1.433e-06/0.189, allocations: 0 / 0.7227 GB, free: 10.75 MB / 0.545 GB Notification: Performance of matching and sorting (n=6): time 0.000755/0.1898, allocations: 334.6 kB / 0.7231 GB, free: 10.4 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.843e-05/0.1899, allocations: 85.11 kB / 0.7231 GB, free: 10.3 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/0.19, allocations: 136.7 kB / 0.7233 GB, free: 10.16 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.718e-05/0.19, allocations: 29.7 kB / 0.7233 GB, free: 10.12 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.183e-05/0.1901, allocations: 100.7 kB / 0.7234 GB, free: 10.02 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.206e-05/0.1901, allocations: 15.84 kB / 0.7234 GB, free: 10 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.351e-05/0.1902, allocations: 33.7 kB / 0.7234 GB, free: 9.965 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.1903, allocations: 322.8 kB / 0.7237 GB, free: 9.641 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002237/0.1905, allocations: 119.4 kB / 0.7239 GB, free: 9.512 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002151/0.1907, allocations: 135.3 kB / 0.724 GB, free: 9.367 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003437/0.1911, allocations: 185.9 kB / 0.7242 GB, free: 9.164 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1911, allocations: 0 / 0.7242 GB, free: 9.164 MB / 0.545 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005467/0.1916, allocations: 320.3 kB / 0.7245 GB, free: 8.82 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.267e-05/0.1917, allocations: 71.39 kB / 0.7245 GB, free: 8.738 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.1917, allocations: 256 / 0.7245 GB, free: 8.738 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.1917, allocations: 0 / 0.7245 GB, free: 8.738 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001208/0.1918, allocations: 19.98 kB / 0.7246 GB, free: 8.719 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.1918, allocations: 0 / 0.7246 GB, free: 8.719 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000141/0.192, allocations: 19.97 kB / 0.7246 GB, free: 8.699 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.811e-05/0.192, allocations: 7.938 kB / 0.7246 GB, free: 8.691 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: 6 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,numReq.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 2 * 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.0001352/0.1921, allocations: 159.5 kB / 0.7247 GB, free: 8.52 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.152e-05/0.1922, allocations: 11.95 kB / 0.7247 GB, free: 8.508 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.734e-05/0.1922, allocations: 12.72 kB / 0.7248 GB, free: 8.488 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.1922, allocations: 0 / 0.7248 GB, free: 8.488 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.1922, allocations: 0 / 0.7248 GB, free: 8.488 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.1922, allocations: 0 / 0.7248 GB, free: 8.488 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001516/0.1924, allocations: 160.7 kB / 0.7249 GB, free: 8.289 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1924, allocations: 0 / 0.7249 GB, free: 8.289 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.163e-05/0.1924, allocations: 11.98 kB / 0.7249 GB, free: 8.277 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.1924, allocations: 4 kB / 0.7249 GB, free: 8.273 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/0.1925, allocations: 0 / 0.7249 GB, free: 8.273 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1925, allocations: 0 / 0.7249 GB, free: 8.273 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1925, allocations: 4 kB / 0.7249 GB, free: 8.27 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005166/0.193, allocations: 284.3 kB / 0.7252 GB, free: 7.961 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.531e-05/0.193, allocations: 3.953 kB / 0.7252 GB, free: 7.957 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.677e-05/0.193, allocations: 8 kB / 0.7252 GB, free: 7.949 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001299/0.1931, allocations: 19.97 kB / 0.7252 GB, free: 7.93 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001176/0.1933, allocations: 35.91 kB / 0.7253 GB, free: 7.895 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-05/0.1933, allocations: 7.984 kB / 0.7253 GB, free: 7.887 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.867e-05/0.1933, allocations: 107.2 kB / 0.7254 GB, free: 7.781 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.1933, allocations: 0 / 0.7254 GB, free: 7.781 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002033/0.1936, allocations: 27.94 kB / 0.7254 GB, free: 7.754 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: 4 ($whenCondition1,numReq.y,pulse.T_start,pulse.count) * Number of discrete states: 2 (pulse.count,numReq.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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.0008197/0.1944, allocations: 0.8181 MB / 0.7262 GB, free: 6.898 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005538/0.1949, allocations: 351.7 kB / 0.7265 GB, free: 6.512 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.1949, allocations: 0 / 0.7265 GB, free: 6.512 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002689/0.1952, allocations: 165.2 kB / 0.7267 GB, free: 6.332 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000216/0.1954, allocations: 25.89 kB / 0.7267 GB, free: 6.309 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002566/0.198, allocations: 2.031 MB / 0.7287 GB, free: 4.129 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.506e-05/0.198, allocations: 71.58 kB / 0.7288 GB, free: 4.039 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.246e-05/0.1981, allocations: 8 kB / 0.7288 GB, free: 4.031 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.678e-05/0.1982, allocations: 23.42 kB / 0.7288 GB, free: 4.008 MB / 0.545 GB Notification: Performance of SimCode: time 4.01e-07/0.1982, allocations: 4 kB / 0.7288 GB, free: 4.004 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03266/0.2308, allocations: 3.737 MB / 0.7325 GB, free: 428 kB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.98/11.21, allocations: 6.172 kB / 0.7325 GB, free: 424 kB / 0.545 GB " [Timeout remaining time 649] (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests_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_Controls_Continuous_Examples_NumberOfRequests.fmu > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.247900004964322] Failed to read output from testmodel.py, exit status != 0: 11.318540526088327 11.345400369 11.154670234 Calling exit ...