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.001707/0.001707, allocations: 110.1 kB / 19.73 MB, free: 2.242 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.002102/0.002102, allocations: 218.1 kB / 23.04 MB, free: 5.074 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.453/1.453, allocations: 230.6 MB / 256.8 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.8952/0.8952, allocations: 145 MB / 458.2 MB, free: 15.54 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_NumberOfRequests",fmuType="cs",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.002328/0.002328, allocations: 66.36 kB / 0.6339 GB, free: 7.344 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1785/0.1808, allocations: 87.88 MB / 0.7197 GB, free: 15.48 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests): time 0.002624/0.1834, allocations: 1.512 MB / 0.7212 GB, free: 13.95 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0009298/0.1843, allocations: 0.526 MB / 0.7217 GB, free: 13.42 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.478e-05/0.1844, allocations: 3.938 kB / 0.7217 GB, free: 13.42 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 8.899e-05/0.1845, allocations: 7.938 kB / 0.7217 GB, free: 13.41 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.475e-05/0.1845, allocations: 11.88 kB / 0.7217 GB, free: 13.4 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002372/0.1848, allocations: 47.86 kB / 0.7218 GB, free: 13.35 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001721/0.1849, allocations: 107.7 kB / 0.7219 GB, free: 13.25 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 8.492e-05/0.185, allocations: 8.172 kB / 0.7219 GB, free: 13.24 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000161/0.1852, allocations: 59.83 kB / 0.722 GB, free: 13.18 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.659e-05/0.1853, allocations: 43.83 kB / 0.722 GB, free: 13.14 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.194e-05/0.1853, allocations: 8 kB / 0.722 GB, free: 13.13 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 4.294e-05/0.1853, allocations: 12 kB / 0.722 GB, free: 13.12 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.984e-05/0.1854, allocations: 19.92 kB / 0.722 GB, free: 13.1 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.985e-05/0.1854, allocations: 35.86 kB / 0.7221 GB, free: 13.06 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001607/0.1856, allocations: 91.62 kB / 0.7222 GB, free: 12.97 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.1856, allocations: 0 / 0.7222 GB, free: 12.97 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.132e-06/0.1856, allocations: 0 / 0.7222 GB, free: 12.97 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.1856, allocations: 0 / 0.7222 GB, free: 12.97 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.0006762/0.1863, allocations: 385.4 kB / 0.7225 GB, free: 12.55 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.1863, allocations: 11.97 kB / 0.7225 GB, free: 12.54 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.549e-05/0.1863, allocations: 4.188 kB / 0.7225 GB, free: 12.54 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.542e-05/0.1864, allocations: 38.75 kB / 0.7226 GB, free: 12.49 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001512/0.1865, allocations: 20.88 kB / 0.7226 GB, free: 12.47 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002275/0.1868, allocations: 134.3 kB / 0.7227 GB, free: 12.32 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.089e-05/0.1868, allocations: 4.375 kB / 0.7227 GB, free: 12.31 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.669e-05/0.1868, allocations: 20.11 kB / 0.7227 GB, free: 12.29 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003053/0.1871, allocations: 105.6 kB / 0.7228 GB, free: 12.18 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.515e-06/0.1871, allocations: 4 kB / 0.7228 GB, free: 12.18 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.755e-05/0.1871, allocations: 8 kB / 0.7229 GB, free: 12.17 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.1871, allocations: 0 / 0.7229 GB, free: 12.17 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003047/0.1874, allocations: 87.92 kB / 0.7229 GB, free: 12.09 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005452/0.188, allocations: 307.7 kB / 0.7232 GB, free: 11.74 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003273/0.1883, allocations: 102.5 kB / 0.7233 GB, free: 11.63 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001879/0.1885, allocations: 64.94 kB / 0.7234 GB, free: 11.57 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.306e-05/0.1885, allocations: 0 / 0.7234 GB, free: 11.57 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003124/0.1888, allocations: 123.3 kB / 0.7235 GB, free: 11.43 MB / 0.545 GB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.1888, allocations: 0 / 0.7235 GB, free: 11.43 MB / 0.545 GB Notification: Performance of matching and sorting (n=6): time 0.0007515/0.1896, allocations: 283.1 kB / 0.7238 GB, free: 11.14 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.72e-05/0.1897, allocations: 81.11 kB / 0.7239 GB, free: 11.05 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000133/0.1898, allocations: 130.1 kB / 0.724 GB, free: 10.91 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.713e-05/0.1898, allocations: 29.7 kB / 0.724 GB, free: 10.87 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.867e-05/0.1899, allocations: 100.8 kB / 0.7241 GB, free: 10.77 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.557e-05/0.1899, allocations: 23.83 kB / 0.7241 GB, free: 10.75 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.678e-05/0.19, allocations: 33.7 kB / 0.7242 GB, free: 10.71 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.1901, allocations: 326.8 kB / 0.7245 GB, free: 10.38 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002011/0.1903, allocations: 59.95 kB / 0.7245 GB, free: 10.32 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001828/0.1905, allocations: 67.95 kB / 0.7246 GB, free: 10.25 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003572/0.1909, allocations: 185.9 kB / 0.7248 GB, free: 10.05 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.1909, allocations: 3.938 kB / 0.7248 GB, free: 10.05 MB / 0.545 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005209/0.1914, allocations: 257 kB / 0.725 GB, free: 9.777 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.563e-05/0.1915, allocations: 63.41 kB / 0.7251 GB, free: 9.703 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.1915, allocations: 7.984 kB / 0.7251 GB, free: 9.695 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.1915, allocations: 4 kB / 0.7251 GB, free: 9.691 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/0.1916, allocations: 15.92 kB / 0.7251 GB, free: 9.676 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.1916, allocations: 0 / 0.7251 GB, free: 9.676 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001487/0.1917, allocations: 31.84 kB / 0.7251 GB, free: 9.645 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.711e-05/0.1918, allocations: 4 kB / 0.7251 GB, free: 9.641 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.000146/0.1919, allocations: 147.5 kB / 0.7253 GB, free: 9.48 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.41e-05/0.1919, allocations: 11.95 kB / 0.7253 GB, free: 9.469 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.254e-05/0.192, allocations: 16.7 kB / 0.7253 GB, free: 9.449 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.192, allocations: 0 / 0.7253 GB, free: 9.449 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.192, allocations: 4 kB / 0.7253 GB, free: 9.445 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.192, allocations: 3.938 kB / 0.7253 GB, free: 9.441 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001707/0.1921, allocations: 164.7 kB / 0.7255 GB, free: 9.238 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.1922, allocations: 0 / 0.7255 GB, free: 9.238 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.361e-05/0.1922, allocations: 11.98 kB / 0.7255 GB, free: 9.227 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.1922, allocations: 3.984 kB / 0.7255 GB, free: 9.223 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/0.1923, allocations: 0 / 0.7255 GB, free: 9.223 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.1923, allocations: 4.25 kB / 0.7255 GB, free: 9.219 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.1923, allocations: 8 kB / 0.7255 GB, free: 9.211 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005053/0.1928, allocations: 246.6 kB / 0.7257 GB, free: 8.945 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.019e-05/0.1928, allocations: 11.94 kB / 0.7257 GB, free: 8.934 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.89e-05/0.1928, allocations: 8 kB / 0.7258 GB, free: 8.926 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001274/0.1929, allocations: 15.98 kB / 0.7258 GB, free: 8.91 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001199/0.1931, allocations: 35.95 kB / 0.7258 GB, free: 8.875 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.001e-05/0.1931, allocations: 15.92 kB / 0.7258 GB, free: 8.859 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.409e-05/0.1932, allocations: 98.22 kB / 0.7259 GB, free: 8.766 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.1932, allocations: 0 / 0.7259 GB, free: 8.766 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002093/0.1934, allocations: 31.94 kB / 0.7259 GB, free: 8.734 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.0008517/0.1942, allocations: 0.778 MB / 0.7267 GB, free: 7.922 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005225/0.1947, allocations: 254.9 kB / 0.7269 GB, free: 7.648 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1947, allocations: 0 / 0.7269 GB, free: 7.648 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000295/0.195, allocations: 135.3 kB / 0.7271 GB, free: 7.504 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002244/0.1953, allocations: 31.94 kB / 0.7271 GB, free: 7.473 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002533/0.1978, allocations: 1.762 MB / 0.7288 GB, free: 5.617 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003353/0.1981, allocations: 0.6924 MB / 0.7295 GB, free: 4.898 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.204e-05/0.1982, allocations: 7.984 kB / 0.7295 GB, free: 4.891 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.049e-05/0.1982, allocations: 27.36 kB / 0.7295 GB, free: 4.863 MB / 0.545 GB Notification: Performance of SimCode: time 6.51e-07/0.1982, allocations: 4 kB / 0.7295 GB, free: 4.859 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02425/0.2225, allocations: 3.245 MB / 0.7327 GB, free: 1.773 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.81/11.04, allocations: 13.02 kB / 0.7327 GB, free: 1.766 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 os._exit(0), Time elapsed: 14.727928730018903] Failed to read output from testmodel.py, exit status != 0: 11.202928573009558 11.228890547 11.038588845 Calling exit ...