Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001264/0.001264, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001414/0.001414, allocations: 220.3 kB / 23.03 MB, free: 4.941 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.408/1.408, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002563/0.002563, allocations: 289.4 kB / 313.5 MB, free: 2.617 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.188/1.188, allocations: 180.6 MB / 0.5377 GB, free: 14.54 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Controls.Continuous.Examples.NumberOfRequests,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_Continuous_Examples_NumberOfRequests",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Controls.Continuous.Examples.NumberOfRequests,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_Continuous_Examples_NumberOfRequests",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002903/0.002903, allocations: 103.1 kB / 0.7402 GB, free: 28.06 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1741/0.177, allocations: 95.38 MB / 0.8334 GB, free: 8.359 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.NumberOfRequests): time 0.002738/0.1798, allocations: 1.491 MB / 0.8348 GB, free: 6.855 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0008997/0.1807, allocations: 488.5 kB / 0.8353 GB, free: 6.375 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.027e-05/0.1807, allocations: 3.938 kB / 0.8353 GB, free: 6.371 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 8.276e-05/0.1808, allocations: 11.92 kB / 0.8353 GB, free: 6.359 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.837e-05/0.1808, allocations: 11.88 kB / 0.8353 GB, free: 6.348 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002527/0.1811, allocations: 51.86 kB / 0.8354 GB, free: 6.297 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001688/0.1813, allocations: 99.7 kB / 0.8355 GB, free: 6.199 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 8.367e-05/0.1814, allocations: 12.17 kB / 0.8355 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001589/0.1815, allocations: 59.84 kB / 0.8355 GB, free: 6.129 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 8.503e-05/0.1816, allocations: 43.81 kB / 0.8356 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.301e-05/0.1816, allocations: 8 kB / 0.8356 GB, free: 6.078 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 4.438e-05/0.1817, allocations: 12 kB / 0.8356 GB, free: 6.066 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.138e-05/0.1817, allocations: 15.92 kB / 0.8356 GB, free: 6.051 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 6.507e-05/0.1818, allocations: 35.86 kB / 0.8356 GB, free: 6.016 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001597/0.1819, allocations: 87.92 kB / 0.8357 GB, free: 5.93 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.1819, allocations: 7.984 kB / 0.8357 GB, free: 5.922 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.123e-06/0.1819, allocations: 0 / 0.8357 GB, free: 5.922 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.1819, allocations: 0 / 0.8357 GB, free: 5.922 MB / 0.5762 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.0006441/0.1826, allocations: 381.4 kB / 0.8361 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.1826, allocations: 9.344 kB / 0.8361 GB, free: 5.5 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.81e-05/0.1826, allocations: 192 / 0.8361 GB, free: 5.5 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.202e-05/0.1827, allocations: 42.73 kB / 0.8361 GB, free: 5.449 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001567/0.1828, allocations: 16.89 kB / 0.8362 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000204/0.183, allocations: 134.4 kB / 0.8363 GB, free: 5.277 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.087e-05/0.1831, allocations: 12.38 kB / 0.8363 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.629e-05/0.1831, allocations: 16.06 kB / 0.8363 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000335/0.1834, allocations: 147.3 kB / 0.8365 GB, free: 5.094 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.1834, allocations: 0 / 0.8365 GB, free: 5.094 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/0.1835, allocations: 7.922 kB / 0.8365 GB, free: 5.086 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.1835, allocations: 4 kB / 0.8365 GB, free: 5.082 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003345/0.1838, allocations: 125.6 kB / 0.8366 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005148/0.1843, allocations: 283.8 kB / 0.8369 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003402/0.1846, allocations: 132.1 kB / 0.837 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002114/0.1849, allocations: 94.64 kB / 0.8371 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.156e-05/0.1849, allocations: 0 / 0.8371 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003353/0.1852, allocations: 161 kB / 0.8372 GB, free: 4.211 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=6): time 1.392e-06/0.1852, allocations: 0 / 0.8372 GB, free: 4.211 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6): time 0.0007705/0.186, allocations: 338.5 kB / 0.8376 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.821e-05/0.1861, allocations: 85.09 kB / 0.8376 GB, free: 3.754 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001187/0.1862, allocations: 128.5 kB / 0.8378 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.7e-05/0.1862, allocations: 37.69 kB / 0.8378 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.41e-05/0.1863, allocations: 88.14 kB / 0.8379 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.859e-05/0.1863, allocations: 23.84 kB / 0.8379 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.959e-05/0.1864, allocations: 37.66 kB / 0.8379 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.1865, allocations: 326.8 kB / 0.8382 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002267/0.1867, allocations: 119.4 kB / 0.8384 GB, free: 2.961 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002223/0.187, allocations: 123.3 kB / 0.8385 GB, free: 2.828 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003499/0.1873, allocations: 181.9 kB / 0.8387 GB, free: 2.629 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1873, allocations: 7.938 kB / 0.8387 GB, free: 2.621 MB / 0.5762 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005534/0.1879, allocations: 320.4 kB / 0.839 GB, free: 2.277 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 6.06e-05/0.1879, allocations: 67.39 kB / 0.839 GB, free: 2.199 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.1879, allocations: 0 / 0.839 GB, free: 2.199 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.188, allocations: 0 / 0.839 GB, free: 2.199 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.1881, allocations: 11.98 kB / 0.839 GB, free: 2.188 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.707e-06/0.1881, allocations: 4.094 kB / 0.839 GB, free: 2.184 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001485/0.1882, allocations: 39.78 kB / 0.8391 GB, free: 2.145 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.744e-05/0.1882, allocations: 4 kB / 0.8391 GB, free: 2.141 MB / 0.5762 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.0001356/0.1884, allocations: 156.2 kB / 0.8392 GB, free: 1.973 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.163e-05/0.1884, allocations: 7.953 kB / 0.8392 GB, free: 1.965 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.327e-05/0.1884, allocations: 8.719 kB / 0.8393 GB, free: 1.949 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.1884, allocations: 4 kB / 0.8393 GB, free: 1.945 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.1884, allocations: 0 / 0.8393 GB, free: 1.945 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.1884, allocations: 3.938 kB / 0.8393 GB, free: 1.941 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000153/0.1886, allocations: 148.7 kB / 0.8394 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1886, allocations: 8.188 kB / 0.8394 GB, free: 1.746 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.803e-05/0.1887, allocations: 15.98 kB / 0.8394 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.1887, allocations: 4 kB / 0.8394 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.568e-05/0.1887, allocations: 4 kB / 0.8394 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.1887, allocations: 0 / 0.8394 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1887, allocations: 0 / 0.8394 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005264/0.1892, allocations: 284.2 kB / 0.8397 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.803e-05/0.1892, allocations: 11.89 kB / 0.8397 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.732e-05/0.1893, allocations: 8 kB / 0.8397 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001365/0.1894, allocations: 19.97 kB / 0.8397 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001164/0.1895, allocations: 35.95 kB / 0.8398 GB, free: 1.34 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.46e-05/0.1895, allocations: 7.938 kB / 0.8398 GB, free: 1.332 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 7.635e-05/0.1896, allocations: 105.2 kB / 0.8399 GB, free: 1.23 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1896, allocations: 0 / 0.8399 GB, free: 1.23 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002106/0.1898, allocations: 20 kB / 0.8399 GB, free: 1.211 MB / 0.5762 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.0008265/0.1907, allocations: 0.8148 MB / 0.8407 GB, free: 364 kB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005722/0.1912, allocations: 347.8 kB / 0.841 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1912, allocations: 0 / 0.841 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002661/0.1915, allocations: 153 kB / 0.8412 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002123/0.1917, allocations: 28.48 kB / 0.8412 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002585/0.1943, allocations: 2.03 MB / 0.8432 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.113e-05/0.1944, allocations: 79.58 kB / 0.8433 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.787e-05/0.1944, allocations: 7.984 kB / 0.8433 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.121e-05/0.1945, allocations: 27.42 kB / 0.8433 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of SimCode: time 6.91e-07/0.1945, allocations: 0 / 0.8433 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02305/0.2175, allocations: 3.369 MB / 0.8466 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.8/11.02, allocations: 4 kB / 0.8466 GB, free: 10.27 MB / 0.5919 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequests.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Controls_Continuous_Examples_NumberOfRequests_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Controls_Continuous_Examples_NumberOfRequests.fmu > BuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.105832644971088] Failed to read output from testmodel.py, exit status != 0: 11.18022038997151 11.209834718 11.022153498 Calling exit ...