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.0009249/0.0009249, allocations: 93.06 kB / 19.65 MB, free: 276 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.0009154/0.0009154, allocations: 169 kB / 23.02 MB, free: 1.543 MB / 18.57 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.9874/0.9874, allocations: 177.1 MB / 203.4 MB, free: 5.625 MB / 186.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-535:34: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-535:42: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.808/0.808, allocations: 154.9 MB / 414.8 MB, free: 384 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: Performance of FrontEnd - loaded program: time 2.245e-06/2.245e-06, allocations: 0 / 0.5206 GB, free: 1.84 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.465e-05/3.689e-05, allocations: 3.312 kB / 0.5206 GB, free: 1.836 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.NumberOfRequests): time 0.003041/0.003078, allocations: 1.524 MB / 0.5221 GB, free: 328 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001009/0.004088, allocations: 0.5041 MB / 0.5226 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.87e-05/0.004166, allocations: 4 kB / 0.5226 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001279/0.004294, allocations: 4.469 kB / 0.5226 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 7.315e-05/0.004367, allocations: 12.89 kB / 0.5226 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003167/0.004684, allocations: 52.91 kB / 0.5227 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001967/0.004881, allocations: 107.7 kB / 0.5228 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.004994, allocations: 8.172 kB / 0.5228 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002292/0.005223, allocations: 72.47 kB / 0.5229 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 9.425e-05/0.005317, allocations: 35.88 kB / 0.5229 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.851e-05/0.005346, allocations: 9.031 kB / 0.5229 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.578e-05/0.005401, allocations: 16 kB / 0.5229 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 4.595e-05/0.005447, allocations: 13.5 kB / 0.5229 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 6.255e-05/0.00551, allocations: 27.97 kB / 0.523 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001855/0.005695, allocations: 79.72 kB / 0.523 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.005698, allocations: 0 / 0.523 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.41e-07/0.005699, allocations: 0 / 0.523 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.005704, allocations: 1.156 kB / 0.523 GB, free: 15.38 MB / 0.4948 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.0007964/0.006501, allocations: 483.7 kB / 0.5235 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.006545, allocations: 12.72 kB / 0.5235 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000175/0.00672, allocations: 18.17 kB / 0.5235 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002288/0.006948, allocations: 142.1 kB / 0.5237 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.836e-05/0.006967, allocations: 8.375 kB / 0.5237 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.909e-05/0.006986, allocations: 9.656 kB / 0.5237 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000279/0.007265, allocations: 136.6 kB / 0.5238 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.007275, allocations: 192 / 0.5238 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.897e-05/0.007294, allocations: 4.906 kB / 0.5238 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.358e-06/0.007304, allocations: 4 kB / 0.5238 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001048/0.007409, allocations: 74.5 kB / 0.5239 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004735/0.007882, allocations: 314.3 kB / 0.5242 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001842/0.008066, allocations: 92.75 kB / 0.5243 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.86e-05/0.008165, allocations: 81.42 kB / 0.5244 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.566e-05/0.00818, allocations: 0 / 0.5244 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000201/0.008381, allocations: 130.7 kB / 0.5245 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=6): time 1.773e-06/0.008383, allocations: 3.938 kB / 0.5245 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6): time 0.0004758/0.008859, allocations: 262.7 kB / 0.5247 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.093e-05/0.00891, allocations: 85.67 kB / 0.5248 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.009017, allocations: 184.8 kB / 0.525 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.711e-05/0.009034, allocations: 33.7 kB / 0.525 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.093e-05/0.009105, allocations: 147.3 kB / 0.5252 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.129e-05/0.009127, allocations: 16.94 kB / 0.5252 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.004e-05/0.009177, allocations: 39.36 kB / 0.5252 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001981/0.009375, allocations: 0.4884 MB / 0.5257 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001027/0.009477, allocations: 92.09 kB / 0.5258 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.153e-05/0.009569, allocations: 103.3 kB / 0.5259 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001318/0.009701, allocations: 134.3 kB / 0.526 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.009704, allocations: 256 / 0.526 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003085/0.01001, allocations: 272.3 kB / 0.5263 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 6.792e-05/0.01008, allocations: 67.39 kB / 0.5263 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.657e-06/0.01009, allocations: 4.5 kB / 0.5263 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.01011, allocations: 5.031 kB / 0.5263 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.01022, allocations: 11.98 kB / 0.5264 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.263e-06/0.01023, allocations: 4.906 kB / 0.5264 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.866e-05/0.01032, allocations: 15.98 kB / 0.5264 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.613e-05/0.01034, allocations: 8.625 kB / 0.5264 GB, free: 11.61 MB / 0.4948 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.0001136/0.01045, allocations: 195.5 kB / 0.5266 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.713e-05/0.01048, allocations: 19.89 kB / 0.5266 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.832e-05/0.0105, allocations: 8.781 kB / 0.5266 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.01051, allocations: 7.219 kB / 0.5266 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.01051, allocations: 0 / 0.5266 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.01052, allocations: 0 / 0.5266 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001086/0.01062, allocations: 136.6 kB / 0.5267 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.01063, allocations: 0 / 0.5267 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.759e-05/0.01067, allocations: 19.86 kB / 0.5268 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.01068, allocations: 0 / 0.5268 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.537e-05/0.01069, allocations: 7.984 kB / 0.5268 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.01069, allocations: 0 / 0.5268 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.0107, allocations: 2.438 kB / 0.5268 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002857/0.01098, allocations: 239.8 kB / 0.527 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.526e-05/0.01101, allocations: 15.83 kB / 0.527 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.47e-05/0.01103, allocations: 3.984 kB / 0.527 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.289e-05/0.0111, allocations: 19.98 kB / 0.527 GB, free: 10.87 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001304/0.01123, allocations: 35.95 kB / 0.5271 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.319e-05/0.01125, allocations: 5.094 kB / 0.5271 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.000217/0.01147, allocations: 139.2 kB / 0.5272 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.01147, allocations: 0 / 0.5272 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002187/0.01168, allocations: 24.94 kB / 0.5272 GB, free: 10.67 MB / 0.4948 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.0001122/0.0118, allocations: 108.3 kB / 0.5273 GB, free: 10.56 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003282/0.01212, allocations: 291.5 kB / 0.5276 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.01213, allocations: 0.6562 kB / 0.5276 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001366/0.01226, allocations: 144.8 kB / 0.5277 GB, free: 10.06 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002247/0.01249, allocations: 26.86 kB / 0.5278 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001813/0.0143, allocations: 260.3 kB / 0.528 GB, free: 9.746 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.348e-05/0.01434, allocations: 62.34 kB / 0.5281 GB, free: 9.668 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 6.248e-05/0.01441, allocations: 11.98 kB / 0.5281 GB, free: 9.656 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.578e-05/0.01446, allocations: 16.5 kB / 0.5281 GB, free: 9.641 MB / 0.4948 GB Notification: Performance of SimCode: time 1.362e-06/0.01446, allocations: 0 / 0.5281 GB, free: 9.641 MB / 0.4948 GB Notification: Performance of Templates: time 0.00413/0.01859, allocations: 2.189 MB / 0.5302 GB, free: 7.586 MB / 0.4948 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8575582657940686]