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.001537/0.001537, allocations: 110.6 kB / 18.94 MB, free: 2.789 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.001729/0.001729, allocations: 219.5 kB / 22.26 MB, free: 5.219 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.41/1.41, allocations: 230.6 MB / 256 MB, free: 8 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.8957/0.8957, allocations: 145 MB / 457.4 MB, free: 15.5 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.002334/0.002334, allocations: 66.5 kB / 0.6331 GB, free: 7.34 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1815/0.1838, allocations: 87.88 MB / 0.719 GB, free: 15.46 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests): time 0.003253/0.1871, allocations: 1.502 MB / 0.7204 GB, free: 13.95 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001156/0.1882, allocations: 0.5377 MB / 0.721 GB, free: 13.4 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001134/0.1884, allocations: 7.875 kB / 0.721 GB, free: 13.39 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001842/0.1885, allocations: 7.938 kB / 0.721 GB, free: 13.39 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.946e-05/0.1886, allocations: 7.875 kB / 0.721 GB, free: 13.38 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003041/0.1889, allocations: 51.86 kB / 0.721 GB, free: 13.33 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002574/0.1891, allocations: 99.7 kB / 0.7211 GB, free: 13.23 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001409/0.1893, allocations: 12.17 kB / 0.7211 GB, free: 13.22 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001971/0.1895, allocations: 55.84 kB / 0.7212 GB, free: 13.16 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 9.765e-05/0.1896, allocations: 51.81 kB / 0.7212 GB, free: 13.11 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.642e-05/0.1896, allocations: 8 kB / 0.7212 GB, free: 13.11 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 4.399e-05/0.1897, allocations: 8 kB / 0.7212 GB, free: 13.1 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.326e-05/0.1897, allocations: 19.92 kB / 0.7213 GB, free: 13.08 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001576/0.1899, allocations: 35.86 kB / 0.7213 GB, free: 13.04 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002122/0.1901, allocations: 91.62 kB / 0.7214 GB, free: 12.95 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.1901, allocations: 0 / 0.7214 GB, free: 12.95 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.533e-06/0.1901, allocations: 0 / 0.7214 GB, free: 12.95 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.593e-06/0.1901, allocations: 0 / 0.7214 GB, free: 12.95 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.0008013/0.1909, allocations: 385.4 kB / 0.7218 GB, free: 12.54 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.1909, allocations: 12.03 kB / 0.7218 GB, free: 12.52 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.052e-05/0.191, allocations: 34.75 kB / 0.7218 GB, free: 12.48 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001397/0.1911, allocations: 20.88 kB / 0.7218 GB, free: 12.46 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003715/0.1915, allocations: 130.4 kB / 0.7219 GB, free: 12.31 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.1915, allocations: 8.375 kB / 0.722 GB, free: 12.3 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.402e-05/0.1915, allocations: 12.31 kB / 0.722 GB, free: 12.29 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000326/0.1918, allocations: 125.5 kB / 0.7221 GB, free: 12.16 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.1919, allocations: 0 / 0.7221 GB, free: 12.16 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.1919, allocations: 4 kB / 0.7221 GB, free: 12.16 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.1919, allocations: 0 / 0.7221 GB, free: 12.16 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004074/0.1923, allocations: 87.92 kB / 0.7222 GB, free: 12.07 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000596/0.1929, allocations: 311.7 kB / 0.7225 GB, free: 11.72 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002974/0.1932, allocations: 94.44 kB / 0.7226 GB, free: 11.62 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001777/0.1933, allocations: 68.94 kB / 0.7226 GB, free: 11.55 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.383e-05/0.1934, allocations: 0 / 0.7226 GB, free: 11.55 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002839/0.1936, allocations: 123.3 kB / 0.7227 GB, free: 11.42 MB / 0.545 GB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.1936, allocations: 0 / 0.7227 GB, free: 11.42 MB / 0.545 GB Notification: Performance of matching and sorting (n=6): time 0.000715/0.1944, allocations: 279.1 kB / 0.723 GB, free: 11.13 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.339e-05/0.1944, allocations: 85.11 kB / 0.7231 GB, free: 11.03 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/0.1946, allocations: 129.2 kB / 0.7232 GB, free: 10.89 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.632e-05/0.1946, allocations: 37.7 kB / 0.7233 GB, free: 10.85 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.234e-05/0.1947, allocations: 100.1 kB / 0.7233 GB, free: 10.75 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.252e-05/0.1947, allocations: 16.5 kB / 0.7234 GB, free: 10.73 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.672e-05/0.1948, allocations: 29.7 kB / 0.7234 GB, free: 10.7 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.1949, allocations: 326.7 kB / 0.7237 GB, free: 10.37 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001835/0.1951, allocations: 63.94 kB / 0.7238 GB, free: 10.31 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000259/0.1953, allocations: 76.02 kB / 0.7238 GB, free: 10.23 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003581/0.1957, allocations: 177.9 kB / 0.724 GB, free: 10.04 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1957, allocations: 0 / 0.724 GB, free: 10.04 MB / 0.545 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004993/0.1962, allocations: 264.9 kB / 0.7243 GB, free: 9.762 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.221e-05/0.1963, allocations: 63.41 kB / 0.7243 GB, free: 9.688 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-06/0.1963, allocations: 0 / 0.7243 GB, free: 9.688 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.1963, allocations: 7.984 kB / 0.7243 GB, free: 9.68 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000109/0.1964, allocations: 11.98 kB / 0.7243 GB, free: 9.668 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.1964, allocations: 4 kB / 0.7243 GB, free: 9.664 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000139/0.1965, allocations: 19.92 kB / 0.7244 GB, free: 9.645 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.23e-05/0.1966, allocations: 19.86 kB / 0.7244 GB, free: 9.625 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.0001451/0.1967, allocations: 147.5 kB / 0.7245 GB, free: 9.465 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.637e-05/0.1967, allocations: 7.953 kB / 0.7245 GB, free: 9.457 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.558e-05/0.1968, allocations: 20.7 kB / 0.7245 GB, free: 9.434 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.1968, allocations: 4 kB / 0.7246 GB, free: 9.43 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.1968, allocations: 0 / 0.7246 GB, free: 9.43 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.1968, allocations: 0 / 0.7246 GB, free: 9.43 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001648/0.197, allocations: 164.6 kB / 0.7247 GB, free: 9.227 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.197, allocations: 0 / 0.7247 GB, free: 9.227 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.513e-05/0.197, allocations: 12.23 kB / 0.7247 GB, free: 9.215 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.197, allocations: 0 / 0.7247 GB, free: 9.215 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.639e-05/0.1971, allocations: 8 kB / 0.7247 GB, free: 9.207 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1971, allocations: 96 / 0.7247 GB, free: 9.207 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1971, allocations: 7.938 kB / 0.7247 GB, free: 9.199 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005875/0.1976, allocations: 250.6 kB / 0.725 GB, free: 8.93 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.696e-05/0.1977, allocations: 7.938 kB / 0.725 GB, free: 8.922 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.729e-05/0.1977, allocations: 8 kB / 0.725 GB, free: 8.914 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000128/0.1978, allocations: 19.98 kB / 0.725 GB, free: 8.895 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001164/0.1979, allocations: 43.94 kB / 0.7251 GB, free: 8.852 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.056e-05/0.1979, allocations: 0 / 0.7251 GB, free: 8.852 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.135e-05/0.198, allocations: 111.2 kB / 0.7252 GB, free: 8.742 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.198, allocations: 0 / 0.7252 GB, free: 8.742 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002068/0.1982, allocations: 23.94 kB / 0.7252 GB, free: 8.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: 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.0009109/0.1991, allocations: 0.7781 MB / 0.7259 GB, free: 7.906 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005092/0.1997, allocations: 254.6 kB / 0.7262 GB, free: 7.633 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.1997, allocations: 0 / 0.7262 GB, free: 7.633 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002441/0.1999, allocations: 135.3 kB / 0.7263 GB, free: 7.488 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002015/0.2001, allocations: 19.92 kB / 0.7263 GB, free: 7.469 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002644/0.2027, allocations: 1.763 MB / 0.7281 GB, free: 5.609 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003182/0.2031, allocations: 0.6924 MB / 0.7287 GB, free: 4.891 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.644e-05/0.2031, allocations: 7.984 kB / 0.7287 GB, free: 4.883 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.758e-05/0.2032, allocations: 23.44 kB / 0.7288 GB, free: 4.859 MB / 0.545 GB Notification: Performance of SimCode: time 5.01e-07/0.2032, allocations: 0 / 0.7288 GB, free: 4.859 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03312/0.2363, allocations: 3.231 MB / 0.7319 GB, free: 1.777 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.98/11.22, allocations: 8.484 kB / 0.7319 GB, free: 1.77 MB / 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_NumberOfRequests_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 14.726606477983296] Failed to read output from testmodel.py, exit status != 0: 11.330740476027131 11.345425076 11.152264456 Calling exit ...