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.001326/0.001326, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001447/0.001447, allocations: 215 kB / 22.25 MB, free: 5.262 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.323/1.323, allocations: 230.6 MB / 256 MB, free: 7.734 MB / 206.1 MB " [Timeout remaining time 179] 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.7829/0.7829, allocations: 134 MB / 446.4 MB, free: 9.883 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.001945/0.001945, allocations: 62.59 kB / 0.6184 GB, free: 6.887 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.153, allocations: 85.91 MB / 0.7023 GB, free: 1.059 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.NumberOfRequests): time 0.002545/0.1555, allocations: 1.478 MB / 0.7038 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0009023/0.1564, allocations: 0.491 MB / 0.7043 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.102e-05/0.1565, allocations: 0 / 0.7043 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 9.43e-05/0.1566, allocations: 7.875 kB / 0.7043 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.806e-05/0.1566, allocations: 19.86 kB / 0.7043 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002396/0.1569, allocations: 43.88 kB / 0.7043 GB, free: 15 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001664/0.157, allocations: 103.7 kB / 0.7044 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.544e-05/0.1571, allocations: 8.188 kB / 0.7044 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000158/0.1573, allocations: 55.91 kB / 0.7045 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.114e-05/0.1574, allocations: 43.81 kB / 0.7045 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.447e-05/0.1574, allocations: 8 kB / 0.7045 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 4.23e-05/0.1574, allocations: 11.94 kB / 0.7046 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.196e-05/0.1575, allocations: 19.92 kB / 0.7046 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.599e-05/0.1575, allocations: 27.92 kB / 0.7046 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001528/0.1577, allocations: 95.84 kB / 0.7047 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/0.1577, allocations: 4 kB / 0.7047 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.613e-06/0.1577, allocations: 0 / 0.7047 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.1577, allocations: 0 / 0.7047 GB, free: 14.63 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.0006461/0.1583, allocations: 385.4 kB / 0.7051 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/0.1584, allocations: 11.97 kB / 0.7051 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.061e-05/0.1584, allocations: 38.75 kB / 0.7051 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001356/0.1586, allocations: 16.88 kB / 0.7051 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002223/0.1588, allocations: 140.9 kB / 0.7053 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.1588, allocations: 8.359 kB / 0.7053 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.493e-05/0.1588, allocations: 4.375 kB / 0.7053 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003253/0.1591, allocations: 167.2 kB / 0.7054 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.1591, allocations: 0 / 0.7054 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.496e-05/0.1592, allocations: 4 kB / 0.7054 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.1592, allocations: 0 / 0.7054 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003031/0.1595, allocations: 113.6 kB / 0.7055 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005167/0.16, allocations: 283.9 kB / 0.7058 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003296/0.1603, allocations: 136.2 kB / 0.7059 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001916/0.1605, allocations: 94.62 kB / 0.706 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.179e-05/0.1605, allocations: 4 kB / 0.706 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003074/0.1608, allocations: 149 kB / 0.7062 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.1608, allocations: 0 / 0.7062 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of matching and sorting (n=6): time 0.0007319/0.1616, allocations: 350.5 kB / 0.7065 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.785e-05/0.1616, allocations: 85.11 kB / 0.7066 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/0.1617, allocations: 134.1 kB / 0.7067 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.466e-05/0.1618, allocations: 29.7 kB / 0.7068 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.055e-05/0.1618, allocations: 92.12 kB / 0.7068 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.145e-05/0.1618, allocations: 23.78 kB / 0.7069 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.867e-05/0.1619, allocations: 29.7 kB / 0.7069 GB, free: 12.13 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.162, allocations: 322.8 kB / 0.7072 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002195/0.1622, allocations: 127.3 kB / 0.7073 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00021/0.1625, allocations: 127.3 kB / 0.7074 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003289/0.1628, allocations: 177.9 kB / 0.7076 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1628, allocations: 96 / 0.7076 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005212/0.1633, allocations: 332.3 kB / 0.7079 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.405e-05/0.1634, allocations: 69.75 kB / 0.708 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.1634, allocations: 3.984 kB / 0.708 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.1634, allocations: 0 / 0.708 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001119/0.1635, allocations: 15.98 kB / 0.708 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.1635, allocations: 0 / 0.708 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001392/0.1636, allocations: 23.92 kB / 0.708 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.026e-05/0.1637, allocations: 11.94 kB / 0.7081 GB, free: 10.85 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.0001219/0.1638, allocations: 152.4 kB / 0.7082 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.922e-05/0.1638, allocations: 11.95 kB / 0.7082 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.191e-05/0.1638, allocations: 16.7 kB / 0.7082 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.1638, allocations: 0 / 0.7082 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.1638, allocations: 256 / 0.7082 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.1638, allocations: 0 / 0.7082 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001373/0.164, allocations: 156.7 kB / 0.7084 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.164, allocations: 0 / 0.7084 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.824e-05/0.1641, allocations: 11.98 kB / 0.7084 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.541e-06/0.1641, allocations: 3.984 kB / 0.7084 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.433e-05/0.1641, allocations: 4 kB / 0.7084 GB, free: 10.44 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.1641, allocations: 4 kB / 0.7084 GB, free: 10.44 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1641, allocations: 0 / 0.7084 GB, free: 10.44 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004856/0.1646, allocations: 276.3 kB / 0.7087 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.515e-05/0.1646, allocations: 15.83 kB / 0.7087 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.11e-05/0.1646, allocations: 11.98 kB / 0.7087 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001229/0.1647, allocations: 15.98 kB / 0.7087 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001172/0.1648, allocations: 35.95 kB / 0.7087 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.269e-05/0.1649, allocations: 8 kB / 0.7087 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.932e-05/0.1649, allocations: 105.6 kB / 0.7088 GB, free: 9.949 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1649, allocations: 0 / 0.7088 GB, free: 9.949 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001992/0.1651, allocations: 31.92 kB / 0.7089 GB, free: 9.918 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.0007822/0.1659, allocations: 0.7993 MB / 0.7097 GB, free: 9.078 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005322/0.1664, allocations: 351.7 kB / 0.71 GB, free: 8.691 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.1664, allocations: 0 / 0.71 GB, free: 8.691 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002552/0.1667, allocations: 161 kB / 0.7101 GB, free: 8.516 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002049/0.1669, allocations: 19.92 kB / 0.7102 GB, free: 8.496 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002471/0.1694, allocations: 2.031 MB / 0.7121 GB, free: 6.312 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.866e-05/0.1694, allocations: 79.19 kB / 0.7122 GB, free: 6.215 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 4.985e-05/0.1695, allocations: 7.984 kB / 0.7122 GB, free: 6.207 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.96e-05/0.1696, allocations: 27.42 kB / 0.7123 GB, free: 6.18 MB / 0.5294 GB Notification: Performance of SimCode: time 3.7e-07/0.1696, allocations: 0 / 0.7123 GB, free: 6.18 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02948/0.199, allocations: 3.736 MB / 0.7159 GB, free: 2.602 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.64/10.84, allocations: 10.58 kB / 0.7159 GB, free: 2.594 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.12820905027911] Failed to read output from testmodel.py, exit status != 0: 10.951160848140717 10.977982573 10.814928417 Calling exit ...