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.001896/0.001896, allocations: 81.5 kB / 19.44 MB, free: 344 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.002036/0.002036, allocations: 173.2 kB / 22.76 MB, free: 1.66 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 1.655/1.655, allocations: 177.1 MB / 203.1 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 178] 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 1.36/1.36, allocations: 154.8 MB / 414.4 MB, free: 480 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 178] 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 1.814e-06/1.814e-06, allocations: 0 / 0.5198 GB, free: 2.383 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.164e-05/4.345e-05, allocations: 3.859 kB / 0.5198 GB, free: 2.379 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.NumberOfRequests): time 0.004003/0.004046, allocations: 1.506 MB / 0.5213 GB, free: 0.8867 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001325/0.005371, allocations: 0.504 MB / 0.5218 GB, free: 388 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.342e-05/0.005445, allocations: 2.688 kB / 0.5218 GB, free: 388 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000141/0.005586, allocations: 7.922 kB / 0.5218 GB, free: 380 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.034e-05/0.005666, allocations: 11.88 kB / 0.5218 GB, free: 368 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003621/0.006028, allocations: 55.8 kB / 0.5218 GB, free: 312 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002478/0.006276, allocations: 99.7 kB / 0.5219 GB, free: 212 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001199/0.006396, allocations: 8.172 kB / 0.5219 GB, free: 204 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002858/0.006682, allocations: 76.34 kB / 0.522 GB, free: 128 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001096/0.006791, allocations: 32.39 kB / 0.522 GB, free: 96 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.695e-05/0.006828, allocations: 8.969 kB / 0.5221 GB, free: 88 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.292e-05/0.006891, allocations: 8 kB / 0.5221 GB, free: 80 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 5.79e-05/0.006949, allocations: 19.97 kB / 0.5221 GB, free: 60 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 8.689e-05/0.007036, allocations: 29.55 kB / 0.5221 GB, free: 32 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002832/0.007319, allocations: 95.73 kB / 0.5222 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.007326, allocations: 4 kB / 0.5222 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.924e-06/0.007327, allocations: 0 / 0.5222 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.63e-06/0.007333, allocations: 0.9375 kB / 0.5222 GB, free: 15.93 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.00102/0.008353, allocations: 479.3 kB / 0.5227 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/0.008402, allocations: 13.44 kB / 0.5227 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002276/0.00863, allocations: 20.88 kB / 0.5227 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002935/0.008924, allocations: 142.9 kB / 0.5228 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.561e-05/0.008949, allocations: 5.531 kB / 0.5228 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.967e-05/0.008979, allocations: 8.375 kB / 0.5228 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003906/0.009369, allocations: 136.6 kB / 0.523 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.00938, allocations: 192 / 0.523 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.563e-05/0.009406, allocations: 9.406 kB / 0.523 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/0.009414, allocations: 7.922 kB / 0.523 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003471/0.009761, allocations: 102.8 kB / 0.5231 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007111/0.01047, allocations: 319.6 kB / 0.5234 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003856/0.01086, allocations: 129.3 kB / 0.5235 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002441/0.0111, allocations: 103.3 kB / 0.5236 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.412e-05/0.01113, allocations: 0 / 0.5236 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003993/0.01153, allocations: 154.7 kB / 0.5238 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=6): time 1.403e-06/0.01153, allocations: 0 / 0.5238 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6): time 0.0009615/0.01249, allocations: 324.2 kB / 0.5241 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.762e-05/0.01258, allocations: 85.11 kB / 0.5242 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002227/0.0128, allocations: 193.9 kB / 0.5243 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.866e-05/0.01284, allocations: 36.95 kB / 0.5244 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000132/0.01297, allocations: 146.8 kB / 0.5245 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.853e-05/0.01301, allocations: 19.84 kB / 0.5245 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001023/0.01311, allocations: 39.44 kB / 0.5246 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000304/0.01341, allocations: 0.4884 MB / 0.5251 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002714/0.01369, allocations: 123.3 kB / 0.5252 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002539/0.01394, allocations: 123.3 kB / 0.5253 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004164/0.01436, allocations: 175.6 kB / 0.5255 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.01436, allocations: 0 / 0.5255 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000694/0.01505, allocations: 316.3 kB / 0.5258 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.625e-05/0.01514, allocations: 63.39 kB / 0.5258 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.01515, allocations: 0 / 0.5258 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.123e-05/0.01517, allocations: 0 / 0.5258 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001723/0.01534, allocations: 21.67 kB / 0.5258 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.01535, allocations: 0 / 0.5258 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000163/0.01551, allocations: 19.98 kB / 0.5259 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.267e-05/0.01553, allocations: 4.5 kB / 0.5259 GB, free: 11.86 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.0001955/0.01573, allocations: 195.3 kB / 0.526 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.214e-05/0.01578, allocations: 23.88 kB / 0.5261 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.348e-05/0.01582, allocations: 9.938 kB / 0.5261 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.01583, allocations: 0 / 0.5261 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.01583, allocations: 0 / 0.5261 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.014e-06/0.01584, allocations: 4.5 kB / 0.5261 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001999/0.01604, allocations: 137.1 kB / 0.5262 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.01604, allocations: 4 kB / 0.5262 GB, free: 11.44 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.009e-05/0.01612, allocations: 17.98 kB / 0.5262 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.01612, allocations: 7.922 kB / 0.5262 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.836e-05/0.01615, allocations: 8 kB / 0.5262 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.01615, allocations: 0 / 0.5262 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.456e-06/0.01616, allocations: 0 / 0.5262 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000675/0.01684, allocations: 282.2 kB / 0.5265 GB, free: 11.1 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.836e-05/0.01687, allocations: 7.891 kB / 0.5265 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.343e-05/0.0169, allocations: 4 kB / 0.5265 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000147/0.01705, allocations: 19.98 kB / 0.5265 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001999/0.01725, allocations: 35.95 kB / 0.5266 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.01727, allocations: 10.11 kB / 0.5266 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001414/0.01741, allocations: 149.3 kB / 0.5267 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.01e-07/0.01741, allocations: 0 / 0.5267 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003313/0.01774, allocations: 23.94 kB / 0.5268 GB, free: 10.86 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.0001679/0.01791, allocations: 104.2 kB / 0.5269 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0007228/0.01863, allocations: 351.7 kB / 0.5272 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.01863, allocations: 0.9375 kB / 0.5272 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003456/0.01898, allocations: 168.8 kB / 0.5274 GB, free: 10.17 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003369/0.01931, allocations: 19.89 kB / 0.5274 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007725/0.02009, allocations: 260.2 kB / 0.5276 GB, free: 9.863 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001072/0.02019, allocations: 76.61 kB / 0.5277 GB, free: 9.77 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 7.268e-05/0.02027, allocations: 13.34 kB / 0.5277 GB, free: 9.758 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.16e-05/0.02034, allocations: 17.81 kB / 0.5277 GB, free: 9.742 MB / 0.4948 GB Notification: Performance of SimCode: time 7.91e-07/0.02034, allocations: 0 / 0.5277 GB, free: 9.742 MB / 0.4948 GB Notification: Performance of Templates: time 0.007869/0.02821, allocations: 2.056 MB / 0.5297 GB, free: 7.789 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: 6.627792515908368]