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.001534/0.001534, allocations: 80.44 kB / 19.18 MB, free: 2.527 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.001845/0.001845, allocations: 166 kB / 22.46 MB, free: 5.355 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.642/1.642, allocations: 177.1 MB / 202.8 MB, free: 9.188 MB / 190.1 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-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 1.339/1.339, allocations: 154.6 MB / 413.7 MB, free: 5.324 MB / 382.1 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 2.264e-06/2.264e-06, allocations: 0 / 0.6185 GB, free: 4.699 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.502e-05/3.728e-05, allocations: 5.672 kB / 0.6185 GB, free: 4.695 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.NumberOfRequests): time 0.003352/0.00339, allocations: 1.491 MB / 0.6199 GB, free: 3.211 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001204/0.004594, allocations: 0.4956 MB / 0.6204 GB, free: 2.711 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.894e-05/0.004673, allocations: 4 kB / 0.6204 GB, free: 2.707 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001313/0.004804, allocations: 3.938 kB / 0.6204 GB, free: 2.703 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.195e-05/0.004876, allocations: 15.86 kB / 0.6204 GB, free: 2.688 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003479/0.005224, allocations: 51.81 kB / 0.6205 GB, free: 2.637 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002326/0.005457, allocations: 103.8 kB / 0.6206 GB, free: 2.535 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001489/0.005606, allocations: 8.125 kB / 0.6206 GB, free: 2.527 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002846/0.00589, allocations: 79.8 kB / 0.6207 GB, free: 2.449 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001013/0.005992, allocations: 31.89 kB / 0.6207 GB, free: 2.418 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.329e-05/0.006025, allocations: 8 kB / 0.6207 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 5.534e-05/0.00608, allocations: 16 kB / 0.6207 GB, free: 2.395 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 6.198e-05/0.006142, allocations: 15.92 kB / 0.6207 GB, free: 2.379 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.89e-05/0.006211, allocations: 27.97 kB / 0.6208 GB, free: 2.352 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002445/0.006456, allocations: 99.73 kB / 0.6209 GB, free: 2.254 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.006459, allocations: 0 / 0.6209 GB, free: 2.254 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.082e-06/0.00646, allocations: 0 / 0.6209 GB, free: 2.254 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.006465, allocations: 0 / 0.6209 GB, free: 2.254 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.0009284/0.007394, allocations: 381.4 kB / 0.6212 GB, free: 1.84 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.137e-05/0.007445, allocations: 9.469 kB / 0.6212 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002205/0.007665, allocations: 24.88 kB / 0.6213 GB, free: 1.809 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003003/0.007966, allocations: 145.5 kB / 0.6214 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.057e-05/0.007986, allocations: 4.375 kB / 0.6214 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.541e-05/0.008012, allocations: 8.375 kB / 0.6214 GB, free: 1.629 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003884/0.0084, allocations: 143.9 kB / 0.6215 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.008411, allocations: 192 / 0.6215 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.935e-05/0.008431, allocations: 4.125 kB / 0.6216 GB, free: 1.473 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.919e-06/0.008441, allocations: 4 kB / 0.6216 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003615/0.008802, allocations: 129.5 kB / 0.6217 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000582/0.009384, allocations: 260.4 kB / 0.6219 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003726/0.009757, allocations: 128.2 kB / 0.622 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002265/0.009983, allocations: 98.56 kB / 0.6221 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.058e-05/0.01, allocations: 4 kB / 0.6221 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003657/0.01037, allocations: 153 kB / 0.6223 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=6): time 1.513e-06/0.01037, allocations: 0 / 0.6223 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of matching and sorting (n=6): time 0.0008546/0.01123, allocations: 338.5 kB / 0.6226 GB, free: 284 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.888e-05/0.01131, allocations: 85.11 kB / 0.6227 GB, free: 180 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001467/0.01146, allocations: 134.1 kB / 0.6228 GB, free: 32 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.764e-05/0.01151, allocations: 33.7 kB / 0.6229 GB, free: 15.99 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.409e-05/0.0116, allocations: 96.12 kB / 0.6229 GB, free: 15.89 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.642e-05/0.01163, allocations: 15.91 kB / 0.623 GB, free: 15.88 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.595e-05/0.0117, allocations: 29.7 kB / 0.623 GB, free: 15.84 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001628/0.01186, allocations: 314.8 kB / 0.6233 GB, free: 15.53 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002486/0.01211, allocations: 131.3 kB / 0.6234 GB, free: 15.39 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000247/0.01235, allocations: 123.3 kB / 0.6235 GB, free: 15.25 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004039/0.01276, allocations: 181.8 kB / 0.6237 GB, free: 15.05 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.01276, allocations: 0 / 0.6237 GB, free: 15.05 MB / 0.545 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0006632/0.01342, allocations: 328.2 kB / 0.624 GB, free: 14.7 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.989e-05/0.01351, allocations: 67.39 kB / 0.6241 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.01352, allocations: 4 kB / 0.6241 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.415e-05/0.01355, allocations: 0 / 0.6241 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001368/0.01368, allocations: 19.95 kB / 0.6241 GB, free: 14.6 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/0.01369, allocations: 7.938 kB / 0.6241 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001619/0.01386, allocations: 27.91 kB / 0.6241 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.73e-05/0.01388, allocations: 8 kB / 0.6242 GB, free: 14.56 MB / 0.545 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.0001943/0.01408, allocations: 144.5 kB / 0.6243 GB, free: 14.4 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.824e-05/0.01411, allocations: 15.89 kB / 0.6243 GB, free: 14.39 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.041e-05/0.01416, allocations: 16.77 kB / 0.6243 GB, free: 14.36 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.01416, allocations: 0 / 0.6243 GB, free: 14.36 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.01417, allocations: 4 kB / 0.6243 GB, free: 14.36 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.01417, allocations: 4 kB / 0.6243 GB, free: 14.36 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001685/0.01434, allocations: 125.4 kB / 0.6244 GB, free: 14.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.01434, allocations: 256 / 0.6244 GB, free: 14.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.071e-05/0.01443, allocations: 19.92 kB / 0.6245 GB, free: 14.18 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.01444, allocations: 0 / 0.6245 GB, free: 14.18 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.199e-05/0.01446, allocations: 7.984 kB / 0.6245 GB, free: 14.18 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.01446, allocations: 0 / 0.6245 GB, free: 14.18 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.01446, allocations: 0 / 0.6245 GB, free: 14.18 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006122/0.01507, allocations: 284.3 kB / 0.6247 GB, free: 13.87 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.028e-05/0.01509, allocations: 11.88 kB / 0.6248 GB, free: 13.86 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.057e-05/0.01512, allocations: 4 kB / 0.6248 GB, free: 13.85 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001772/0.0153, allocations: 23.97 kB / 0.6248 GB, free: 13.83 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000155/0.01546, allocations: 35.95 kB / 0.6248 GB, free: 13.79 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.202e-05/0.01547, allocations: 0 / 0.6248 GB, free: 13.79 MB / 0.545 GB Notification: Performance of sorting global known variables: time 9.066e-05/0.01556, allocations: 105.8 kB / 0.6249 GB, free: 13.69 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.01556, allocations: 0 / 0.6249 GB, free: 13.69 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002135/0.01577, allocations: 24 kB / 0.6249 GB, free: 13.67 MB / 0.545 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.0001556/0.01593, allocations: 103.2 kB / 0.625 GB, free: 13.56 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006539/0.01658, allocations: 351.7 kB / 0.6254 GB, free: 13.17 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.01658, allocations: 0 / 0.6254 GB, free: 13.17 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003065/0.01689, allocations: 153.1 kB / 0.6255 GB, free: 13 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002304/0.01712, allocations: 18.48 kB / 0.6255 GB, free: 12.99 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006533/0.01777, allocations: 259 kB / 0.6258 GB, free: 12.7 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.873e-05/0.01787, allocations: 75.33 kB / 0.6259 GB, free: 12.6 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.116e-05/0.01792, allocations: 7.984 kB / 0.6259 GB, free: 12.59 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.971e-05/0.01797, allocations: 12.5 kB / 0.6259 GB, free: 12.58 MB / 0.545 GB Notification: Performance of SimCode: time 5.21e-07/0.01797, allocations: 0 / 0.6259 GB, free: 12.58 MB / 0.545 GB Notification: Performance of Templates: time 0.006154/0.02413, allocations: 2.031 MB / 0.6279 GB, free: 10.59 MB / 0.545 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: 6.6299242079257965] Failed to read output from testmodel.py, exit status != 0: 0.033749524503946304 0.048742995000000004 0.039228007 Calling exit ...