Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0007056/0.0007056, allocations: 100.4 kB / 19.7 MB, free: 452 kB / 13.93 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.0008161/0.0008161, allocations: 213 kB / 23 MB, free: 2.98 MB / 13.93 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 0.8506/0.8506, allocations: 230.6 MB / 256.8 MB, free: 9.625 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7362/0.7362, allocations: 203.8 MB / 0.5049 GB, free: 10.42 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_dev_IDEAS.Controls.Continuous.Examples.NumberOfRequests") translateModel(IDEAS.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_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.0009091/0.0009091, allocations: 75.25 kB / 0.7194 GB, free: 3.637 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4227/0.4236, allocations: 102 MB / 0.819 GB, free: 1.371 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.NumberOfRequests): time 0.001777/0.4254, allocations: 1.496 MB / 0.8204 GB, free: 348 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006047/0.426, allocations: 0.4887 MB / 0.8209 GB, free: 16 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.595e-05/0.4261, allocations: 4.875 kB / 0.8209 GB, free: 12 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 9.584e-05/0.4262, allocations: 11.48 kB / 0.8209 GB, free: 4 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.753e-05/0.4262, allocations: 13.59 kB / 0.8209 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002499/0.4265, allocations: 43.61 kB / 0.821 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001553/0.4266, allocations: 106.5 kB / 0.8211 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.136e-05/0.4267, allocations: 10.17 kB / 0.8211 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001521/0.4269, allocations: 59.66 kB / 0.8211 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.974e-05/0.4269, allocations: 38.22 kB / 0.8212 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.894e-05/0.427, allocations: 8.812 kB / 0.8212 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 3.759e-05/0.427, allocations: 13.84 kB / 0.8212 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.613e-05/0.427, allocations: 20.06 kB / 0.8212 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.386e-05/0.4271, allocations: 39.22 kB / 0.8213 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001503/0.4273, allocations: 85.88 kB / 0.8213 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.4273, allocations: 0 / 0.8213 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.843e-06/0.4273, allocations: 0 / 0.8213 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.4273, allocations: 1.156 kB / 0.8213 GB, free: 15.81 MB / 0.6198 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.0005297/0.4278, allocations: 377 kB / 0.8217 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.4278, allocations: 11.64 kB / 0.8217 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001168/0.4279, allocations: 21.11 kB / 0.8217 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002111/0.4282, allocations: 139.2 kB / 0.8219 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.4282, allocations: 4.219 kB / 0.8219 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.368e-05/0.4282, allocations: 6.719 kB / 0.8219 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002315/0.4284, allocations: 151 kB / 0.822 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.4284, allocations: 0.6094 kB / 0.822 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.4284, allocations: 6.094 kB / 0.822 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.4284, allocations: 5.531 kB / 0.822 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001686/0.4286, allocations: 119.3 kB / 0.8222 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000375/0.429, allocations: 263.8 kB / 0.8224 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000199/0.4292, allocations: 125.4 kB / 0.8225 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001133/0.4293, allocations: 98.92 kB / 0.8226 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.458e-05/0.4293, allocations: 9.297 kB / 0.8226 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002129/0.4295, allocations: 159.2 kB / 0.8228 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=6): time 2.114e-06/0.4295, allocations: 0 / 0.8228 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.0004678/0.43, allocations: 333.9 kB / 0.8231 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.3e-05/0.43, allocations: 94.39 kB / 0.8232 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.533e-05/0.4301, allocations: 131.6 kB / 0.8233 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.677e-05/0.4301, allocations: 35.48 kB / 0.8233 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.944e-05/0.4302, allocations: 99.14 kB / 0.8234 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.396e-05/0.4302, allocations: 12.16 kB / 0.8235 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.207e-05/0.4302, allocations: 32.7 kB / 0.8235 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.578e-05/0.4303, allocations: 326.1 kB / 0.8238 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001284/0.4304, allocations: 118.8 kB / 0.8239 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001195/0.4306, allocations: 126.6 kB / 0.824 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001906/0.4308, allocations: 182.4 kB / 0.8242 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.4308, allocations: 0 / 0.8242 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003245/0.4311, allocations: 323.8 kB / 0.8245 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.02e-05/0.4311, allocations: 60.97 kB / 0.8246 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.4311, allocations: 0.6094 kB / 0.8246 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.4311, allocations: 1.125 kB / 0.8246 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.773e-05/0.4312, allocations: 26.56 kB / 0.8246 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.259e-06/0.4312, allocations: 1.156 kB / 0.8246 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.752e-05/0.4313, allocations: 29.19 kB / 0.8246 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.318e-05/0.4313, allocations: 7.031 kB / 0.8246 GB, free: 13.23 MB / 0.6198 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 9.156e-05/0.4314, allocations: 161.4 kB / 0.8248 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.43e-05/0.4314, allocations: 9.672 kB / 0.8248 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.415e-05/0.4314, allocations: 11.58 kB / 0.8248 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.4315, allocations: 2.188 kB / 0.8248 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.4315, allocations: 0 / 0.8248 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.4315, allocations: 4.75 kB / 0.8248 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.756e-05/0.4315, allocations: 128.1 kB / 0.8249 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.4315, allocations: 0.6562 kB / 0.8249 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.365e-05/0.4316, allocations: 16.08 kB / 0.8249 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.4316, allocations: 1.406 kB / 0.825 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.4316, allocations: 3.062 kB / 0.825 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.4316, allocations: 0 / 0.825 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.4316, allocations: 1.531 kB / 0.825 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003198/0.4319, allocations: 282.4 kB / 0.8252 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.385e-05/0.4319, allocations: 7.219 kB / 0.8252 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.865e-05/0.432, allocations: 7.5 kB / 0.8252 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.433e-05/0.432, allocations: 20.19 kB / 0.8253 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001114/0.4321, allocations: 45.2 kB / 0.8253 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.979e-06/0.4321, allocations: 3.453 kB / 0.8253 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.968e-05/0.4322, allocations: 104.1 kB / 0.8254 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4322, allocations: 3.938 kB / 0.8254 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001423/0.4323, allocations: 21.88 kB / 0.8254 GB, free: 12.62 MB / 0.6198 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 8.195e-05/0.4324, allocations: 105.2 kB / 0.8255 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000347/0.4328, allocations: 344.2 kB / 0.8259 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.4328, allocations: 0 / 0.8259 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001701/0.4329, allocations: 160 kB / 0.826 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001722/0.4331, allocations: 25.06 kB / 0.826 GB, free: 12.15 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004348/0.4335, allocations: 287.7 kB / 0.8263 GB, free: 11.92 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.448e-05/0.4336, allocations: 79.77 kB / 0.8264 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.813e-05/0.4336, allocations: 16.58 kB / 0.8264 GB, free: 11.83 MB / 0.6198 GB Notification: Performance of SimCode: time 8.12e-07/0.4336, allocations: 1.312 kB / 0.8264 GB, free: 11.83 MB / 0.6198 GB Notification: Performance of Templates: time 0.002755/0.4364, allocations: 1.498 MB / 0.8279 GB, free: 11.7 MB / 0.6198 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.NumberOfRequests.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Continuous.Examples.NumberOfRequests.sim & ./IDEAS_dev_IDEAS.Controls.Continuous.Examples.NumberOfRequests -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.302128204610199] Failed to read output from testmodel.py, exit status != 0: 0.44210580503568053 0.45277543499999995 0.023541337000000002 Calling exit ...