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.001487/0.001487, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.001972/0.001972, allocations: 215.8 kB / 23.01 MB, free: 4.602 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.645/1.645, allocations: 230.6 MB / 256.8 MB, free: 8 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.9408/0.9408, allocations: 134 MB / 447.2 MB, free: 10.24 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.0031/0.0031, allocations: 69.8 kB / 0.6197 GB, free: 6.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2319/0.235, allocations: 85.9 MB / 0.7036 GB, free: 0.8984 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.NumberOfRequests): time 0.004125/0.2392, allocations: 1.51 MB / 0.7051 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001328/0.2405, allocations: 0.5299 MB / 0.7056 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001134/0.2406, allocations: 0 / 0.7056 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001285/0.2407, allocations: 11.86 kB / 0.7056 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.787e-05/0.2408, allocations: 11.88 kB / 0.7056 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003929/0.2412, allocations: 51.8 kB / 0.7057 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000286/0.2415, allocations: 99.77 kB / 0.7058 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000147/0.2416, allocations: 8.188 kB / 0.7058 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002835/0.2419, allocations: 59.88 kB / 0.7059 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001254/0.2421, allocations: 35.84 kB / 0.7059 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.214e-05/0.2421, allocations: 12 kB / 0.7059 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.955e-05/0.2422, allocations: 19.98 kB / 0.7059 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.858e-05/0.2422, allocations: 15.88 kB / 0.7059 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 8.351e-05/0.2423, allocations: 43.78 kB / 0.706 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002266/0.2425, allocations: 83.64 kB / 0.7061 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.2425, allocations: 0 / 0.7061 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.653e-06/0.2425, allocations: 0 / 0.7061 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.248e-05/0.2425, allocations: 0 / 0.7061 GB, free: 14.4 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.0008813/0.2434, allocations: 393.4 kB / 0.7064 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.46e-05/0.2435, allocations: 8.031 kB / 0.7064 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002248/0.2437, allocations: 20.88 kB / 0.7065 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000334/0.244, allocations: 137 kB / 0.7066 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.11e-05/0.2441, allocations: 4.375 kB / 0.7066 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.723e-05/0.2441, allocations: 12.38 kB / 0.7066 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004453/0.2445, allocations: 121.7 kB / 0.7067 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.2446, allocations: 0 / 0.7067 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.898e-05/0.2446, allocations: 12 kB / 0.7067 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.375e-06/0.2446, allocations: 0 / 0.7067 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003195/0.2449, allocations: 87.92 kB / 0.7068 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006781/0.2456, allocations: 291.8 kB / 0.7071 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003338/0.2459, allocations: 106.5 kB / 0.7072 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001973/0.2461, allocations: 68.88 kB / 0.7073 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.923e-05/0.2461, allocations: 0 / 0.7073 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003388/0.2465, allocations: 119.3 kB / 0.7074 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=6): time 1.603e-06/0.2465, allocations: 4 kB / 0.7074 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of matching and sorting (n=6): time 0.0007882/0.2473, allocations: 283.1 kB / 0.7077 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.65e-05/0.2474, allocations: 81.11 kB / 0.7077 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001354/0.2475, allocations: 138 kB / 0.7079 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.845e-05/0.2475, allocations: 29.7 kB / 0.7079 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 9.424e-05/0.2476, allocations: 96.12 kB / 0.708 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.96e-05/0.2476, allocations: 19.92 kB / 0.708 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.096e-05/0.2477, allocations: 37.69 kB / 0.708 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001939/0.2479, allocations: 326.8 kB / 0.7083 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001919/0.2481, allocations: 59.95 kB / 0.7084 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001788/0.2483, allocations: 67.95 kB / 0.7085 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003738/0.2487, allocations: 181.9 kB / 0.7086 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.2487, allocations: 96 / 0.7086 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005517/0.2492, allocations: 264.8 kB / 0.7089 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.741e-05/0.2493, allocations: 63.41 kB / 0.709 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.2493, allocations: 4 kB / 0.709 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/0.2493, allocations: 3.984 kB / 0.709 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001371/0.2495, allocations: 15.98 kB / 0.709 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.2495, allocations: 0 / 0.709 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001505/0.2496, allocations: 23.94 kB / 0.709 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.969e-05/0.2496, allocations: 7.984 kB / 0.709 GB, free: 11.12 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.0001617/0.2498, allocations: 156 kB / 0.7092 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.974e-05/0.2498, allocations: 11.95 kB / 0.7092 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.656e-05/0.2499, allocations: 12.7 kB / 0.7092 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.2499, allocations: 4 kB / 0.7092 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.2499, allocations: 256 / 0.7092 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.2499, allocations: 4 kB / 0.7092 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002011/0.2501, allocations: 168.6 kB / 0.7093 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.2501, allocations: 4 kB / 0.7094 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.59e-05/0.2502, allocations: 11.98 kB / 0.7094 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.2502, allocations: 0 / 0.7094 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.423e-05/0.2502, allocations: 0 / 0.7094 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.892e-06/0.2502, allocations: 4 kB / 0.7094 GB, free: 10.69 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2502, allocations: 0 / 0.7094 GB, free: 10.69 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00054/0.2507, allocations: 246.6 kB / 0.7096 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.452e-05/0.2508, allocations: 15.88 kB / 0.7096 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.136e-05/0.2508, allocations: 8 kB / 0.7096 GB, free: 10.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001292/0.2509, allocations: 23.91 kB / 0.7096 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001493/0.2511, allocations: 39.89 kB / 0.7097 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.644e-05/0.2511, allocations: 8 kB / 0.7097 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 8.492e-05/0.2512, allocations: 101.8 kB / 0.7098 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.2512, allocations: 0 / 0.7098 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002351/0.2514, allocations: 31.94 kB / 0.7098 GB, free: 10.2 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.0001276/0.2515, allocations: 95.25 kB / 0.7099 GB, free: 10.1 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005774/0.2521, allocations: 258.7 kB / 0.7102 GB, free: 9.824 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.2521, allocations: 0 / 0.7102 GB, free: 9.824 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002813/0.2524, allocations: 131.3 kB / 0.7103 GB, free: 9.684 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002407/0.2526, allocations: 16.81 kB / 0.7103 GB, free: 9.668 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006808/0.2533, allocations: 245.2 kB / 0.7105 GB, free: 9.391 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004242/0.2537, allocations: 0.7 MB / 0.7112 GB, free: 8.664 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.665e-05/0.2538, allocations: 11.44 kB / 0.7112 GB, free: 8.652 MB / 0.5294 GB Notification: Performance of SimCode: time 6.71e-07/0.2538, allocations: 4 kB / 0.7112 GB, free: 8.648 MB / 0.5294 GB Notification: Performance of Templates: time 0.00443/0.2582, allocations: 1.46 MB / 0.7127 GB, free: 7.211 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.853852166095749] Failed to read output from testmodel.py, exit status != 0: 0.269107055850327 0.28528696600000003 0.039355647 Calling exit ...