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.0008567/0.0008567, allocations: 76.55 kB / 19.92 MB, free: 4.621 MB / 18.57 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.001302/0.001302, allocations: 173.9 kB / 23.21 MB, free: 1.34 MB / 18.57 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 0.887/0.887, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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.5733/0.5733, allocations: 114 MB / 373.9 MB, free: 8.703 MB / 346.7 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: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 0.5541 GB, free: 2.844 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.976e-05/2.146e-05, allocations: 2.281 kB / 0.5541 GB, free: 2.84 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.NumberOfRequests): time 0.002035/0.002057, allocations: 1.502 MB / 0.5556 GB, free: 1.336 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0007002/0.002757, allocations: 498.8 kB / 0.5561 GB, free: 0.8438 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.507e-05/0.002822, allocations: 3.938 kB / 0.5561 GB, free: 0.8398 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0001017/0.002924, allocations: 7.922 kB / 0.5561 GB, free: 0.832 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 5.44e-05/0.002978, allocations: 19.81 kB / 0.5561 GB, free: 0.8125 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002624/0.00324, allocations: 47.81 kB / 0.5562 GB, free: 0.7656 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0001622/0.003403, allocations: 103.7 kB / 0.5562 GB, free: 0.6641 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.00351, allocations: 8.188 kB / 0.5563 GB, free: 0.6562 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000182/0.003692, allocations: 71.86 kB / 0.5563 GB, free: 0.5859 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 6.809e-05/0.00376, allocations: 35.95 kB / 0.5564 GB, free: 0.5508 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 2.097e-05/0.003781, allocations: 8 kB / 0.5564 GB, free: 0.543 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 4.217e-05/0.003823, allocations: 8 kB / 0.5564 GB, free: 0.5352 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 4.627e-05/0.003869, allocations: 19.91 kB / 0.5564 GB, free: 0.5156 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 4.958e-05/0.003919, allocations: 31.92 kB / 0.5564 GB, free: 496 kB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.000153/0.004072, allocations: 103.6 kB / 0.5565 GB, free: 392 kB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.004075, allocations: 4 kB / 0.5565 GB, free: 388 kB / 0.5105 GB Notification: Performance of FrontEnd: time 8.62e-07/0.004076, allocations: 0 / 0.5565 GB, free: 388 kB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.00408, allocations: 0 / 0.5565 GB, free: 388 kB / 0.5105 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.0005171/0.004597, allocations: 382.6 kB / 0.5569 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.004636, allocations: 8.625 kB / 0.5569 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.119e-05/0.004668, allocations: 38.75 kB / 0.5569 GB, free: 15.91 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.51e-05/0.004763, allocations: 20.88 kB / 0.557 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001861/0.004949, allocations: 125.7 kB / 0.5571 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.00496, allocations: 8.375 kB / 0.5571 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.517e-05/0.004975, allocations: 8.375 kB / 0.5571 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002176/0.005193, allocations: 147.8 kB / 0.5572 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.005201, allocations: 8.188 kB / 0.5572 GB, free: 15.56 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/0.005215, allocations: 3.938 kB / 0.5572 GB, free: 15.56 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.00522, allocations: 0 / 0.5572 GB, free: 15.56 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001641/0.005384, allocations: 121.6 kB / 0.5574 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003762/0.00576, allocations: 287.8 kB / 0.5576 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001875/0.005948, allocations: 136.1 kB / 0.5578 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001051/0.006053, allocations: 102.6 kB / 0.5579 GB, free: 14.85 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.397e-05/0.006067, allocations: 0 / 0.5579 GB, free: 14.85 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000204/0.006271, allocations: 153 kB / 0.558 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=6): time 9.32e-07/0.006272, allocations: 0 / 0.558 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of matching and sorting (n=6): time 0.0004492/0.006721, allocations: 342.6 kB / 0.5583 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.399e-05/0.006775, allocations: 81.11 kB / 0.5584 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.918e-05/0.006864, allocations: 135 kB / 0.5585 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.787e-05/0.006882, allocations: 33.7 kB / 0.5586 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.553e-05/0.006937, allocations: 96.08 kB / 0.5587 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.852e-05/0.006956, allocations: 19.84 kB / 0.5587 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.775e-05/0.007004, allocations: 33.66 kB / 0.5587 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.825e-05/0.007102, allocations: 322.8 kB / 0.559 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001292/0.007231, allocations: 127.3 kB / 0.5591 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001137/0.007345, allocations: 123.4 kB / 0.5593 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001909/0.007536, allocations: 181.9 kB / 0.5594 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.007538, allocations: 0 / 0.5594 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003219/0.00786, allocations: 320.4 kB / 0.5597 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.302e-05/0.007903, allocations: 63.41 kB / 0.5598 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.00791, allocations: 8 kB / 0.5598 GB, free: 12.67 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.007924, allocations: 0 / 0.5598 GB, free: 12.67 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.312e-05/0.007997, allocations: 15.97 kB / 0.5598 GB, free: 12.65 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.008003, allocations: 0 / 0.5598 GB, free: 12.65 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.147e-05/0.008075, allocations: 24.33 kB / 0.5598 GB, free: 12.63 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.552e-05/0.00809, allocations: 15.92 kB / 0.5599 GB, free: 12.61 MB / 0.5261 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.0001053/0.008195, allocations: 155.5 kB / 0.56 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.447e-05/0.00821, allocations: 11.95 kB / 0.56 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.036e-05/0.00824, allocations: 16.77 kB / 0.56 GB, free: 12.42 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.008242, allocations: 0 / 0.56 GB, free: 12.42 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.008249, allocations: 4 kB / 0.56 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.008253, allocations: 3.938 kB / 0.56 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.772e-05/0.008351, allocations: 148.7 kB / 0.5602 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.008351, allocations: 4 kB / 0.5602 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.581e-05/0.008387, allocations: 11.98 kB / 0.5602 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.008389, allocations: 0 / 0.5602 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.0084, allocations: 3.984 kB / 0.5602 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.008402, allocations: 4 kB / 0.5602 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.008403, allocations: 4 kB / 0.5602 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002904/0.008694, allocations: 272.3 kB / 0.5605 GB, free: 11.9 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 1.518e-05/0.008709, allocations: 15.89 kB / 0.5605 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.753e-05/0.008726, allocations: 0 / 0.5605 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.715e-05/0.008784, allocations: 23.97 kB / 0.5605 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/0.00889, allocations: 35.95 kB / 0.5605 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.829e-06/0.0089, allocations: 7.938 kB / 0.5606 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 5.021e-05/0.00895, allocations: 104.1 kB / 0.5607 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6e-08/0.00895, allocations: 0 / 0.5607 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001399/0.00909, allocations: 27.94 kB / 0.5607 GB, free: 11.69 MB / 0.5261 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.0004691/0.009559, allocations: 0.8109 MB / 0.5615 GB, free: 10.84 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003334/0.009893, allocations: 347.7 kB / 0.5618 GB, free: 10.45 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.009895, allocations: 0 / 0.5618 GB, free: 10.45 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001398/0.01003, allocations: 161 kB / 0.562 GB, free: 10.28 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001564/0.01019, allocations: 16.3 kB / 0.562 GB, free: 10.26 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001619/0.01181, allocations: 2.034 MB / 0.564 GB, free: 8.074 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.862e-05/0.01187, allocations: 79.64 kB / 0.564 GB, free: 7.977 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 4.426e-05/0.01191, allocations: 4 kB / 0.564 GB, free: 7.973 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.636e-05/0.01197, allocations: 28.48 kB / 0.5641 GB, free: 7.941 MB / 0.5261 GB Notification: Performance of SimCode: time 1.122e-06/0.01197, allocations: 4 kB / 0.5641 GB, free: 7.938 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01878/0.03075, allocations: 3.897 MB / 0.5679 GB, free: 4.207 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.69/6.721, allocations: 4.266 kB / 0.5679 GB, free: 4.207 MB / 0.5261 GB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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: 9.36428202316165] Failed to read output from testmodel.py, exit status != 0: 6.803230752237141 6.812670649 6.807060191 Calling exit ...