Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial.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.001515/0.001515, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.002163/0.002163, allocations: 191.7 kB / 22.23 MB, free: 5.105 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.659/1.659, allocations: 225.6 MB / 251 MB, free: 13.05 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.134/1.134, allocations: 177.9 MB / 484.2 MB, free: 5.496 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.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial")
translateModel(IDEAS.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002054/0.002054, allocations: 68.8 kB / 0.674 GB, free: 10.83 MB / 0.4981 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.6775/0.6796, allocations: 95.17 MB / 0.7669 GB, free: 8.094 MB / 0.5762 GB
Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.FallingFactorial): time 0.003148/0.6827, allocations: 1.555 MB / 0.7684 GB, free: 7.238 MB / 0.5762 GB
Notification: Performance of NFInst.instExpressions: time 0.0004745/0.6832, allocations: 138.4 kB / 0.7686 GB, free: 7.148 MB / 0.5762 GB
Notification: Performance of NFInst.updateImplicitVariability: time 5.66e-05/0.6833, allocations: 0 / 0.7686 GB, free: 7.148 MB / 0.5762 GB
Notification: Performance of NFTyping.typeComponents: time 3.512e-05/0.6833, allocations: 3.938 kB / 0.7686 GB, free: 7.145 MB / 0.5762 GB
Notification: Performance of NFTyping.typeBindings: time 4.731e-05/0.6834, allocations: 6.281 kB / 0.7686 GB, free: 7.141 MB / 0.5762 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0003602/0.6837, allocations: 32.11 kB / 0.7686 GB, free: 7.125 MB / 0.5762 GB
Notification: Performance of NFFlatten.flatten: time 0.0001062/0.6838, allocations: 35.56 kB / 0.7686 GB, free: 7.109 MB / 0.5762 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001403/0.684, allocations: 18.62 kB / 0.7687 GB, free: 7.102 MB / 0.5762 GB
Notification: Performance of NFEvalConstants.evaluate: time 3.901e-05/0.684, allocations: 15.66 kB / 0.7687 GB, free: 7.094 MB / 0.5762 GB
Notification: Performance of NFSimplifyModel.simplify: time 4.83e-05/0.684, allocations: 17.06 kB / 0.7687 GB, free: 7.086 MB / 0.5762 GB
Notification: Performance of NFPackage.collectConstants: time 1.595e-05/0.6841, allocations: 6.75 kB / 0.7687 GB, free: 7.082 MB / 0.5762 GB
Notification: Performance of NFFlatten.collectFunctions: time 9.6e-05/0.6842, allocations: 30.34 kB / 0.7687 GB, free: 7.07 MB / 0.5762 GB
Notification: Performance of NFScalarize.scalarize: time 1.869e-05/0.6842, allocations: 10.31 kB / 0.7687 GB, free: 7.062 MB / 0.5762 GB
Notification: Performance of NFVerifyModel.verify: time 3.694e-05/0.6842, allocations: 16.88 kB / 0.7688 GB, free: 7.051 MB / 0.5762 GB
Notification: Performance of NFConvertDAE.convert: time 0.000155/0.6844, allocations: 40.45 kB / 0.7688 GB, free: 7.035 MB / 0.5762 GB
Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.6844, allocations: 0 / 0.7688 GB, free: 7.035 MB / 0.5762 GB
Notification: Performance of FrontEnd: time 1.292e-06/0.6844, allocations: 1 kB / 0.7688 GB, free: 7.035 MB / 0.5762 GB
Notification: Performance of Transformations before backend: time 6.462e-06/0.6844, allocations: 0.7969 kB / 0.7688 GB, free: 7.035 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.0005064/0.6849, allocations: 276.7 kB / 0.7691 GB, free: 6.766 MB / 0.5762 GB
Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.6849, allocations: 13.78 kB / 0.7691 GB, free: 6.762 MB / 0.5762 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.673e-05/0.685, allocations: 7.203 kB / 0.7691 GB, free: 6.758 MB / 0.5762 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 9.295e-05/0.6851, allocations: 106.1 kB / 0.7692 GB, free: 6.633 MB / 0.5762 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.244e-05/0.6851, allocations: 10.69 kB / 0.7692 GB, free: 6.625 MB / 0.5762 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.778e-05/0.6851, allocations: 1.562 kB / 0.7692 GB, free: 6.625 MB / 0.5762 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002331/0.6853, allocations: 70.7 kB / 0.7693 GB, free: 6.578 MB / 0.5762 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.6853, allocations: 1.375 kB / 0.7693 GB, free: 6.578 MB / 0.5762 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.6854, allocations: 3.938 kB / 0.7693 GB, free: 6.574 MB / 0.5762 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.6854, allocations: 1.062 kB / 0.7693 GB, free: 6.574 MB / 0.5762 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002177/0.6856, allocations: 48.77 kB / 0.7693 GB, free: 6.562 MB / 0.5762 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004029/0.686, allocations: 254.2 kB / 0.7696 GB, free: 6.305 MB / 0.5762 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003519/0.6863, allocations: 59.55 kB / 0.7696 GB, free: 6.27 MB / 0.5762 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.000107/0.6864, allocations: 30.53 kB / 0.7696 GB, free: 6.254 MB / 0.5762 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001339/0.6866, allocations: 13.53 kB / 0.7697 GB, free: 6.254 MB / 0.5762 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.517e-05/0.6866, allocations: 34.19 kB / 0.7697 GB, free: 6.215 MB / 0.5762 GB
Notification: Performance of pre-optimization done (n=3): time 1.143e-06/0.6866, allocations: 0 / 0.7697 GB, free: 6.215 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=3): time 0.0004246/0.687, allocations: 92.5 kB / 0.7698 GB, free: 6.172 MB / 0.5762 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 2.233e-05/0.687, allocations: 51.41 kB / 0.7698 GB, free: 6.109 MB / 0.5762 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.433e-05/0.6871, allocations: 119.3 kB / 0.7699 GB, free: 5.996 MB / 0.5762 GB
Notification: Performance of collectPreVariables (initialization): time 1.076e-05/0.6871, allocations: 30.92 kB / 0.77 GB, free: 5.961 MB / 0.5762 GB
Notification: Performance of collectInitialEqns (initialization): time 3.276e-05/0.6872, allocations: 84.38 kB / 0.77 GB, free: 5.879 MB / 0.5762 GB
Notification: Performance of collectInitialBindings (initialization): time 1.649e-05/0.6872, allocations: 8.984 kB / 0.7701 GB, free: 5.871 MB / 0.5762 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.442e-05/0.6872, allocations: 13.75 kB / 0.7701 GB, free: 5.855 MB / 0.5762 GB
Notification: Performance of setup shared object (initialization): time 5.857e-05/0.6873, allocations: 323.6 kB / 0.7704 GB, free: 5.535 MB / 0.5762 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001011/0.6874, allocations: 14.39 kB / 0.7704 GB, free: 5.535 MB / 0.5762 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 9.542e-05/0.6875, allocations: 27.62 kB / 0.7704 GB, free: 5.523 MB / 0.5762 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001871/0.6877, allocations: 48.38 kB / 0.7705 GB, free: 5.508 MB / 0.5762 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.6877, allocations: 0 / 0.7705 GB, free: 5.508 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002271/0.6879, allocations: 73.41 kB / 0.7705 GB, free: 5.469 MB / 0.5762 GB
Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.6879, allocations: 5.438 kB / 0.7705 GB, free: 5.469 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.6879, allocations: 0 / 0.7705 GB, free: 5.469 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.6879, allocations: 9 kB / 0.7705 GB, free: 5.461 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.051e-05/0.688, allocations: 14.84 kB / 0.7706 GB, free: 5.457 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.688, allocations: 0 / 0.7706 GB, free: 5.457 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.488e-05/0.6881, allocations: 11.97 kB / 0.7706 GB, free: 5.453 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/0.6881, allocations: 0 / 0.7706 GB, free: 5.453 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 (falFac.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 6.135e-05/0.6882, allocations: 115 kB / 0.7707 GB, free: 5.336 MB / 0.5762 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.231e-05/0.6882, allocations: 5.312 kB / 0.7707 GB, free: 5.332 MB / 0.5762 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000281/0.6885, allocations: 85.28 kB / 0.7708 GB, free: 5.277 MB / 0.5762 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.6885, allocations: 0 / 0.7708 GB, free: 5.277 MB / 0.5762 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.6885, allocations: 1.469 kB / 0.7708 GB, free: 5.277 MB / 0.5762 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.155e-06/0.6885, allocations: 0 / 0.7708 GB, free: 5.277 MB / 0.5762 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001394/0.6886, allocations: 145 kB / 0.7709 GB, free: 5.109 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.6886, allocations: 0 / 0.7709 GB, free: 5.109 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.042e-05/0.6887, allocations: 16.45 kB / 0.7709 GB, free: 5.105 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.6887, allocations: 1.531 kB / 0.7709 GB, free: 5.105 MB / 0.5762 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.567e-06/0.6887, allocations: 0 / 0.7709 GB, free: 5.105 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.6887, allocations: 5.281 kB / 0.7709 GB, free: 5.102 MB / 0.5762 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.6887, allocations: 4 kB / 0.7709 GB, free: 5.098 MB / 0.5762 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002485/0.689, allocations: 172.8 kB / 0.7711 GB, free: 4.953 MB / 0.5762 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.138e-05/0.689, allocations: 2.156 kB / 0.7711 GB, free: 4.953 MB / 0.5762 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.742e-05/0.689, allocations: 1.719 kB / 0.7711 GB, free: 4.953 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.199e-05/0.6891, allocations: 14.38 kB / 0.7711 GB, free: 4.945 MB / 0.5762 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.743e-05/0.6892, allocations: 10.39 kB / 0.7711 GB, free: 4.941 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.49e-06/0.6892, allocations: 1.344 kB / 0.7711 GB, free: 4.941 MB / 0.5762 GB
Notification: Performance of sorting global known variables: time 3.274e-05/0.6892, allocations: 89.05 kB / 0.7712 GB, free: 4.863 MB / 0.5762 GB
Notification: Performance of sort global known variables: time 8e-08/0.6892, allocations: 0 / 0.7712 GB, free: 4.863 MB / 0.5762 GB
Notification: Performance of remove unused functions: time 0.0002418/0.6894, allocations: 13.47 kB / 0.7712 GB, free: 4.859 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,falFac.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.0001314/0.6896, allocations: 104.2 kB / 0.7713 GB, free: 4.766 MB / 0.5762 GB
Notification: Performance of simCode: created initialization part: time 0.0002651/0.6898, allocations: 44.53 kB / 0.7714 GB, free: 4.758 MB / 0.5762 GB
Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.6898, allocations: 4 kB / 0.7714 GB, free: 4.754 MB / 0.5762 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001102/0.6899, allocations: 29.72 kB / 0.7714 GB, free: 4.746 MB / 0.5762 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000314/0.6903, allocations: 14.03 kB / 0.7714 GB, free: 4.742 MB / 0.5762 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003874/0.6906, allocations: 117.7 kB / 0.7715 GB, free: 4.625 MB / 0.5762 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001647/0.6908, allocations: 0.6813 MB / 0.7722 GB, free: 3.93 MB / 0.5762 GB
Notification: Performance of simCode: alias equations: time 4.049e-05/0.6908, allocations: 11.19 kB / 0.7722 GB, free: 3.922 MB / 0.5762 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.398e-05/0.6909, allocations: 14.53 kB / 0.7722 GB, free: 3.91 MB / 0.5762 GB
Notification: Performance of SimCode: time 3.1e-07/0.6909, allocations: 0 / 0.7722 GB, free: 3.91 MB / 0.5762 GB
Notification: Performance of Templates: time 0.004126/0.695, allocations: 0.7723 MB / 0.773 GB, free: 3.828 MB / 0.5762 GB
"
[Timeout remaining time 659]
make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial.makefile [Timeout 660]
(rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial  -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 6.736166533082724]
Failed to read output from testmodel.py, exit status != 0:
0.703899416141212 0.718689394 0.030920303000000003
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f0c295a17b0>