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.001479/0.001479, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.00154/0.00154, allocations: 216.9 kB / 22.99 MB, free: 4.945 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.588/1.588, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.8513/0.8513, allocations: 134 MB / 447.2 MB, free: 9.93 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: translateModel(IDEAS.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Continuous.Examples.NumberOfRequests") translateModel(IDEAS.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Continuous.Examples.NumberOfRequests") [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.002087/0.002087, allocations: 67.94 kB / 0.6197 GB, free: 6.406 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.212/0.2141, allocations: 85.91 MB / 0.7036 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.NumberOfRequests): time 0.00388/0.218, allocations: 1.485 MB / 0.705 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001212/0.2192, allocations: 0.4948 MB / 0.7055 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.724e-05/0.2193, allocations: 0 / 0.7055 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001142/0.2194, allocations: 3.938 kB / 0.7055 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.881e-05/0.2195, allocations: 23.8 kB / 0.7055 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003541/0.2199, allocations: 43.83 kB / 0.7056 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002297/0.2201, allocations: 99.8 kB / 0.7057 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001199/0.2202, allocations: 8.188 kB / 0.7057 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002461/0.2205, allocations: 63.83 kB / 0.7057 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000113/0.2206, allocations: 39.83 kB / 0.7058 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.89e-05/0.2206, allocations: 8 kB / 0.7058 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 5.89e-05/0.2207, allocations: 8 kB / 0.7058 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.672e-05/0.2207, allocations: 19.92 kB / 0.7058 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.042e-05/0.2208, allocations: 31.86 kB / 0.7058 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002133/0.221, allocations: 91.62 kB / 0.7059 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 8.496e-06/0.221, allocations: 4 kB / 0.7059 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.334e-06/0.221, allocations: 0 / 0.7059 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.139e-05/0.221, allocations: 0 / 0.7059 GB, free: 14.15 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.0008326/0.2219, allocations: 385.4 kB / 0.7063 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/0.2219, allocations: 12.03 kB / 0.7063 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002005/0.2221, allocations: 20.88 kB / 0.7063 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003052/0.2224, allocations: 130.4 kB / 0.7064 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.088e-05/0.2224, allocations: 12.31 kB / 0.7065 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.466e-05/0.2224, allocations: 4.375 kB / 0.7065 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003777/0.2228, allocations: 147.4 kB / 0.7066 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.2228, allocations: 4 kB / 0.7066 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.024e-05/0.2229, allocations: 11.98 kB / 0.7066 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.093e-05/0.2229, allocations: 0 / 0.7066 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003538/0.2232, allocations: 129.5 kB / 0.7067 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006053/0.2238, allocations: 256.5 kB / 0.707 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003466/0.2242, allocations: 128.2 kB / 0.7071 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002028/0.2244, allocations: 98.64 kB / 0.7072 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.52e-05/0.2244, allocations: 0 / 0.7072 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003446/0.2247, allocations: 161 kB / 0.7074 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=6): time 3.827e-06/0.2247, allocations: 3.984 kB / 0.7074 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of matching and sorting (n=6): time 0.0008026/0.2255, allocations: 338.6 kB / 0.7077 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.163e-05/0.2256, allocations: 85.09 kB / 0.7078 GB, free: 12.06 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001367/0.2258, allocations: 138.1 kB / 0.7079 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.896e-05/0.2258, allocations: 25.7 kB / 0.7079 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.923e-05/0.2259, allocations: 92.14 kB / 0.708 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.048e-05/0.2259, allocations: 23.83 kB / 0.708 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.942e-05/0.226, allocations: 25.72 kB / 0.7081 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001715/0.2261, allocations: 326.8 kB / 0.7084 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002301/0.2264, allocations: 123.4 kB / 0.7085 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002177/0.2266, allocations: 131.3 kB / 0.7086 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003508/0.2269, allocations: 181.9 kB / 0.7088 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.2269, allocations: 0 / 0.7088 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005715/0.2275, allocations: 320.3 kB / 0.7091 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.068e-05/0.2276, allocations: 67.39 kB / 0.7092 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.2276, allocations: 4 kB / 0.7092 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.2276, allocations: 0 / 0.7092 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001211/0.2277, allocations: 12.08 kB / 0.7092 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.179e-06/0.2277, allocations: 7.938 kB / 0.7092 GB, free: 10.49 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001459/0.2279, allocations: 23.92 kB / 0.7092 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.975e-05/0.2279, allocations: 8 kB / 0.7092 GB, free: 10.46 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.0001525/0.228, allocations: 155.5 kB / 0.7094 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.369e-05/0.2281, allocations: 7.953 kB / 0.7094 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.86e-05/0.2281, allocations: 20.72 kB / 0.7094 GB, free: 10.26 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.2281, allocations: 3.938 kB / 0.7094 GB, free: 10.26 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.2281, allocations: 0 / 0.7094 GB, free: 10.26 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.2281, allocations: 0 / 0.7094 GB, free: 10.26 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001461/0.2283, allocations: 137.3 kB / 0.7095 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.2283, allocations: 0 / 0.7095 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.207e-05/0.2283, allocations: 12.23 kB / 0.7095 GB, free: 10.08 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.2283, allocations: 3.938 kB / 0.7095 GB, free: 10.08 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.833e-05/0.2284, allocations: 4 kB / 0.7095 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.2284, allocations: 4 kB / 0.7095 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.2284, allocations: 4 kB / 0.7095 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000529/0.2289, allocations: 276.3 kB / 0.7098 GB, free: 9.766 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.196e-05/0.2289, allocations: 15.88 kB / 0.7098 GB, free: 9.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.435e-05/0.2289, allocations: 0 / 0.7098 GB, free: 9.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001347/0.2291, allocations: 27.97 kB / 0.7098 GB, free: 9.723 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001286/0.2292, allocations: 27.97 kB / 0.7099 GB, free: 9.695 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.551e-05/0.2292, allocations: 7.984 kB / 0.7099 GB, free: 9.688 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 7.255e-05/0.2293, allocations: 105.5 kB / 0.71 GB, free: 9.586 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.2293, allocations: 0 / 0.71 GB, free: 9.586 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002085/0.2295, allocations: 28 kB / 0.71 GB, free: 9.559 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.0001172/0.2296, allocations: 99.19 kB / 0.7101 GB, free: 9.453 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000575/0.2302, allocations: 343.8 kB / 0.7104 GB, free: 9.074 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.2302, allocations: 0 / 0.7104 GB, free: 9.074 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002701/0.2305, allocations: 165 kB / 0.7106 GB, free: 8.895 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000223/0.2307, allocations: 19.33 kB / 0.7106 GB, free: 8.879 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005972/0.2313, allocations: 278.8 kB / 0.7109 GB, free: 8.562 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.165e-05/0.2314, allocations: 82.94 kB / 0.711 GB, free: 8.461 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.331e-05/0.2314, allocations: 15.42 kB / 0.711 GB, free: 8.445 MB / 0.5294 GB Notification: Performance of SimCode: time 2.71e-07/0.2314, allocations: 0 / 0.711 GB, free: 8.445 MB / 0.5294 GB Notification: Performance of Templates: time 0.003569/0.235, allocations: 1.492 MB / 0.7124 GB, free: 6.969 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.Continuous.Examples.NumberOfRequests.makefile [Timeout 660] (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 & ./IDEAS_IDEAS.Controls.Continuous.Examples.NumberOfRequests -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.211741324979812] Failed to read output from testmodel.py, exit status != 0: 0.24315921682864428 0.257775882 0.033722598 Calling exit ...