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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00135/0.00135, allocations: 110.8 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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.6.0-master/package.mo): time 0.9447/0.9447, allocations: 145.2 MB / 447.9 MB, free: 6.332 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.6.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001907/0.001907, allocations: 78.06 kB / 0.6199 GB, free: 1.383 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1791/0.181, allocations: 86.64 MB / 0.7045 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests): time 0.002736/0.1838, allocations: 1.474 MB / 0.706 GB, free: 9.215 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0008289/0.1846, allocations: 470.8 kB / 0.7064 GB, free: 8.75 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.167e-05/0.1847, allocations: 0 / 0.7064 GB, free: 8.75 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001029/0.1848, allocations: 11.94 kB / 0.7064 GB, free: 8.738 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.274e-05/0.1848, allocations: 15.86 kB / 0.7065 GB, free: 8.723 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002207/0.185, allocations: 39.88 kB / 0.7065 GB, free: 8.684 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001677/0.1852, allocations: 95.77 kB / 0.7066 GB, free: 8.59 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.619e-05/0.1853, allocations: 12.17 kB / 0.7066 GB, free: 8.578 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001218/0.1854, allocations: 51.83 kB / 0.7067 GB, free: 8.527 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.832e-05/0.1855, allocations: 35.89 kB / 0.7067 GB, free: 8.492 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.996e-05/0.1855, allocations: 8 kB / 0.7067 GB, free: 8.484 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.745e-05/0.1856, allocations: 11.94 kB / 0.7067 GB, free: 8.473 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.878e-05/0.1856, allocations: 19.98 kB / 0.7067 GB, free: 8.453 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.49e-05/0.1857, allocations: 39.8 kB / 0.7068 GB, free: 8.414 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000145/0.1858, allocations: 83.91 kB / 0.7068 GB, free: 8.332 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.1858, allocations: 0 / 0.7068 GB, free: 8.332 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.202e-06/0.1858, allocations: 0 / 0.7068 GB, free: 8.332 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.1858, allocations: 3.938 kB / 0.7068 GB, free: 8.328 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007462/0.1866, allocations: 450.5 kB / 0.7073 GB, free: 7.828 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.1866, allocations: 12.02 kB / 0.7073 GB, free: 7.816 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.94e-05/0.1867, allocations: 42.75 kB / 0.7073 GB, free: 7.766 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.825e-05/0.1867, allocations: 8.891 kB / 0.7073 GB, free: 7.758 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002169/0.1869, allocations: 184.3 kB / 0.7075 GB, free: 7.539 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.1869, allocations: 12.36 kB / 0.7075 GB, free: 7.527 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.552e-05/0.1869, allocations: 12.36 kB / 0.7075 GB, free: 7.516 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003167/0.1873, allocations: 117.5 kB / 0.7076 GB, free: 7.395 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.1873, allocations: 3.938 kB / 0.7077 GB, free: 7.391 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.464e-05/0.1873, allocations: 4 kB / 0.7077 GB, free: 7.387 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.1873, allocations: 0 / 0.7077 GB, free: 7.387 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002903/0.1876, allocations: 87.92 kB / 0.7077 GB, free: 7.301 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000559/0.1881, allocations: 332.7 kB / 0.7081 GB, free: 6.926 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003172/0.1885, allocations: 98.5 kB / 0.7081 GB, free: 6.82 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001773/0.1886, allocations: 68.94 kB / 0.7082 GB, free: 6.75 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.268e-05/0.1886, allocations: 3.938 kB / 0.7082 GB, free: 6.746 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003442/0.189, allocations: 119.3 kB / 0.7083 GB, free: 6.617 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=6): time 1.352e-06/0.189, allocations: 0 / 0.7083 GB, free: 6.617 MB / 0.5294 GB Notification: Performance of matching and sorting (n=6): time 0.0007097/0.1897, allocations: 275.2 kB / 0.7086 GB, free: 6.336 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.258e-05/0.1898, allocations: 85.11 kB / 0.7087 GB, free: 6.234 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001221/0.1899, allocations: 129.8 kB / 0.7088 GB, free: 6.098 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.837e-05/0.1899, allocations: 33.7 kB / 0.7088 GB, free: 6.059 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.99e-05/0.19, allocations: 99.97 kB / 0.7089 GB, free: 5.957 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.241e-05/0.19, allocations: 19.89 kB / 0.7089 GB, free: 5.938 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.365e-05/0.1901, allocations: 33.72 kB / 0.709 GB, free: 5.898 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.1902, allocations: 322.8 kB / 0.7093 GB, free: 5.574 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001834/0.1904, allocations: 63.95 kB / 0.7093 GB, free: 5.512 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001792/0.1906, allocations: 63.95 kB / 0.7094 GB, free: 5.449 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000355/0.191, allocations: 190 kB / 0.7096 GB, free: 5.242 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.191, allocations: 0 / 0.7096 GB, free: 5.242 MB / 0.5294 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000517/0.1915, allocations: 264.9 kB / 0.7098 GB, free: 4.965 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.328e-05/0.1915, allocations: 63.39 kB / 0.7099 GB, free: 4.891 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.1915, allocations: 0 / 0.7099 GB, free: 4.891 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.1916, allocations: 0 / 0.7099 GB, free: 4.891 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001194/0.1917, allocations: 20.23 kB / 0.7099 GB, free: 4.871 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.1917, allocations: 0 / 0.7099 GB, free: 4.871 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001506/0.1918, allocations: 31.91 kB / 0.71 GB, free: 4.84 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.914e-05/0.1919, allocations: 7.938 kB / 0.71 GB, free: 4.832 MB / 0.5294 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.0001537/0.192, allocations: 155.5 kB / 0.7101 GB, free: 4.664 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.984e-05/0.192, allocations: 11.89 kB / 0.7101 GB, free: 4.652 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.478e-05/0.1921, allocations: 12.38 kB / 0.7101 GB, free: 4.637 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.1921, allocations: 0 / 0.7101 GB, free: 4.637 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.1921, allocations: 0 / 0.7101 GB, free: 4.637 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.1921, allocations: 4 kB / 0.7101 GB, free: 4.633 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001827/0.1923, allocations: 193.5 kB / 0.7103 GB, free: 4.395 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1923, allocations: 0 / 0.7103 GB, free: 4.395 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.069e-05/0.1923, allocations: 11.98 kB / 0.7103 GB, free: 4.383 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.1923, allocations: 0 / 0.7103 GB, free: 4.383 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.76e-05/0.1924, allocations: 8 kB / 0.7103 GB, free: 4.375 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.1924, allocations: 0 / 0.7103 GB, free: 4.375 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1924, allocations: 0 / 0.7103 GB, free: 4.375 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005074/0.1929, allocations: 250.6 kB / 0.7106 GB, free: 4.105 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.017e-05/0.1929, allocations: 85.05 kB / 0.7107 GB, free: 4.004 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.765e-05/0.193, allocations: 4 kB / 0.7107 GB, free: 4 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001333/0.1931, allocations: 23.97 kB / 0.7107 GB, free: 3.977 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000127/0.1932, allocations: 31.97 kB / 0.7107 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.119e-05/0.1932, allocations: 3.938 kB / 0.7107 GB, free: 3.941 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 8.088e-05/0.1933, allocations: 110 kB / 0.7108 GB, free: 3.836 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1933, allocations: 3.938 kB / 0.7108 GB, free: 3.832 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002033/0.1935, allocations: 28 kB / 0.7109 GB, free: 3.805 MB / 0.5294 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.000853/0.1944, allocations: 0.7781 MB / 0.7116 GB, free: 2.992 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005141/0.1949, allocations: 258.6 kB / 0.7119 GB, free: 2.715 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1949, allocations: 0 / 0.7119 GB, free: 2.715 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002473/0.1951, allocations: 135.3 kB / 0.712 GB, free: 2.57 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002033/0.1953, allocations: 12.25 kB / 0.712 GB, free: 2.559 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002472/0.1978, allocations: 1.769 MB / 0.7137 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003488/0.1982, allocations: 0.6924 MB / 0.7144 GB, free: 15.98 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.401e-05/0.1982, allocations: 15.97 kB / 0.7144 GB, free: 15.96 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.912e-05/0.1983, allocations: 23.38 kB / 0.7144 GB, free: 15.94 MB / 0.545 GB Notification: Performance of SimCode: time 2.91e-07/0.1983, allocations: 0 / 0.7144 GB, free: 15.94 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02502/0.2233, allocations: 3.024 MB / 0.7174 GB, free: 13.04 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.595/7.819, allocations: 11.25 kB / 0.7174 GB, free: 13.03 MB / 0.545 GB " [Timeout remaining time 652] (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: 11.365082970820367] Failed to read output from testmodel.py, exit status != 0: 7.889236068818718 7.915001222 7.724601114 Calling exit ...