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.001253/0.001253, allocations: 101.9 kB / 19.73 MB, free: 2.109 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.00147/0.00147, allocations: 222.5 kB / 23.03 MB, free: 4.906 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.342/1.342, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.7875/0.7875, allocations: 134 MB / 447.2 MB, free: 9.973 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Continuous.Examples.NumberOfRequests,fileNamePrefix="IDEAS_IDEAS_Controls_Continuous_Examples_NumberOfRequests",fmuType="cs",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.001885/0.001885, allocations: 65.42 kB / 0.6192 GB, free: 6.922 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1483/0.1502, allocations: 85.91 MB / 0.7031 GB, free: 1.109 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.NumberOfRequests): time 0.002609/0.1528, allocations: 1.482 MB / 0.7046 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0009082/0.1537, allocations: 0.491 MB / 0.705 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.959e-05/0.1538, allocations: 3.938 kB / 0.705 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 8.685e-05/0.1539, allocations: 7.875 kB / 0.7051 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.06e-05/0.1539, allocations: 15.88 kB / 0.7051 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002594/0.1542, allocations: 47.86 kB / 0.7051 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001857/0.1544, allocations: 103.7 kB / 0.7052 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.558e-05/0.1545, allocations: 12.17 kB / 0.7052 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000172/0.1546, allocations: 55.89 kB / 0.7053 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.585e-05/0.1547, allocations: 43.77 kB / 0.7053 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.299e-05/0.1547, allocations: 8 kB / 0.7053 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 4.641e-05/0.1548, allocations: 16 kB / 0.7053 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.427e-05/0.1548, allocations: 15.92 kB / 0.7054 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.126e-05/0.1549, allocations: 31.86 kB / 0.7054 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000164/0.1551, allocations: 95.91 kB / 0.7055 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.1551, allocations: 0 / 0.7055 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.513e-06/0.1551, allocations: 4 kB / 0.7055 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.1551, allocations: 0 / 0.7055 GB, free: 14.67 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.0006675/0.1557, allocations: 373.4 kB / 0.7058 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.1558, allocations: 8.031 kB / 0.7058 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.206e-05/0.1558, allocations: 4.188 kB / 0.7058 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.129e-05/0.1558, allocations: 46.73 kB / 0.7059 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001413/0.156, allocations: 12.89 kB / 0.7059 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002396/0.1562, allocations: 142.3 kB / 0.706 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/0.1562, allocations: 8.375 kB / 0.706 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.95e-05/0.1562, allocations: 16.06 kB / 0.7061 GB, free: 14 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003202/0.1566, allocations: 143.3 kB / 0.7062 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.1566, allocations: 0 / 0.7062 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.656e-05/0.1566, allocations: 4 kB / 0.7062 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.137e-06/0.1566, allocations: 0 / 0.7062 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003081/0.1569, allocations: 125.5 kB / 0.7063 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005157/0.1574, allocations: 283.9 kB / 0.7066 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003249/0.1577, allocations: 132.1 kB / 0.7067 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001921/0.1579, allocations: 94.64 kB / 0.7068 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.477e-05/0.158, allocations: 4 kB / 0.7068 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003211/0.1583, allocations: 149 kB / 0.707 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=6): time 1.593e-06/0.1583, allocations: 4 kB / 0.707 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of matching and sorting (n=6): time 0.000751/0.159, allocations: 342.5 kB / 0.7073 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.101e-05/0.1591, allocations: 85.09 kB / 0.7074 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/0.1592, allocations: 136.5 kB / 0.7075 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.479e-05/0.1592, allocations: 29.7 kB / 0.7075 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.602e-05/0.1593, allocations: 96.2 kB / 0.7076 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.649e-05/0.1593, allocations: 19.84 kB / 0.7076 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.815e-05/0.1594, allocations: 33.7 kB / 0.7077 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.1595, allocations: 326.7 kB / 0.708 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002184/0.1597, allocations: 123.4 kB / 0.7081 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002079/0.1599, allocations: 127.3 kB / 0.7082 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003336/0.1603, allocations: 181.9 kB / 0.7084 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.1603, allocations: 0 / 0.7084 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005274/0.1608, allocations: 320.3 kB / 0.7087 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.739e-05/0.1609, allocations: 67.39 kB / 0.7088 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.1609, allocations: 0 / 0.7088 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.1609, allocations: 0 / 0.7088 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001145/0.161, allocations: 15.98 kB / 0.7088 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.161, allocations: 0 / 0.7088 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001471/0.1611, allocations: 39.86 kB / 0.7088 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.475e-05/0.1612, allocations: 3.938 kB / 0.7088 GB, free: 10.9 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.0001279/0.1613, allocations: 155.5 kB / 0.709 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.138e-05/0.1613, allocations: 7.953 kB / 0.709 GB, free: 10.72 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.241e-05/0.1613, allocations: 12.72 kB / 0.709 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.1613, allocations: 0 / 0.709 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.1614, allocations: 0 / 0.709 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.1614, allocations: 4.188 kB / 0.709 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001426/0.1615, allocations: 148.7 kB / 0.7091 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.1615, allocations: 4 kB / 0.7091 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.925e-05/0.1616, allocations: 15.98 kB / 0.7092 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.1616, allocations: 7.938 kB / 0.7092 GB, free: 10.49 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.842e-05/0.1616, allocations: 7.984 kB / 0.7092 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1616, allocations: 96 / 0.7092 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1616, allocations: 3.938 kB / 0.7092 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005171/0.1621, allocations: 284.2 kB / 0.7094 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.091e-05/0.1621, allocations: 11.89 kB / 0.7095 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.44e-05/0.1622, allocations: 4 kB / 0.7095 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001281/0.1623, allocations: 23.97 kB / 0.7095 GB, free: 10.13 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00012/0.1624, allocations: 39.95 kB / 0.7095 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-05/0.1624, allocations: 7.938 kB / 0.7095 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.679e-05/0.1625, allocations: 99.27 kB / 0.7096 GB, free: 9.988 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.1625, allocations: 0 / 0.7096 GB, free: 9.988 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002032/0.1627, allocations: 24 kB / 0.7096 GB, free: 9.965 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.0007904/0.1635, allocations: 0.811 MB / 0.7104 GB, free: 9.113 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005447/0.164, allocations: 343.7 kB / 0.7108 GB, free: 8.734 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.164, allocations: 0 / 0.7108 GB, free: 8.734 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002539/0.1643, allocations: 161 kB / 0.7109 GB, free: 8.559 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002167/0.1645, allocations: 15.94 kB / 0.7109 GB, free: 8.543 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002528/0.167, allocations: 2.028 MB / 0.7129 GB, free: 6.359 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.656e-05/0.1671, allocations: 79.19 kB / 0.713 GB, free: 6.262 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 5.02e-05/0.1672, allocations: 8 kB / 0.713 GB, free: 6.254 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.001e-05/0.1672, allocations: 23.42 kB / 0.713 GB, free: 6.23 MB / 0.5294 GB Notification: Performance of SimCode: time 6.01e-07/0.1672, allocations: 0 / 0.713 GB, free: 6.23 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02407/0.1913, allocations: 3.366 MB / 0.7163 GB, free: 3.035 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/11.15, allocations: 8.859 kB / 0.7163 GB, free: 3.031 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_Continuous_Examples_NumberOfRequests_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_Continuous_Examples_NumberOfRequests.fmu > IDEAS_IDEAS.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.509890245972201] Failed to read output from testmodel.py, exit status != 0: 11.300750473048538 11.317277827 11.159256822 Calling exit ...