Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.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.001274/0.001274, 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.001732/0.001732, allocations: 193.2 kB / 22.23 MB, free: 5.156 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.532/1.532, allocations: 225.6 MB / 251 MB, free: 12.99 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.183/1.183, allocations: 177.9 MB / 484.2 MB, free: 5.309 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.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial")
translateModel(IDEAS.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002012/0.002012, allocations: 63.73 kB / 0.674 GB, free: 10.75 MB / 0.4981 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.7492/0.7513, allocations: 95.17 MB / 0.7669 GB, free: 7.93 MB / 0.5762 GB
Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Binomial): time 0.002625/0.7539, allocations: 1.545 MB / 0.7684 GB, free: 7.176 MB / 0.5762 GB
Notification: Performance of NFInst.instExpressions: time 0.0004533/0.7543, allocations: 183.3 kB / 0.7686 GB, free: 7.059 MB / 0.5762 GB
Notification: Performance of NFInst.updateImplicitVariability: time 4.743e-05/0.7544, allocations: 4 kB / 0.7686 GB, free: 7.055 MB / 0.5762 GB
Notification: Performance of NFTyping.typeComponents: time 3.01e-05/0.7544, allocations: 5.547 kB / 0.7686 GB, free: 7.051 MB / 0.5762 GB
Notification: Performance of NFTyping.typeBindings: time 4.462e-05/0.7545, allocations: 0.5625 kB / 0.7686 GB, free: 7.051 MB / 0.5762 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0003658/0.7548, allocations: 59.94 kB / 0.7687 GB, free: 7.02 MB / 0.5762 GB
Notification: Performance of NFFlatten.flatten: time 8.127e-05/0.7549, allocations: 34.92 kB / 0.7687 GB, free: 7.004 MB / 0.5762 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.755, allocations: 15.38 kB / 0.7687 GB, free: 7 MB / 0.5762 GB
Notification: Performance of NFEvalConstants.evaluate: time 3.252e-05/0.755, allocations: 20.11 kB / 0.7687 GB, free: 6.988 MB / 0.5762 GB
Notification: Performance of NFSimplifyModel.simplify: time 5.115e-05/0.7551, allocations: 20.41 kB / 0.7688 GB, free: 6.977 MB / 0.5762 GB
Notification: Performance of NFPackage.collectConstants: time 1.727e-05/0.7551, allocations: 3.594 kB / 0.7688 GB, free: 6.977 MB / 0.5762 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001383/0.7552, allocations: 52.19 kB / 0.7688 GB, free: 6.961 MB / 0.5762 GB
Notification: Performance of NFScalarize.scalarize: time 1.827e-05/0.7553, allocations: 19.86 kB / 0.7688 GB, free: 6.945 MB / 0.5762 GB
Notification: Performance of NFVerifyModel.verify: time 2.825e-05/0.7553, allocations: 16.17 kB / 0.7689 GB, free: 6.934 MB / 0.5762 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001802/0.7555, allocations: 57.86 kB / 0.7689 GB, free: 6.914 MB / 0.5762 GB
Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.7555, allocations: 4.891 kB / 0.7689 GB, free: 6.91 MB / 0.5762 GB
Notification: Performance of FrontEnd: time 1.793e-06/0.7555, allocations: 3.938 kB / 0.7689 GB, free: 6.906 MB / 0.5762 GB
Notification: Performance of Transformations before backend: time 7.123e-06/0.7555, allocations: 0 / 0.7689 GB, free: 6.906 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: 7
 * Number of variables: 7
Notification: Performance of Generate backend data structure: time 0.0004358/0.7559, allocations: 281.6 kB / 0.7692 GB, free: 6.637 MB / 0.5762 GB
Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.756, allocations: 8.938 kB / 0.7692 GB, free: 6.637 MB / 0.5762 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.941e-05/0.756, allocations: 6.984 kB / 0.7692 GB, free: 6.633 MB / 0.5762 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 7.399e-05/0.7561, allocations: 113 kB / 0.7693 GB, free: 6.5 MB / 0.5762 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.479e-05/0.7561, allocations: 5.688 kB / 0.7693 GB, free: 6.496 MB / 0.5762 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.083e-05/0.7561, allocations: 3.062 kB / 0.7693 GB, free: 6.496 MB / 0.5762 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002039/0.7563, allocations: 65.73 kB / 0.7694 GB, free: 6.453 MB / 0.5762 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.7563, allocations: 1.219 kB / 0.7694 GB, free: 6.453 MB / 0.5762 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.7563, allocations: 3.938 kB / 0.7694 GB, free: 6.449 MB / 0.5762 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.7563, allocations: 1.062 kB / 0.7694 GB, free: 6.449 MB / 0.5762 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002049/0.7565, allocations: 48.73 kB / 0.7694 GB, free: 6.438 MB / 0.5762 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003327/0.7569, allocations: 252 kB / 0.7697 GB, free: 6.184 MB / 0.5762 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.000315/0.7572, allocations: 59.8 kB / 0.7697 GB, free: 6.148 MB / 0.5762 GB
Notification: Performance of preOpt resolveLoops (simulation): time 9.289e-05/0.7573, allocations: 25 kB / 0.7698 GB, free: 6.137 MB / 0.5762 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001507/0.7574, allocations: 17.33 kB / 0.7698 GB, free: 6.133 MB / 0.5762 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.466e-05/0.7575, allocations: 30.56 kB / 0.7698 GB, free: 6.094 MB / 0.5762 GB
Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.7575, allocations: 0 / 0.7698 GB, free: 6.094 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=3): time 0.0003823/0.7578, allocations: 98.2 kB / 0.7699 GB, free: 6.047 MB / 0.5762 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 2.222e-05/0.7579, allocations: 52.62 kB / 0.7699 GB, free: 5.984 MB / 0.5762 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.833e-05/0.7579, allocations: 109.9 kB / 0.77 GB, free: 5.879 MB / 0.5762 GB
Notification: Performance of collectPreVariables (initialization): time 8.796e-06/0.7579, allocations: 32.12 kB / 0.7701 GB, free: 5.844 MB / 0.5762 GB
Notification: Performance of collectInitialEqns (initialization): time 2.849e-05/0.758, allocations: 87.22 kB / 0.7702 GB, free: 5.758 MB / 0.5762 GB
Notification: Performance of collectInitialBindings (initialization): time 1.341e-05/0.758, allocations: 9.859 kB / 0.7702 GB, free: 5.75 MB / 0.5762 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.256e-05/0.758, allocations: 26.25 kB / 0.7702 GB, free: 5.723 MB / 0.5762 GB
Notification: Performance of setup shared object (initialization): time 4.09e-05/0.758, allocations: 317.9 kB / 0.7705 GB, free: 5.406 MB / 0.5762 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 9.034e-05/0.7581, allocations: 19.05 kB / 0.7705 GB, free: 5.402 MB / 0.5762 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 8.247e-05/0.7582, allocations: 20.31 kB / 0.7705 GB, free: 5.398 MB / 0.5762 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001663/0.7584, allocations: 50.61 kB / 0.7706 GB, free: 5.379 MB / 0.5762 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.7584, allocations: 0 / 0.7706 GB, free: 5.379 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002095/0.7586, allocations: 75.7 kB / 0.7707 GB, free: 5.34 MB / 0.5762 GB
Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.7586, allocations: 5.25 kB / 0.7707 GB, free: 5.34 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.7586, allocations: 0 / 0.7707 GB, free: 5.34 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.7586, allocations: 3.938 kB / 0.7707 GB, free: 5.336 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.074e-05/0.7587, allocations: 15.73 kB / 0.7707 GB, free: 5.332 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.7587, allocations: 0 / 0.7707 GB, free: 5.332 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.994e-05/0.7588, allocations: 18.12 kB / 0.7707 GB, free: 5.32 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.283e-06/0.7588, allocations: 2.016 kB / 0.7707 GB, free: 5.32 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: 2 (bin.y,rea2Int.y)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (3):
 * Single equations (assignments): 3
 * Array equations: 0
 * Algorithm blocks: 0
 * 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 5.456e-05/0.7588, allocations: 113.1 kB / 0.7708 GB, free: 5.203 MB / 0.5762 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.582e-05/0.7589, allocations: 1.781 kB / 0.7708 GB, free: 5.203 MB / 0.5762 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002558/0.7591, allocations: 92.77 kB / 0.7709 GB, free: 5.141 MB / 0.5762 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.7591, allocations: 0 / 0.7709 GB, free: 5.141 MB / 0.5762 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.7591, allocations: 1.062 kB / 0.7709 GB, free: 5.141 MB / 0.5762 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.7591, allocations: 2.156 kB / 0.7709 GB, free: 5.141 MB / 0.5762 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001165/0.7592, allocations: 137.3 kB / 0.771 GB, free: 4.98 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.7592, allocations: 0 / 0.771 GB, free: 4.98 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.884e-05/0.7593, allocations: 14.92 kB / 0.771 GB, free: 4.977 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.7593, allocations: 0 / 0.771 GB, free: 4.977 MB / 0.5762 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.168e-06/0.7593, allocations: 6.594 kB / 0.771 GB, free: 4.973 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.7593, allocations: 0 / 0.771 GB, free: 4.973 MB / 0.5762 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.7593, allocations: 1 kB / 0.7711 GB, free: 4.973 MB / 0.5762 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002383/0.7596, allocations: 178.8 kB / 0.7712 GB, free: 4.824 MB / 0.5762 GB
Notification: Performance of postOpt removeConstants (simulation): time 8.636e-06/0.7596, allocations: 1.562 kB / 0.7712 GB, free: 4.824 MB / 0.5762 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.351e-05/0.7596, allocations: 0 / 0.7712 GB, free: 4.824 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.7597, allocations: 6.609 kB / 0.7712 GB, free: 4.824 MB / 0.5762 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.649e-05/0.7597, allocations: 14.48 kB / 0.7712 GB, free: 4.816 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-06/0.7597, allocations: 5.375 kB / 0.7712 GB, free: 4.812 MB / 0.5762 GB
Notification: Performance of sorting global known variables: time 2.915e-05/0.7598, allocations: 90.55 kB / 0.7713 GB, free: 4.73 MB / 0.5762 GB
Notification: Performance of sort global known variables: time 6.1e-08/0.7598, allocations: 0 / 0.7713 GB, free: 4.73 MB / 0.5762 GB
Notification: Performance of remove unused functions: time 0.0002467/0.76, allocations: 23.62 kB / 0.7714 GB, free: 4.723 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: 2 (rea2Int.y,bin.y)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (3):
 * Single equations (assignments): 3
 * Array equations: 0
 * Algorithm blocks: 0
 * 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 Backend phase and start with SimCode phase: time 0.0001581/0.7602, allocations: 110.6 kB / 0.7715 GB, free: 4.633 MB / 0.5762 GB
Notification: Performance of simCode: created initialization part: time 0.0002533/0.7604, allocations: 46.61 kB / 0.7715 GB, free: 4.625 MB / 0.5762 GB
Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.7604, allocations: 4 kB / 0.7715 GB, free: 4.621 MB / 0.5762 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001038/0.7605, allocations: 23.44 kB / 0.7715 GB, free: 4.617 MB / 0.5762 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002687/0.7608, allocations: 6.438 kB / 0.7715 GB, free: 4.613 MB / 0.5762 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000288/0.7611, allocations: 126.9 kB / 0.7717 GB, free: 4.492 MB / 0.5762 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001041/0.7612, allocations: 0.6795 MB / 0.7723 GB, free: 3.797 MB / 0.5762 GB
Notification: Performance of simCode: alias equations: time 3.135e-05/0.7612, allocations: 6.969 kB / 0.7723 GB, free: 3.793 MB / 0.5762 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.894e-05/0.7613, allocations: 11.38 kB / 0.7723 GB, free: 3.785 MB / 0.5762 GB
Notification: Performance of SimCode: time 3.11e-07/0.7613, allocations: 0 / 0.7723 GB, free: 3.785 MB / 0.5762 GB
Notification: Performance of Templates: time 0.003776/0.765, allocations: 0.9927 MB / 0.7733 GB, free: 3.68 MB / 0.5762 GB
"
[Timeout remaining time 659]
make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.makefile [Timeout 660]
(rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial  -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 6.752046353183687]
Failed to read output from testmodel.py, exit status != 0:
0.7737510288134217 0.786509553 0.02756447
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7ff58b5717b0>