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.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001452/0.001452, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001825/0.001825, allocations: 192 kB / 22.23 MB, free: 5.16 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.564/1.564, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180]
"[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:482:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence.
[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:490:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence.
[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C.
[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo.
Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.204/1.204, allocations: 177.9 MB / 484.2 MB, free: 5.355 MB / 382.1 MB
"
[Timeout remaining time 178]
Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo)
Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.00249/0.00249, allocations: 74.22 kB / 0.674 GB, free: 10.81 MB / 0.4981 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.8461/0.8486, allocations: 95.17 MB / 0.7669 GB, free: 7.965 MB / 0.5762 GB
Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.NumberOfRequests): time 0.003114/0.8517, allocations: 1.493 MB / 0.7683 GB, free: 7.254 MB / 0.5762 GB
Notification: Performance of NFInst.instExpressions: time 0.000916/0.8527, allocations: 462.4 kB / 0.7688 GB, free: 6.941 MB / 0.5762 GB
Notification: Performance of NFInst.updateImplicitVariability: time 6.27e-05/0.8527, allocations: 0 / 0.7688 GB, free: 6.941 MB / 0.5762 GB
Notification: Performance of NFTyping.typeComponents: time 0.0001172/0.8528, allocations: 6.312 kB / 0.7688 GB, free: 6.938 MB / 0.5762 GB
Notification: Performance of NFTyping.typeBindings: time 7.365e-05/0.8529, allocations: 23.72 kB / 0.7688 GB, free: 6.918 MB / 0.5762 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0002685/0.8532, allocations: 36.83 kB / 0.7689 GB, free: 6.898 MB / 0.5762 GB
Notification: Performance of NFFlatten.flatten: time 0.0002345/0.8534, allocations: 98.53 kB / 0.7689 GB, free: 6.855 MB / 0.5762 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001373/0.8535, allocations: 14.03 kB / 0.769 GB, free: 6.848 MB / 0.5762 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001753/0.8537, allocations: 51.11 kB / 0.769 GB, free: 6.824 MB / 0.5762 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001108/0.8538, allocations: 40.39 kB / 0.769 GB, free: 6.809 MB / 0.5762 GB
Notification: Performance of NFPackage.collectConstants: time 3.519e-05/0.8539, allocations: 9.375 kB / 0.7691 GB, free: 6.809 MB / 0.5762 GB
Notification: Performance of NFFlatten.collectFunctions: time 2.938e-05/0.8539, allocations: 8.125 kB / 0.7691 GB, free: 6.809 MB / 0.5762 GB
Notification: Performance of NFScalarize.scalarize: time 6.112e-05/0.854, allocations: 15.56 kB / 0.7691 GB, free: 6.797 MB / 0.5762 GB
Notification: Performance of NFVerifyModel.verify: time 9.89e-05/0.8541, allocations: 40.92 kB / 0.7691 GB, free: 6.773 MB / 0.5762 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001891/0.8542, allocations: 89.16 kB / 0.7692 GB, free: 6.738 MB / 0.5762 GB
Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.8543, allocations: 1.875 kB / 0.7692 GB, free: 6.738 MB / 0.5762 GB
Notification: Performance of FrontEnd: time 1.513e-06/0.8543, allocations: 0 / 0.7692 GB, free: 6.738 MB / 0.5762 GB
Notification: Performance of Transformations before backend: time 7.615e-06/0.8543, allocations: 0 / 0.7692 GB, free: 6.738 MB / 0.5762 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.0007907/0.8551, allocations: 376.8 kB / 0.7696 GB, free: 6.387 MB / 0.5762 GB
Notification: Performance of prepare preOptimizeDAE: time 5.099e-05/0.8551, allocations: 13.28 kB / 0.7696 GB, free: 6.383 MB / 0.5762 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.623e-05/0.8552, allocations: 12.38 kB / 0.7696 GB, free: 6.379 MB / 0.5762 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001866/0.8553, allocations: 138 kB / 0.7697 GB, free: 6.234 MB / 0.5762 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.601e-05/0.8554, allocations: 8.031 kB / 0.7697 GB, free: 6.23 MB / 0.5762 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.082e-05/0.8554, allocations: 5.562 kB / 0.7697 GB, free: 6.23 MB / 0.5762 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003518/0.8557, allocations: 116.6 kB / 0.7698 GB, free: 6.176 MB / 0.5762 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.8558, allocations: 0 / 0.7698 GB, free: 6.176 MB / 0.5762 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.721e-05/0.8558, allocations: 3.125 kB / 0.7698 GB, free: 6.176 MB / 0.5762 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.8558, allocations: 0 / 0.7698 GB, free: 6.176 MB / 0.5762 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003274/0.8561, allocations: 91.56 kB / 0.7699 GB, free: 6.156 MB / 0.5762 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00059/0.8567, allocations: 309.8 kB / 0.7702 GB, free: 5.887 MB / 0.5762 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003538/0.857, allocations: 96.67 kB / 0.7703 GB, free: 5.848 MB / 0.5762 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002005/0.8572, allocations: 62.12 kB / 0.7704 GB, free: 5.828 MB / 0.5762 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.46e-05/0.8573, allocations: 6.812 kB / 0.7704 GB, free: 5.824 MB / 0.5762 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004029/0.8577, allocations: 123.3 kB / 0.7705 GB, free: 5.758 MB / 0.5762 GB
Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.8577, allocations: 1.156 kB / 0.7705 GB, free: 5.758 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=6): time 0.0008602/0.8585, allocations: 273.8 kB / 0.7708 GB, free: 5.645 MB / 0.5762 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.651e-05/0.8586, allocations: 87.53 kB / 0.7708 GB, free: 5.547 MB / 0.5762 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001172/0.8587, allocations: 134.5 kB / 0.771 GB, free: 5.434 MB / 0.5762 GB
Notification: Performance of collectPreVariables (initialization): time 2.217e-05/0.8587, allocations: 28.77 kB / 0.771 GB, free: 5.402 MB / 0.5762 GB
Notification: Performance of collectInitialEqns (initialization): time 5.961e-05/0.8588, allocations: 101.8 kB / 0.7711 GB, free: 5.305 MB / 0.5762 GB
Notification: Performance of collectInitialBindings (initialization): time 2.906e-05/0.8588, allocations: 24.91 kB / 0.7711 GB, free: 5.285 MB / 0.5762 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 6.779e-05/0.8589, allocations: 27.53 kB / 0.7712 GB, free: 5.266 MB / 0.5762 GB
Notification: Performance of setup shared object (initialization): time 7.941e-05/0.859, allocations: 325.6 kB / 0.7715 GB, free: 4.945 MB / 0.5762 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002116/0.8592, allocations: 69.53 kB / 0.7715 GB, free: 4.926 MB / 0.5762 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002126/0.8594, allocations: 62.55 kB / 0.7716 GB, free: 4.914 MB / 0.5762 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003682/0.8598, allocations: 183.6 kB / 0.7718 GB, free: 4.785 MB / 0.5762 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.8598, allocations: 0.7188 kB / 0.7718 GB, free: 4.785 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=9) (initialization): time 0.000554/0.8603, allocations: 264.8 kB / 0.772 GB, free: 4.641 MB / 0.5762 GB
Notification: Performance of prepare postOptimizeDAE: time 5.364e-05/0.8604, allocations: 67.08 kB / 0.7721 GB, free: 4.574 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.8604, allocations: 0 / 0.7721 GB, free: 4.574 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/0.8604, allocations: 0.6875 kB / 0.7721 GB, free: 4.574 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001394/0.8605, allocations: 17.8 kB / 0.7721 GB, free: 4.57 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.8605, allocations: 7.172 kB / 0.7721 GB, free: 4.566 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001632/0.8607, allocations: 21.3 kB / 0.7721 GB, free: 4.562 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.297e-05/0.8607, allocations: 4.562 kB / 0.7721 GB, free: 4.562 MB / 0.5762 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.0001137/0.8608, allocations: 161.2 kB / 0.7723 GB, free: 4.402 MB / 0.5762 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.341e-05/0.8609, allocations: 9.391 kB / 0.7723 GB, free: 4.398 MB / 0.5762 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.711e-05/0.8609, allocations: 10.28 kB / 0.7723 GB, free: 4.387 MB / 0.5762 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.8609, allocations: 2.516 kB / 0.7723 GB, free: 4.387 MB / 0.5762 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.8609, allocations: 4.531 kB / 0.7723 GB, free: 4.383 MB / 0.5762 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.8609, allocations: 0 / 0.7723 GB, free: 4.383 MB / 0.5762 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001445/0.8611, allocations: 165.9 kB / 0.7725 GB, free: 4.215 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.8611, allocations: 0 / 0.7725 GB, free: 4.215 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.057e-05/0.8612, allocations: 15.58 kB / 0.7725 GB, free: 4.211 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.8612, allocations: 0 / 0.7725 GB, free: 4.211 MB / 0.5762 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.742e-05/0.8612, allocations: 3.672 kB / 0.7725 GB, free: 4.211 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.8612, allocations: 1.188 kB / 0.7725 GB, free: 4.211 MB / 0.5762 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.8612, allocations: 4 kB / 0.7725 GB, free: 4.207 MB / 0.5762 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005447/0.8617, allocations: 252.2 kB / 0.7727 GB, free: 4.066 MB / 0.5762 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.866e-05/0.8617, allocations: 11.55 kB / 0.7727 GB, free: 4.059 MB / 0.5762 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.87e-05/0.8618, allocations: 2.969 kB / 0.7727 GB, free: 4.059 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001456/0.8619, allocations: 18.16 kB / 0.7728 GB, free: 4.059 MB / 0.5762 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001517/0.8621, allocations: 36.05 kB / 0.7728 GB, free: 4.047 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.619e-05/0.8621, allocations: 6.031 kB / 0.7728 GB, free: 4.047 MB / 0.5762 GB
Notification: Performance of sorting global known variables: time 5.862e-05/0.8621, allocations: 102.5 kB / 0.7729 GB, free: 3.961 MB / 0.5762 GB
Notification: Performance of sort global known variables: time 8e-08/0.8621, allocations: 4.844 kB / 0.7729 GB, free: 3.957 MB / 0.5762 GB
Notification: Performance of remove unused functions: time 0.0002227/0.8624, allocations: 25.06 kB / 0.7729 GB, free: 3.953 MB / 0.5762 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.000106/0.8625, allocations: 105.4 kB / 0.773 GB, free: 3.859 MB / 0.5762 GB
Notification: Performance of simCode: created initialization part: time 0.0005635/0.863, allocations: 256.5 kB / 0.7733 GB, free: 3.699 MB / 0.5762 GB
Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.863, allocations: 0 / 0.7733 GB, free: 3.699 MB / 0.5762 GB
Notification: Performance of simCode: created simulation system equations: time 0.0002609/0.8633, allocations: 134.3 kB / 0.7734 GB, free: 3.613 MB / 0.5762 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002313/0.8635, allocations: 21.05 kB / 0.7734 GB, free: 3.605 MB / 0.5762 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006014/0.8641, allocations: 220.9 kB / 0.7736 GB, free: 3.449 MB / 0.5762 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001559/0.8643, allocations: 0.6916 MB / 0.7743 GB, free: 2.75 MB / 0.5762 GB
Notification: Performance of simCode: alias equations: time 5.344e-05/0.8643, allocations: 8.234 kB / 0.7743 GB, free: 2.75 MB / 0.5762 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.977e-05/0.8644, allocations: 20.12 kB / 0.7743 GB, free: 2.734 MB / 0.5762 GB
Notification: Performance of SimCode: time 2.91e-07/0.8644, allocations: 0 / 0.7743 GB, free: 2.734 MB / 0.5762 GB
Notification: Performance of Templates: time 0.006456/0.8709, allocations: 1.926 MB / 0.7762 GB, free: 2.562 MB / 0.5762 GB
"
[Timeout remaining time 659]
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: 7.187248243018985]
Failed to read output from testmodel.py, exit status != 0:
0.881543755531311 0.896722019 0.038684763000000004
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f023ad017b0>