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.001839/0.001839, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.00272/0.00272, allocations: 210.3 kB / 22.99 MB, free: 4.609 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.559/1.559, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.9792/0.9792, allocations: 149.9 MB / 463 MB, free: 10.33 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.002075/0.002075, allocations: 68.34 kB / 0.641 GB, free: 10.18 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2314/0.2334, allocations: 89.18 MB / 0.7281 GB, free: 1.07 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.NumberOfRequests): time 0.003925/0.2374, allocations: 1.476 MB / 0.7296 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001335/0.2387, allocations: 498.8 kB / 0.73 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.487e-05/0.2388, allocations: 0 / 0.73 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001257/0.2389, allocations: 3.938 kB / 0.7301 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 9.211e-05/0.239, allocations: 23.84 kB / 0.7301 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000358/0.2394, allocations: 47.89 kB / 0.7301 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002591/0.2396, allocations: 107.6 kB / 0.7302 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000154/0.2398, allocations: 12.17 kB / 0.7302 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002536/0.24, allocations: 59.83 kB / 0.7303 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001166/0.2401, allocations: 31.84 kB / 0.7303 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.496e-05/0.2402, allocations: 8 kB / 0.7303 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 6.184e-05/0.2402, allocations: 12 kB / 0.7303 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.851e-05/0.2403, allocations: 19.91 kB / 0.7304 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.668e-05/0.2404, allocations: 39.84 kB / 0.7304 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002205/0.2406, allocations: 87.92 kB / 0.7305 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.2406, allocations: 4 kB / 0.7305 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.013e-06/0.2406, allocations: 0 / 0.7305 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.2406, allocations: 0 / 0.7305 GB, free: 14.64 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.0009147/0.2415, allocations: 381.4 kB / 0.7308 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.997e-05/0.2416, allocations: 12.03 kB / 0.7309 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.938e-05/0.2416, allocations: 42.69 kB / 0.7309 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002192/0.2419, allocations: 16.88 kB / 0.7309 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003654/0.2422, allocations: 134.4 kB / 0.731 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.95e-05/0.2422, allocations: 8.375 kB / 0.7311 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.944e-05/0.2423, allocations: 8.375 kB / 0.7311 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005352/0.2428, allocations: 147.2 kB / 0.7312 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.2428, allocations: 0 / 0.7312 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.448e-05/0.2428, allocations: 4 kB / 0.7312 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.2428, allocations: 0 / 0.7312 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005487/0.2434, allocations: 117.6 kB / 0.7313 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008799/0.2443, allocations: 299.8 kB / 0.7316 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005244/0.2448, allocations: 124.2 kB / 0.7317 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003064/0.2451, allocations: 94.64 kB / 0.7318 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.637e-05/0.2451, allocations: 4 kB / 0.7318 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005276/0.2457, allocations: 164.9 kB / 0.732 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=6): time 2.174e-06/0.2457, allocations: 0 / 0.732 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6): time 0.001301/0.247, allocations: 338.6 kB / 0.7323 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001073/0.2471, allocations: 81.11 kB / 0.7324 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002021/0.2473, allocations: 132.6 kB / 0.7325 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.497e-05/0.2473, allocations: 33.7 kB / 0.7325 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001899/0.2475, allocations: 96.08 kB / 0.7326 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.575e-05/0.2475, allocations: 23.84 kB / 0.7326 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001149/0.2477, allocations: 33.7 kB / 0.7327 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002272/0.2479, allocations: 322.8 kB / 0.733 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000407/0.2483, allocations: 119.4 kB / 0.7331 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004/0.2487, allocations: 139.2 kB / 0.7332 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000611/0.2493, allocations: 181.9 kB / 0.7334 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.2493, allocations: 4 kB / 0.7334 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009438/0.2503, allocations: 316.3 kB / 0.7337 GB, free: 11 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.127e-05/0.2503, allocations: 67.39 kB / 0.7338 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.2503, allocations: 0 / 0.7338 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.096e-05/0.2504, allocations: 3.984 kB / 0.7338 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001737/0.2505, allocations: 15.98 kB / 0.7338 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.2505, allocations: 0 / 0.7338 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002429/0.2508, allocations: 31.92 kB / 0.7338 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.494e-05/0.2508, allocations: 7.938 kB / 0.7338 GB, free: 10.86 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.0002048/0.251, allocations: 155.5 kB / 0.734 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.679e-05/0.2511, allocations: 7.953 kB / 0.734 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.376e-05/0.2511, allocations: 12.72 kB / 0.734 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.2511, allocations: 0 / 0.734 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.952e-06/0.2511, allocations: 0 / 0.734 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.2511, allocations: 0 / 0.734 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002473/0.2514, allocations: 156.7 kB / 0.7342 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.2514, allocations: 0 / 0.7342 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001311/0.2515, allocations: 19.98 kB / 0.7342 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.2515, allocations: 0 / 0.7342 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.06e-05/0.2515, allocations: 4 kB / 0.7342 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.2515, allocations: 3.938 kB / 0.7342 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2515, allocations: 0 / 0.7342 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000849/0.2524, allocations: 288.6 kB / 0.7345 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.59e-05/0.2524, allocations: 11.83 kB / 0.7345 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.998e-05/0.2525, allocations: 4.094 kB / 0.7345 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002046/0.2527, allocations: 27.91 kB / 0.7345 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001878/0.2528, allocations: 35.97 kB / 0.7345 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.291e-05/0.2529, allocations: 3.984 kB / 0.7345 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001216/0.253, allocations: 107.2 kB / 0.7346 GB, free: 9.949 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.71e-07/0.253, allocations: 0 / 0.7346 GB, free: 9.949 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003952/0.2534, allocations: 24 kB / 0.7347 GB, free: 9.926 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.001384/0.2548, allocations: 0.8109 MB / 0.7355 GB, free: 9.074 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008994/0.2557, allocations: 347.8 kB / 0.7358 GB, free: 8.691 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.624e-06/0.2557, allocations: 0 / 0.7358 GB, free: 8.691 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000425/0.2561, allocations: 157 kB / 0.7359 GB, free: 8.52 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003514/0.2565, allocations: 13.88 kB / 0.7359 GB, free: 8.508 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00454/0.261, allocations: 2.032 MB / 0.7379 GB, free: 6.32 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001021/0.2611, allocations: 71.33 kB / 0.738 GB, free: 6.23 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001006/0.2612, allocations: 19.84 kB / 0.738 GB, free: 6.211 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.758e-05/0.2613, allocations: 19.44 kB / 0.738 GB, free: 6.191 MB / 0.5606 GB Notification: Performance of SimCode: time 5.41e-07/0.2613, allocations: 0 / 0.738 GB, free: 6.191 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03286/0.2941, allocations: 3.769 MB / 0.7417 GB, free: 2.582 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/11.43, allocations: 6.406 kB / 0.7417 GB, free: 2.582 MB / 0.5606 GB " [Timeout remaining time 648] (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: 15.391271153930575] Failed to read output from testmodel.py, exit status != 0: 11.538943445775658 11.564300569 11.318731968 Calling exit ...