Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.Continuous.Examples.NumberOfRequests.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 107 kB / 16.4 MB, free: 6.004 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001238/0.001238, allocations: 187.7 kB / 19.35 MB, free: 3.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.335/1.335, allocations: 222.9 MB / 245.1 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7765/0.7765, allocations: 132.2 MB / 429.4 MB, free: 5.941 MB / 334.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Controls.Continuous.Examples.NumberOfRequests,fileNamePrefix="IDEAS_IDEAS_Controls_Continuous_Examples_NumberOfRequests",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Continuous.Examples.NumberOfRequests,fileNamePrefix="IDEAS_IDEAS_Controls_Continuous_Examples_NumberOfRequests",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001827/0.001827, allocations: 67.31 kB / 0.5893 GB, free: 24.21 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1424/0.1443, allocations: 80.21 MB / 0.6677 GB, free: 9.984 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.NumberOfRequests): time 0.002822/0.1471, allocations: 1.465 MB / 0.6691 GB, free: 8.508 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009096/0.1481, allocations: 474.8 kB / 0.6695 GB, free: 8.039 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.164e-05/0.1481, allocations: 0 / 0.6695 GB, free: 8.039 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001026/0.1483, allocations: 3.938 kB / 0.6696 GB, free: 8.035 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.546e-05/0.1483, allocations: 15.84 kB / 0.6696 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002377/0.1486, allocations: 39.91 kB / 0.6696 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001848/0.1488, allocations: 103.8 kB / 0.6697 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.1489, allocations: 20.14 kB / 0.6697 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000155/0.1491, allocations: 43.84 kB / 0.6698 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.824e-05/0.1492, allocations: 47.77 kB / 0.6698 GB, free: 7.77 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.04e-05/0.1492, allocations: 8 kB / 0.6698 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.099e-05/0.1492, allocations: 8 kB / 0.6698 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.719e-05/0.1493, allocations: 11.98 kB / 0.6698 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.342e-05/0.1494, allocations: 47.78 kB / 0.6699 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001592/0.1495, allocations: 79.98 kB / 0.67 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.735e-06/0.1495, allocations: 0 / 0.67 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.613e-06/0.1495, allocations: 3.938 kB / 0.67 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.384e-06/0.1496, allocations: 4 kB / 0.67 GB, free: 7.609 MB / 0.4981 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.0007748/0.1503, allocations: 446.5 kB / 0.6704 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.113e-05/0.1504, allocations: 12.03 kB / 0.6704 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.04e-05/0.1505, allocations: 34.75 kB / 0.6704 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.071e-05/0.1505, allocations: 20.88 kB / 0.6705 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000216/0.1507, allocations: 188.2 kB / 0.6706 GB, free: 6.816 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/0.1508, allocations: 4.375 kB / 0.6706 GB, free: 6.812 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.918e-05/0.1508, allocations: 8.375 kB / 0.6706 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003214/0.1511, allocations: 113.5 kB / 0.6708 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.1511, allocations: 4 kB / 0.6708 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.1511, allocations: 0 / 0.6708 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.1512, allocations: 0 / 0.6708 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003169/0.1515, allocations: 99.8 kB / 0.6709 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005925/0.1521, allocations: 332.7 kB / 0.6712 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003322/0.1524, allocations: 102.5 kB / 0.6713 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001904/0.1526, allocations: 72.94 kB / 0.6713 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.423e-05/0.1527, allocations: 0 / 0.6713 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003699/0.153, allocations: 127.2 kB / 0.6715 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 1.613e-06/0.153, allocations: 0 / 0.6715 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0007487/0.1538, allocations: 275.2 kB / 0.6717 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.507e-05/0.1539, allocations: 89.09 kB / 0.6718 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001265/0.154, allocations: 129.1 kB / 0.6719 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.503e-05/0.154, allocations: 29.7 kB / 0.672 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.442e-05/0.1541, allocations: 104.1 kB / 0.6721 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.271e-05/0.1542, allocations: 11.91 kB / 0.6721 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.085e-05/0.1542, allocations: 33.7 kB / 0.6721 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001519/0.1544, allocations: 334.7 kB / 0.6724 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001911/0.1546, allocations: 59.95 kB / 0.6725 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001907/0.1548, allocations: 67.95 kB / 0.6725 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003662/0.1552, allocations: 181.9 kB / 0.6727 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.1552, allocations: 4 kB / 0.6727 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005295/0.1557, allocations: 264.9 kB / 0.673 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.015e-05/0.1558, allocations: 63.41 kB / 0.673 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.1558, allocations: 0 / 0.673 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.1558, allocations: 256 / 0.673 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001201/0.1559, allocations: 15.97 kB / 0.6731 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.154e-05/0.156, allocations: 8 kB / 0.6731 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001497/0.1561, allocations: 19.98 kB / 0.6731 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.025e-05/0.1561, allocations: 7.938 kB / 0.6731 GB, free: 4.113 MB / 0.4981 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.0001455/0.1563, allocations: 163.4 kB / 0.6732 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.634e-05/0.1563, allocations: 11.95 kB / 0.6733 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.229e-05/0.1564, allocations: 12.36 kB / 0.6733 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.1564, allocations: 0 / 0.6733 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.1564, allocations: 4 kB / 0.6733 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.451e-06/0.1564, allocations: 0 / 0.6733 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001883/0.1566, allocations: 193.5 kB / 0.6735 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.1566, allocations: 8 kB / 0.6735 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.052e-05/0.1567, allocations: 15.98 kB / 0.6735 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.1567, allocations: 3.938 kB / 0.6735 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.329e-05/0.1567, allocations: 0 / 0.6735 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1567, allocations: 0 / 0.6735 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1567, allocations: 4 kB / 0.6735 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00052/0.1573, allocations: 246.6 kB / 0.6737 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.212e-05/0.1573, allocations: 85.06 kB / 0.6738 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.808e-05/0.1574, allocations: 4 kB / 0.6738 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001396/0.1575, allocations: 23.97 kB / 0.6738 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001213/0.1576, allocations: 31.95 kB / 0.6739 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.361e-05/0.1576, allocations: 4 kB / 0.6739 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.989e-05/0.1577, allocations: 107.1 kB / 0.674 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1578, allocations: 4 kB / 0.674 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002089/0.158, allocations: 28 kB / 0.674 GB, free: 3.07 MB / 0.4981 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.0008601/0.1588, allocations: 0.7741 MB / 0.6747 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005344/0.1594, allocations: 278.6 kB / 0.675 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1594, allocations: 0 / 0.675 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002603/0.1597, allocations: 131.5 kB / 0.6751 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002175/0.1599, allocations: 16.11 kB / 0.6752 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002511/0.1624, allocations: 1.762 MB / 0.6769 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000331/0.1628, allocations: 0.6924 MB / 0.6776 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 5.437e-05/0.1628, allocations: 8 kB / 0.6776 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.811e-05/0.1629, allocations: 23.42 kB / 0.6776 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of SimCode: time 5.11e-07/0.1629, allocations: 0 / 0.6776 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02511/0.188, allocations: 2.987 MB / 0.6805 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.55/7.738, allocations: 15.81 kB / 0.6805 GB, free: 12.32 MB / 0.5137 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo IDEAS_IDEAS.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/IDEAS_IDEAS.Controls.Continuous.Examples.NumberOfRequests.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.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 IDEAS_IDEAS_Controls_Continuous_Examples_NumberOfRequests.fmu > IDEAS_IDEAS.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.080857801949605] Failed to read output from testmodel.py, exit status != 0: 7.814616033923812 7.828344948 7.676243192 Calling exit ...