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.001341/0.001341, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001551/0.001551, allocations: 216.2 kB / 22.26 MB, free: 5.082 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.406/1.406, allocations: 230.6 MB / 256 MB, free: 8.008 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.002528/0.002528, allocations: 280 kB / 312.7 MB, free: 2.812 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.192/1.192, allocations: 180.6 MB / 0.5369 GB, free: 12.98 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Controls.Continuous.Examples.NumberOfRequests,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_Continuous_Examples_NumberOfRequests",fmuType="me",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.002876/0.002876, allocations: 106.3 kB / 0.7396 GB, free: 27.98 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.162/0.1649, allocations: 95.38 MB / 0.8327 GB, free: 8.688 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.NumberOfRequests): time 0.002738/0.1676, allocations: 1.52 MB / 0.8342 GB, free: 7.156 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0009562/0.1686, allocations: 0.5238 MB / 0.8347 GB, free: 6.629 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.14e-05/0.1687, allocations: 3.938 kB / 0.8347 GB, free: 6.625 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 8.68e-05/0.1687, allocations: 11.92 kB / 0.8347 GB, free: 6.613 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.253e-05/0.1688, allocations: 15.88 kB / 0.8347 GB, free: 6.598 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002609/0.1691, allocations: 47.86 kB / 0.8348 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000176/0.1692, allocations: 99.7 kB / 0.8349 GB, free: 6.453 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.463e-05/0.1693, allocations: 12.17 kB / 0.8349 GB, free: 6.441 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000176/0.1695, allocations: 63.83 kB / 0.8349 GB, free: 6.379 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 8.819e-05/0.1696, allocations: 35.83 kB / 0.835 GB, free: 6.344 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.562e-05/0.1696, allocations: 8 kB / 0.835 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 5.249e-05/0.1697, allocations: 20 kB / 0.835 GB, free: 6.316 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.314e-05/0.1697, allocations: 15.92 kB / 0.835 GB, free: 6.301 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 6.02e-05/0.1698, allocations: 35.86 kB / 0.835 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001682/0.1699, allocations: 91.86 kB / 0.8351 GB, free: 6.176 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.17, allocations: 0 / 0.8351 GB, free: 6.176 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.263e-06/0.17, allocations: 0 / 0.8351 GB, free: 6.176 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.167e-06/0.17, allocations: 0 / 0.8351 GB, free: 6.176 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.0006694/0.1706, allocations: 381.4 kB / 0.8355 GB, free: 5.762 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.1707, allocations: 9.344 kB / 0.8355 GB, free: 5.754 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.974e-05/0.1707, allocations: 38.75 kB / 0.8355 GB, free: 5.707 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001431/0.1709, allocations: 20.88 kB / 0.8356 GB, free: 5.688 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002373/0.1711, allocations: 138.4 kB / 0.8357 GB, free: 5.527 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.415e-06/0.1711, allocations: 4.375 kB / 0.8357 GB, free: 5.523 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.439e-05/0.1711, allocations: 8.375 kB / 0.8357 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003008/0.1714, allocations: 121.5 kB / 0.8358 GB, free: 5.391 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.824e-06/0.1714, allocations: 0 / 0.8358 GB, free: 5.391 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.499e-05/0.1714, allocations: 8 kB / 0.8358 GB, free: 5.383 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.1714, allocations: 0 / 0.8358 GB, free: 5.383 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002918/0.1717, allocations: 87.92 kB / 0.8359 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005386/0.1723, allocations: 295.8 kB / 0.8362 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000326/0.1726, allocations: 110.4 kB / 0.8363 GB, free: 4.848 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001769/0.1728, allocations: 68.88 kB / 0.8364 GB, free: 4.777 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.657e-05/0.1728, allocations: 0 / 0.8364 GB, free: 4.777 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002991/0.1731, allocations: 123.3 kB / 0.8365 GB, free: 4.645 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=6): time 1.402e-06/0.1731, allocations: 4 kB / 0.8365 GB, free: 4.641 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6): time 0.0007449/0.1738, allocations: 279.2 kB / 0.8368 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.838e-05/0.1739, allocations: 89.09 kB / 0.8368 GB, free: 4.25 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/0.174, allocations: 130.1 kB / 0.837 GB, free: 4.109 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.457e-05/0.1741, allocations: 25.7 kB / 0.837 GB, free: 4.078 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.002e-05/0.1741, allocations: 96.09 kB / 0.8371 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.666e-05/0.1742, allocations: 27.91 kB / 0.8371 GB, free: 3.953 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.372e-05/0.1742, allocations: 33.64 kB / 0.8371 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.1744, allocations: 326.8 kB / 0.8375 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000196/0.1746, allocations: 63.95 kB / 0.8375 GB, free: 3.523 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001749/0.1747, allocations: 63.95 kB / 0.8376 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003477/0.1751, allocations: 185.9 kB / 0.8378 GB, free: 3.258 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.1751, allocations: 0 / 0.8378 GB, free: 3.258 MB / 0.5762 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005141/0.1756, allocations: 256.9 kB / 0.838 GB, free: 2.988 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 6.101e-05/0.1757, allocations: 67.39 kB / 0.8381 GB, free: 2.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.1757, allocations: 4 kB / 0.8381 GB, free: 2.906 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.1757, allocations: 0 / 0.8381 GB, free: 2.906 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001213/0.1758, allocations: 15.98 kB / 0.8381 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.411e-06/0.1758, allocations: 0 / 0.8381 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001521/0.176, allocations: 27.97 kB / 0.8381 GB, free: 2.863 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.924e-05/0.176, allocations: 8.031 kB / 0.8381 GB, free: 2.855 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.0001353/0.1761, allocations: 160.1 kB / 0.8383 GB, free: 2.684 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.397e-05/0.1761, allocations: 11.95 kB / 0.8383 GB, free: 2.672 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.447e-05/0.1762, allocations: 8.719 kB / 0.8383 GB, free: 2.656 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.1762, allocations: 0 / 0.8383 GB, free: 2.656 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.1762, allocations: 8 kB / 0.8383 GB, free: 2.648 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.1762, allocations: 0 / 0.8383 GB, free: 2.648 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001611/0.1763, allocations: 164.6 kB / 0.8385 GB, free: 2.445 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.1763, allocations: 0 / 0.8385 GB, free: 2.445 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.583e-05/0.1764, allocations: 11.98 kB / 0.8385 GB, free: 2.434 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.1764, allocations: 0 / 0.8385 GB, free: 2.434 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.758e-05/0.1764, allocations: 7.984 kB / 0.8385 GB, free: 2.426 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.1764, allocations: 4 kB / 0.8385 GB, free: 2.422 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.1764, allocations: 0 / 0.8385 GB, free: 2.422 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005027/0.1769, allocations: 254.5 kB / 0.8387 GB, free: 2.148 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.209e-05/0.177, allocations: 12.2 kB / 0.8387 GB, free: 2.137 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.704e-05/0.177, allocations: 4 kB / 0.8387 GB, free: 2.133 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001409/0.1771, allocations: 27.97 kB / 0.8388 GB, free: 2.105 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001387/0.1773, allocations: 31.95 kB / 0.8388 GB, free: 2.074 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.454e-05/0.1773, allocations: 8 kB / 0.8388 GB, free: 2.066 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 7.073e-05/0.1774, allocations: 106 kB / 0.8389 GB, free: 1.965 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1774, allocations: 0 / 0.8389 GB, free: 1.965 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002133/0.1776, allocations: 28 kB / 0.8389 GB, free: 1.938 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.0008139/0.1784, allocations: 0.778 MB / 0.8397 GB, free: 1.125 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000516/0.1789, allocations: 262.6 kB / 0.8399 GB, free: 0.8438 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1789, allocations: 0 / 0.8399 GB, free: 0.8438 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002434/0.1792, allocations: 123.4 kB / 0.8401 GB, free: 0.7109 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002239/0.1794, allocations: 19.98 kB / 0.8401 GB, free: 0.6914 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002499/0.1819, allocations: 1.765 MB / 0.8418 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002972/0.1822, allocations: 0.6885 MB / 0.8425 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 6.597e-05/0.1822, allocations: 11.98 kB / 0.8425 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.125e-05/0.1823, allocations: 23.42 kB / 0.8425 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of SimCode: time 7.71e-07/0.1823, allocations: 0 / 0.8425 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03165/0.214, allocations: 3.238 MB / 0.8457 GB, free: 11 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.33/10.54, allocations: 0 / 0.8457 GB, free: 11 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Controls_Continuous_Examples_NumberOfRequests.fmu > BuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.674024408999685] Failed to read output from testmodel.py, exit status != 0: 10.648798679998436 10.677765884 10.502650401 Calling exit ...