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.001442/0.001442, 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.001629/0.001629, allocations: 217.1 kB / 22.25 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.34/1.34, allocations: 230.6 MB / 256 MB, free: 8.039 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.8003/0.8003, allocations: 134 MB / 446.4 MB, free: 10.21 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.001911/0.001911, allocations: 63.19 kB / 0.6185 GB, free: 7.242 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1482/0.1501, allocations: 85.9 MB / 0.7024 GB, free: 1.414 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.NumberOfRequests): time 0.002584/0.1527, allocations: 1.513 MB / 0.7039 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0009301/0.1537, allocations: 0.526 MB / 0.7044 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.006e-05/0.1537, allocations: 0 / 0.7044 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 8.719e-05/0.1538, allocations: 7.875 kB / 0.7044 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.419e-05/0.1539, allocations: 19.88 kB / 0.7044 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002527/0.1541, allocations: 51.8 kB / 0.7045 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001711/0.1543, allocations: 95.77 kB / 0.7046 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.385e-05/0.1544, allocations: 12.17 kB / 0.7046 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000165/0.1545, allocations: 55.89 kB / 0.7046 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.586e-05/0.1546, allocations: 39.83 kB / 0.7047 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.658e-05/0.1547, allocations: 11.94 kB / 0.7047 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 4.549e-05/0.1547, allocations: 19.94 kB / 0.7047 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.078e-05/0.1547, allocations: 15.92 kB / 0.7047 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.395e-05/0.1548, allocations: 43.8 kB / 0.7048 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001662/0.155, allocations: 91.91 kB / 0.7048 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.155, allocations: 0 / 0.7048 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.262e-06/0.155, allocations: 0 / 0.7048 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.155, allocations: 0 / 0.7048 GB, free: 14.9 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.000676/0.1557, allocations: 377.4 kB / 0.7052 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.1557, allocations: 8.031 kB / 0.7052 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.035e-05/0.1557, allocations: 38.73 kB / 0.7052 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001397/0.1559, allocations: 20.89 kB / 0.7053 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002332/0.1561, allocations: 144.7 kB / 0.7054 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.1561, allocations: 4.375 kB / 0.7054 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.261e-05/0.1561, allocations: 8.375 kB / 0.7054 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003067/0.1564, allocations: 121.5 kB / 0.7055 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.1565, allocations: 0 / 0.7055 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.477e-05/0.1565, allocations: 4 kB / 0.7055 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.1565, allocations: 0 / 0.7055 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002901/0.1568, allocations: 91.92 kB / 0.7056 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005283/0.1573, allocations: 295.8 kB / 0.7059 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003028/0.1576, allocations: 106.5 kB / 0.706 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001669/0.1578, allocations: 64.94 kB / 0.7061 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.336e-05/0.1578, allocations: 0 / 0.7061 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002887/0.1581, allocations: 127.3 kB / 0.7062 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/0.1581, allocations: 3.938 kB / 0.7062 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of matching and sorting (n=6): time 0.0006991/0.1588, allocations: 279.2 kB / 0.7065 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.431e-05/0.1588, allocations: 89.09 kB / 0.7065 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/0.1589, allocations: 134.1 kB / 0.7067 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.202e-05/0.159, allocations: 25.7 kB / 0.7067 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.778e-05/0.159, allocations: 96.2 kB / 0.7068 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.633e-05/0.1591, allocations: 23.83 kB / 0.7068 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.727e-05/0.1591, allocations: 29.72 kB / 0.7068 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.1593, allocations: 326.8 kB / 0.7072 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001862/0.1594, allocations: 63.95 kB / 0.7072 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001674/0.1596, allocations: 67.94 kB / 0.7073 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003337/0.1599, allocations: 185.9 kB / 0.7075 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.16, allocations: 0 / 0.7075 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004921/0.1604, allocations: 256.9 kB / 0.7077 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.237e-05/0.1605, allocations: 67.39 kB / 0.7078 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.1605, allocations: 4 kB / 0.7078 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.1605, allocations: 0 / 0.7078 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.1606, allocations: 11.98 kB / 0.7078 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.1607, allocations: 0 / 0.7078 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001414/0.1608, allocations: 35.92 kB / 0.7078 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.827e-05/0.1608, allocations: 8.188 kB / 0.7078 GB, free: 11.58 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.0001336/0.1609, allocations: 155.5 kB / 0.708 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.403e-05/0.161, allocations: 11.95 kB / 0.708 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.058e-05/0.161, allocations: 8.719 kB / 0.708 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.161, allocations: 4 kB / 0.708 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.161, allocations: 4 kB / 0.708 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.161, allocations: 4 kB / 0.708 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001538/0.1612, allocations: 164.6 kB / 0.7082 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.1612, allocations: 0 / 0.7082 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.006e-05/0.1612, allocations: 11.98 kB / 0.7082 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.1613, allocations: 3.984 kB / 0.7082 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.421e-05/0.1613, allocations: 4 kB / 0.7082 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.1613, allocations: 4 kB / 0.7082 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1613, allocations: 0 / 0.7082 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004799/0.1618, allocations: 246.6 kB / 0.7084 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.247e-05/0.1618, allocations: 15.83 kB / 0.7084 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.508e-05/0.1618, allocations: 7.938 kB / 0.7084 GB, free: 10.87 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001309/0.1619, allocations: 23.97 kB / 0.7085 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001176/0.162, allocations: 31.95 kB / 0.7085 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.284e-05/0.1621, allocations: 4 kB / 0.7085 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.83e-05/0.1621, allocations: 109.7 kB / 0.7086 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.1621, allocations: 3.938 kB / 0.7086 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002037/0.1623, allocations: 28 kB / 0.7086 GB, free: 10.67 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.0007769/0.1631, allocations: 0.7742 MB / 0.7094 GB, free: 9.863 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004886/0.1636, allocations: 258.6 kB / 0.7096 GB, free: 9.586 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1636, allocations: 0 / 0.7096 GB, free: 9.586 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002397/0.1638, allocations: 131.3 kB / 0.7098 GB, free: 9.445 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000211/0.164, allocations: 14.34 kB / 0.7098 GB, free: 9.434 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002357/0.1664, allocations: 1.769 MB / 0.7115 GB, free: 7.566 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003136/0.1667, allocations: 0.6961 MB / 0.7122 GB, free: 6.844 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 5.413e-05/0.1668, allocations: 8 kB / 0.7122 GB, free: 6.836 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.889e-05/0.1668, allocations: 23.42 kB / 0.7122 GB, free: 6.812 MB / 0.5294 GB Notification: Performance of SimCode: time 3.5e-07/0.1668, allocations: 0 / 0.7122 GB, free: 6.812 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03018/0.197, allocations: 3.218 MB / 0.7154 GB, free: 3.742 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.74/10.93, allocations: 4.062 kB / 0.7154 GB, free: 3.738 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 sys.exit(0), Time elapsed: 14.215259613934904] Failed to read output from testmodel.py, exit status != 0: 11.031695163110271 11.047896348 10.889944978 Calling exit ...