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.000753/0.000753, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007366/0.0007366, allocations: 177.9 kB / 23.21 MB, free: 1.352 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.861/0.861, allocations: 177.1 MB / 203.5 MB, free: 5.727 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-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.6948/0.6948, allocations: 154.5 MB / 414.5 MB, free: 0.8555 MB / 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 1.392e-06/1.392e-06, allocations: 0 / 0.6192 GB, free: 13.29 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.581e-05/1.72e-05, allocations: 6.281 kB / 0.6192 GB, free: 13.28 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.NumberOfRequests): time 0.001606/0.001624, allocations: 1.503 MB / 0.6207 GB, free: 11.76 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0006228/0.002246, allocations: 498.7 kB / 0.6212 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.598e-05/0.002302, allocations: 3.938 kB / 0.6212 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 8.342e-05/0.002386, allocations: 3.938 kB / 0.6212 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.623e-05/0.002432, allocations: 15.88 kB / 0.6212 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002284/0.00266, allocations: 55.8 kB / 0.6212 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001366/0.002797, allocations: 103.7 kB / 0.6213 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.201e-05/0.002889, allocations: 4.188 kB / 0.6214 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001547/0.003044, allocations: 75.81 kB / 0.6214 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.168e-05/0.003105, allocations: 27.89 kB / 0.6214 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.826e-05/0.003123, allocations: 12 kB / 0.6215 GB, free: 10.97 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 3.528e-05/0.003159, allocations: 8 kB / 0.6215 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 3.944e-05/0.003198, allocations: 19.92 kB / 0.6215 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.734e-05/0.003246, allocations: 31.95 kB / 0.6215 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001412/0.003387, allocations: 95.75 kB / 0.6216 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.382e-06/0.003388, allocations: 0 / 0.6216 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.82e-07/0.003389, allocations: 4 kB / 0.6216 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.477e-06/0.003393, allocations: 0 / 0.6216 GB, free: 10.82 MB / 0.5886 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.0004984/0.003891, allocations: 385.4 kB / 0.622 GB, free: 10.4 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.165e-05/0.003923, allocations: 9.469 kB / 0.622 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001043/0.004027, allocations: 20.88 kB / 0.622 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001587/0.004186, allocations: 125.7 kB / 0.6221 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.004196, allocations: 12.38 kB / 0.6221 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.426e-05/0.004211, allocations: 12.31 kB / 0.6222 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002021/0.004413, allocations: 147.8 kB / 0.6223 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.024e-06/0.00442, allocations: 192 / 0.6223 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.004431, allocations: 4.125 kB / 0.6223 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.004437, allocations: 4 kB / 0.6223 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001549/0.004591, allocations: 121.6 kB / 0.6224 GB, free: 9.91 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003314/0.004923, allocations: 260.4 kB / 0.6227 GB, free: 9.625 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001772/0.0051, allocations: 136.1 kB / 0.6228 GB, free: 9.477 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.886e-05/0.005199, allocations: 102.6 kB / 0.6229 GB, free: 9.367 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.233e-05/0.005211, allocations: 0 / 0.6229 GB, free: 9.367 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001773/0.005388, allocations: 157 kB / 0.623 GB, free: 9.195 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.00539, allocations: 4 kB / 0.623 GB, free: 9.191 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6): time 0.0004145/0.005804, allocations: 334.6 kB / 0.6234 GB, free: 8.84 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.122e-05/0.005845, allocations: 89.05 kB / 0.6235 GB, free: 8.734 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.29e-05/0.005918, allocations: 130.1 kB / 0.6236 GB, free: 8.594 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.428e-05/0.005932, allocations: 29.7 kB / 0.6236 GB, free: 8.559 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.704e-05/0.005979, allocations: 96.09 kB / 0.6237 GB, free: 8.461 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.573e-05/0.005995, allocations: 23.83 kB / 0.6237 GB, free: 8.438 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.88e-05/0.006034, allocations: 29.72 kB / 0.6237 GB, free: 8.402 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.997e-05/0.006104, allocations: 318.8 kB / 0.6241 GB, free: 8.082 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001148/0.006219, allocations: 127.3 kB / 0.6242 GB, free: 7.945 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001019/0.006321, allocations: 123.4 kB / 0.6243 GB, free: 7.812 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002323/0.006553, allocations: 177.9 kB / 0.6245 GB, free: 7.617 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.006555, allocations: 0 / 0.6245 GB, free: 7.617 MB / 0.5886 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002784/0.006833, allocations: 332.2 kB / 0.6248 GB, free: 7.262 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.453e-05/0.006868, allocations: 63.41 kB / 0.6248 GB, free: 7.188 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.006872, allocations: 0 / 0.6248 GB, free: 7.188 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.006883, allocations: 4.25 kB / 0.6248 GB, free: 7.184 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.356e-05/0.006947, allocations: 15.97 kB / 0.6249 GB, free: 7.168 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.006952, allocations: 4 kB / 0.6249 GB, free: 7.164 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.507e-05/0.007017, allocations: 23.98 kB / 0.6249 GB, free: 7.141 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.345e-05/0.00703, allocations: 11.98 kB / 0.6249 GB, free: 7.129 MB / 0.5886 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 7.327e-05/0.007103, allocations: 148.5 kB / 0.625 GB, free: 6.969 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.384e-05/0.007117, allocations: 15.98 kB / 0.6251 GB, free: 6.953 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.306e-05/0.00714, allocations: 24.69 kB / 0.6251 GB, free: 6.922 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.007142, allocations: 0 / 0.6251 GB, free: 6.922 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.007146, allocations: 3.938 kB / 0.6251 GB, free: 6.918 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.007148, allocations: 0 / 0.6251 GB, free: 6.918 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.006e-05/0.007228, allocations: 129.4 kB / 0.6252 GB, free: 6.762 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.007229, allocations: 0 / 0.6252 GB, free: 6.762 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.37e-05/0.007263, allocations: 19.92 kB / 0.6252 GB, free: 6.742 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.007264, allocations: 0 / 0.6252 GB, free: 6.742 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.749e-06/0.007274, allocations: 4 kB / 0.6252 GB, free: 6.738 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.007275, allocations: 0 / 0.6252 GB, free: 6.738 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.007276, allocations: 0 / 0.6252 GB, free: 6.738 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000252/0.007528, allocations: 276.4 kB / 0.6255 GB, free: 6.438 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.146e-05/0.007539, allocations: 11.89 kB / 0.6255 GB, free: 6.426 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.625e-05/0.007556, allocations: 4 kB / 0.6255 GB, free: 6.422 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.488e-05/0.007611, allocations: 31.91 kB / 0.6255 GB, free: 6.391 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.42e-05/0.007695, allocations: 35.95 kB / 0.6256 GB, free: 6.355 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.282e-06/0.007701, allocations: 0 / 0.6256 GB, free: 6.355 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.02e-05/0.007741, allocations: 105.7 kB / 0.6257 GB, free: 6.254 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.007741, allocations: 0 / 0.6257 GB, free: 6.254 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001335/0.007875, allocations: 27.94 kB / 0.6257 GB, free: 6.227 MB / 0.5886 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 6.429e-05/0.007939, allocations: 95.25 kB / 0.6258 GB, free: 6.125 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002975/0.008236, allocations: 347.8 kB / 0.6261 GB, free: 5.742 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.008238, allocations: 0 / 0.6261 GB, free: 5.742 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001267/0.008364, allocations: 161 kB / 0.6263 GB, free: 5.566 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001413/0.008506, allocations: 18.33 kB / 0.6263 GB, free: 5.551 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003485/0.008854, allocations: 268.9 kB / 0.6265 GB, free: 5.246 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.587e-05/0.0089, allocations: 83.33 kB / 0.6266 GB, free: 5.145 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.329e-05/0.008933, allocations: 12.5 kB / 0.6266 GB, free: 5.133 MB / 0.5886 GB Notification: Performance of SimCode: time 3.6e-07/0.008934, allocations: 0 / 0.6266 GB, free: 5.133 MB / 0.5886 GB Notification: Performance of Templates: time 0.00202/0.01095, allocations: 1.508 MB / 0.6281 GB, free: 3.645 MB / 0.5886 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.199581187218428] Failed to read output from testmodel.py, exit status != 0: 0.015377195551991463 0.023549292000000003 0.01855302 Calling exit ...