Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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.001345/0.001345, allocations: 119.2 kB / 19.69 MB, free: 2.199 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.001534/0.001534, allocations: 227.2 kB / 23.01 MB, free: 5.043 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.393/1.393, allocations: 230.6 MB / 256.8 MB, free: 7.953 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9123/0.9123, allocations: 150 MB / 463.2 MB, free: 10.45 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Controls.Continuous.Examples.NumberOfRequests,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Examples_NumberOfRequests",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.Continuous.Examples.NumberOfRequests,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Examples_NumberOfRequests",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002355/0.002355, allocations: 62.22 kB / 0.6412 GB, free: 10.39 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1723/0.1747, allocations: 89.18 MB / 0.7283 GB, free: 1.266 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.NumberOfRequests): time 0.002938/0.1776, allocations: 1.508 MB / 0.7298 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001015/0.1786, allocations: 0.526 MB / 0.7303 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.493e-05/0.1787, allocations: 0 / 0.7303 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001063/0.1788, allocations: 11.88 kB / 0.7303 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.434e-05/0.1788, allocations: 11.88 kB / 0.7303 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002825/0.1791, allocations: 55.86 kB / 0.7304 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001891/0.1793, allocations: 99.75 kB / 0.7305 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.491e-05/0.1794, allocations: 8.188 kB / 0.7305 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001876/0.1796, allocations: 59.83 kB / 0.7305 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.898e-05/0.1797, allocations: 39.83 kB / 0.7306 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.44e-05/0.1797, allocations: 8 kB / 0.7306 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 4.874e-05/0.1798, allocations: 12 kB / 0.7306 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.258e-05/0.1798, allocations: 15.92 kB / 0.7306 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.124e-05/0.1799, allocations: 39.8 kB / 0.7307 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001801/0.1801, allocations: 103.8 kB / 0.7307 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1801, allocations: 0 / 0.7307 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.122e-06/0.1801, allocations: 0 / 0.7307 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.391e-06/0.1801, allocations: 0 / 0.7307 GB, free: 14.76 MB / 0.5606 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.0006894/0.1808, allocations: 381.4 kB / 0.7311 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.1808, allocations: 8.031 kB / 0.7311 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.727e-05/0.1809, allocations: 38.75 kB / 0.7312 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001622/0.181, allocations: 20.88 kB / 0.7312 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002503/0.1813, allocations: 138.3 kB / 0.7313 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.1813, allocations: 4.375 kB / 0.7313 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.172e-05/0.1813, allocations: 12.36 kB / 0.7313 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003067/0.1816, allocations: 113.6 kB / 0.7314 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.1816, allocations: 3.938 kB / 0.7314 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.583e-05/0.1816, allocations: 4 kB / 0.7314 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.1816, allocations: 4 kB / 0.7314 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002908/0.1819, allocations: 91.91 kB / 0.7315 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005439/0.1825, allocations: 295.8 kB / 0.7318 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003049/0.1828, allocations: 102.5 kB / 0.7319 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001734/0.183, allocations: 68.88 kB / 0.732 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.536e-05/0.183, allocations: 4 kB / 0.732 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002923/0.1833, allocations: 119.3 kB / 0.7321 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=6): time 1.713e-06/0.1833, allocations: 0 / 0.7321 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6): time 0.0006961/0.184, allocations: 279.2 kB / 0.7324 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.363e-05/0.184, allocations: 85.05 kB / 0.7324 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001228/0.1842, allocations: 136.2 kB / 0.7326 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.463e-05/0.1842, allocations: 33.7 kB / 0.7326 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.787e-05/0.1842, allocations: 100.1 kB / 0.7327 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.48e-05/0.1843, allocations: 19.84 kB / 0.7327 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.109e-05/0.1843, allocations: 37.7 kB / 0.7328 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.1845, allocations: 322.8 kB / 0.7331 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000185/0.1847, allocations: 63.95 kB / 0.7331 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001918/0.1849, allocations: 63.95 kB / 0.7332 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003387/0.1852, allocations: 181.9 kB / 0.7334 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.1852, allocations: 4 kB / 0.7334 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005196/0.1857, allocations: 264.9 kB / 0.7336 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.109e-05/0.1858, allocations: 67.39 kB / 0.7337 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.1858, allocations: 0 / 0.7337 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.1858, allocations: 4 kB / 0.7337 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001185/0.1859, allocations: 11.98 kB / 0.7337 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.1859, allocations: 0 / 0.7337 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001488/0.1861, allocations: 31.92 kB / 0.7337 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.708e-05/0.1861, allocations: 3.938 kB / 0.7337 GB, free: 11.44 MB / 0.5606 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.0001378/0.1862, allocations: 151.5 kB / 0.7339 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.961e-05/0.1862, allocations: 7.938 kB / 0.7339 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.51e-05/0.1863, allocations: 16.7 kB / 0.7339 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.1863, allocations: 0 / 0.7339 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.1863, allocations: 0 / 0.7339 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.1863, allocations: 3.984 kB / 0.7339 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000165/0.1865, allocations: 176.6 kB / 0.7341 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1865, allocations: 0 / 0.7341 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.355e-05/0.1865, allocations: 11.98 kB / 0.7341 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.1865, allocations: 4 kB / 0.7341 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/0.1866, allocations: 0 / 0.7341 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1866, allocations: 0 / 0.7341 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.442e-06/0.1866, allocations: 4.234 kB / 0.7341 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004992/0.1871, allocations: 254.6 kB / 0.7343 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.032e-05/0.1871, allocations: 11.95 kB / 0.7343 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.852e-05/0.1871, allocations: 8 kB / 0.7344 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001303/0.1872, allocations: 19.97 kB / 0.7344 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001265/0.1874, allocations: 31.91 kB / 0.7344 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.207e-05/0.1874, allocations: 15.92 kB / 0.7344 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 8.044e-05/0.1875, allocations: 111.1 kB / 0.7345 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.1875, allocations: 0 / 0.7345 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002091/0.1877, allocations: 24 kB / 0.7345 GB, free: 10.52 MB / 0.5606 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.0007956/0.1885, allocations: 0.7782 MB / 0.7353 GB, free: 9.703 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005211/0.189, allocations: 262.6 kB / 0.7356 GB, free: 9.422 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.189, allocations: 0 / 0.7356 GB, free: 9.422 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002375/0.1892, allocations: 131.4 kB / 0.7357 GB, free: 9.281 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002176/0.1895, allocations: 22.47 kB / 0.7357 GB, free: 9.262 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002363/0.1918, allocations: 1.763 MB / 0.7374 GB, free: 7.402 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003039/0.1921, allocations: 0.6924 MB / 0.7381 GB, free: 6.684 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 5.973e-05/0.1922, allocations: 15.84 kB / 0.7381 GB, free: 6.668 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.147e-05/0.1922, allocations: 23.42 kB / 0.7381 GB, free: 6.645 MB / 0.5606 GB Notification: Performance of SimCode: time 8.91e-07/0.1922, allocations: 0 / 0.7381 GB, free: 6.645 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02972/0.222, allocations: 3.231 MB / 0.7413 GB, free: 3.566 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.31/10.54, allocations: 10.69 kB / 0.7413 GB, free: 3.562 MB / 0.5606 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_Continuous_Examples_NumberOfRequests_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_Continuous_Examples_NumberOfRequests.fmu > IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.176731597166508] Failed to read output from testmodel.py, exit status != 0: 10.635426722932607 10.65043883 10.467289728 Calling exit ...