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.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.001339/0.001339, allocations: 110.6 kB / 18.94 MB, free: 2.789 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.001479/0.001479, allocations: 218.4 kB / 22.26 MB, free: 5.219 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.367/1.367, allocations: 230.6 MB / 256 MB, free: 8.012 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.8062/0.8062, allocations: 134 MB / 446.4 MB, free: 10.16 MB / 350.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.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(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: IDEAS 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.001896/0.001896, allocations: 67.83 kB / 0.6185 GB, free: 7.215 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1735/0.1754, allocations: 85.9 MB / 0.7024 GB, free: 1.391 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.NumberOfRequests): time 0.002696/0.1781, allocations: 1.502 MB / 0.7039 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0009543/0.1791, allocations: 0.5376 MB / 0.7044 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.82e-05/0.1791, allocations: 3.938 kB / 0.7044 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 9.824e-05/0.1792, allocations: 7.875 kB / 0.7044 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.915e-05/0.1793, allocations: 11.88 kB / 0.7044 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002825/0.1796, allocations: 51.86 kB / 0.7045 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001911/0.1797, allocations: 99.77 kB / 0.7046 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.644e-05/0.1798, allocations: 12.17 kB / 0.7046 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001765/0.18, allocations: 63.77 kB / 0.7046 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 9.916e-05/0.1801, allocations: 35.89 kB / 0.7047 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.389e-05/0.1801, allocations: 8 kB / 0.7047 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 4.792e-05/0.1802, allocations: 16 kB / 0.7047 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.066e-05/0.1802, allocations: 11.92 kB / 0.7047 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.546e-05/0.1803, allocations: 39.8 kB / 0.7047 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001651/0.1805, allocations: 95.91 kB / 0.7048 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.1805, allocations: 0 / 0.7048 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.282e-06/0.1805, allocations: 4 kB / 0.7048 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.57e-06/0.1805, allocations: 0 / 0.7048 GB, free: 14.88 MB / 0.5294 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.0007171/0.1812, allocations: 377.4 kB / 0.7052 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.1812, allocations: 8.031 kB / 0.7052 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.709e-05/0.1813, allocations: 38.73 kB / 0.7052 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001394/0.1814, allocations: 16.89 kB / 0.7053 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002327/0.1816, allocations: 150.3 kB / 0.7054 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.654e-05/0.1817, allocations: 8.375 kB / 0.7054 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.221e-05/0.1817, allocations: 8.375 kB / 0.7054 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003175/0.182, allocations: 117.5 kB / 0.7055 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.182, allocations: 0 / 0.7055 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.182, allocations: 0 / 0.7055 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.182, allocations: 4 kB / 0.7055 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002837/0.1823, allocations: 87.92 kB / 0.7056 GB, free: 14 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005404/0.1829, allocations: 299.8 kB / 0.7059 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003068/0.1832, allocations: 102.5 kB / 0.706 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001671/0.1833, allocations: 64.94 kB / 0.7061 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.644e-05/0.1833, allocations: 7.938 kB / 0.7061 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003616/0.1837, allocations: 123.3 kB / 0.7062 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.1837, allocations: 0 / 0.7062 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of matching and sorting (n=6): time 0.0007178/0.1844, allocations: 279.2 kB / 0.7065 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.583e-05/0.1845, allocations: 89.03 kB / 0.7065 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001198/0.1846, allocations: 136.5 kB / 0.7067 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.842e-05/0.1846, allocations: 29.7 kB / 0.7067 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.379e-05/0.1847, allocations: 92.14 kB / 0.7068 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.079e-05/0.1847, allocations: 27.89 kB / 0.7068 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.217e-05/0.1848, allocations: 29.72 kB / 0.7068 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.1849, allocations: 322.8 kB / 0.7072 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001833/0.1851, allocations: 67.95 kB / 0.7072 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001726/0.1853, allocations: 67.94 kB / 0.7073 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000331/0.1856, allocations: 181.8 kB / 0.7075 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.1856, allocations: 0 / 0.7075 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004873/0.1861, allocations: 261 kB / 0.7077 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.057e-05/0.1862, allocations: 63.39 kB / 0.7078 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.1862, allocations: 0 / 0.7078 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.1862, allocations: 0 / 0.7078 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001152/0.1863, allocations: 19.92 kB / 0.7078 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.1863, allocations: 0 / 0.7078 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001396/0.1865, allocations: 27.92 kB / 0.7078 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.95e-05/0.1865, allocations: 11.94 kB / 0.7078 GB, free: 11.56 MB / 0.5294 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.0001389/0.1866, allocations: 159.4 kB / 0.708 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.092e-05/0.1866, allocations: 7.953 kB / 0.708 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.983e-05/0.1867, allocations: 12.72 kB / 0.708 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.1867, allocations: 3.984 kB / 0.708 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.1867, allocations: 0 / 0.708 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/0.1867, allocations: 4.078 kB / 0.708 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001589/0.1868, allocations: 164.8 kB / 0.7082 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.1869, allocations: 4 kB / 0.7082 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.968e-05/0.1869, allocations: 19.97 kB / 0.7082 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.1869, allocations: 0 / 0.7082 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.716e-05/0.1869, allocations: 8 kB / 0.7082 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1869, allocations: 0 / 0.7082 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.187, allocations: 0 / 0.7082 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000506/0.1875, allocations: 258.5 kB / 0.7084 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.858e-05/0.1875, allocations: 11.89 kB / 0.7084 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.383e-05/0.1875, allocations: 0 / 0.7084 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000132/0.1876, allocations: 27.97 kB / 0.7085 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001136/0.1877, allocations: 31.95 kB / 0.7085 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.282e-05/0.1878, allocations: 4 kB / 0.7085 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 8.171e-05/0.1878, allocations: 106.2 kB / 0.7086 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1878, allocations: 0 / 0.7086 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002018/0.188, allocations: 24 kB / 0.7086 GB, free: 10.66 MB / 0.5294 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.0008107/0.1889, allocations: 0.7858 MB / 0.7094 GB, free: 9.836 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005523/0.1894, allocations: 254.7 kB / 0.7096 GB, free: 9.562 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1894, allocations: 0 / 0.7096 GB, free: 9.562 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002744/0.1897, allocations: 127.3 kB / 0.7098 GB, free: 9.426 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002303/0.1899, allocations: 15.94 kB / 0.7098 GB, free: 9.41 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002504/0.1924, allocations: 1.767 MB / 0.7115 GB, free: 7.543 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003324/0.1927, allocations: 0.6922 MB / 0.7122 GB, free: 6.824 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 4.281e-05/0.1928, allocations: 4 kB / 0.7122 GB, free: 6.82 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.607e-05/0.1928, allocations: 27.42 kB / 0.7122 GB, free: 6.793 MB / 0.5294 GB Notification: Performance of SimCode: time 2.91e-07/0.1928, allocations: 3.938 kB / 0.7122 GB, free: 6.789 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03331/0.2262, allocations: 3.215 MB / 0.7154 GB, free: 3.723 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.26, allocations: 0 / 0.7154 GB, free: 3.723 MB / 0.5294 GB " [Timeout remaining time 649] (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: 14.789862329998869] Failed to read output from testmodel.py, exit status != 0: 11.35529806199338 11.374249498 11.189882796 Calling exit ...