Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.Factorial.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.001358/0.001358, 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.00158/0.00158, allocations: 191.6 kB / 22.23 MB, free: 5.102 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.518/1.518, allocations: 225.6 MB / 251 MB, free: 13.03 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.132/1.132, allocations: 177.9 MB / 484.2 MB, free: 5.391 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.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Factorial")
translateModel(IDEAS.Utilities.Math.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Factorial") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001999/0.001999, allocations: 68.48 kB / 0.674 GB, free: 10.82 MB / 0.4981 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.6162/0.6182, allocations: 95.17 MB / 0.7669 GB, free: 7.977 MB / 0.5762 GB
Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Factorial): time 0.002491/0.6207, allocations: 1.528 MB / 0.7684 GB, free: 7.242 MB / 0.5762 GB
Notification: Performance of NFInst.instExpressions: time 0.0003361/0.621, allocations: 125.4 kB / 0.7685 GB, free: 7.16 MB / 0.5762 GB
Notification: Performance of NFInst.updateImplicitVariability: time 4.176e-05/0.6211, allocations: 5.219 kB / 0.7685 GB, free: 7.156 MB / 0.5762 GB
Notification: Performance of NFTyping.typeComponents: time 2.53e-05/0.6211, allocations: 5.062 kB / 0.7685 GB, free: 7.152 MB / 0.5762 GB
Notification: Performance of NFTyping.typeBindings: time 3.985e-05/0.6211, allocations: 0 / 0.7685 GB, free: 7.152 MB / 0.5762 GB
Notification: Performance of NFTyping.typeClassSections: time 0.000229/0.6214, allocations: 23.22 kB / 0.7686 GB, free: 7.141 MB / 0.5762 GB
Notification: Performance of NFFlatten.flatten: time 8.149e-05/0.6214, allocations: 36.86 kB / 0.7686 GB, free: 7.121 MB / 0.5762 GB
Notification: Performance of NFFlatten.resolveConnections: time 9.915e-05/0.6215, allocations: 4.703 kB / 0.7686 GB, free: 7.121 MB / 0.5762 GB
Notification: Performance of NFEvalConstants.evaluate: time 4.157e-05/0.6216, allocations: 15.41 kB / 0.7686 GB, free: 7.113 MB / 0.5762 GB
Notification: Performance of NFSimplifyModel.simplify: time 6.483e-05/0.6216, allocations: 15.56 kB / 0.7686 GB, free: 7.105 MB / 0.5762 GB
Notification: Performance of NFPackage.collectConstants: time 1.578e-05/0.6217, allocations: 2.219 kB / 0.7686 GB, free: 7.105 MB / 0.5762 GB
Notification: Performance of NFFlatten.collectFunctions: time 6.135e-05/0.6217, allocations: 17.64 kB / 0.7687 GB, free: 7.098 MB / 0.5762 GB
Notification: Performance of NFScalarize.scalarize: time 1.282e-05/0.6217, allocations: 2.516 kB / 0.7687 GB, free: 7.098 MB / 0.5762 GB
Notification: Performance of NFVerifyModel.verify: time 2.64e-05/0.6218, allocations: 20.2 kB / 0.7687 GB, free: 7.082 MB / 0.5762 GB
Notification: Performance of NFConvertDAE.convert: time 0.000109/0.6219, allocations: 38.34 kB / 0.7687 GB, free: 7.066 MB / 0.5762 GB
Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.6219, allocations: 6.016 kB / 0.7687 GB, free: 7.062 MB / 0.5762 GB
Notification: Performance of FrontEnd: time 1.302e-06/0.6219, allocations: 0 / 0.7687 GB, free: 7.062 MB / 0.5762 GB
Notification: Performance of Transformations before backend: time 4.549e-06/0.6219, allocations: 0 / 0.7687 GB, free: 7.062 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: 5
 * Number of variables: 5
Notification: Performance of Generate backend data structure: time 0.0004049/0.6223, allocations: 265.9 kB / 0.769 GB, free: 6.801 MB / 0.5762 GB
Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.6223, allocations: 9.031 kB / 0.769 GB, free: 6.801 MB / 0.5762 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.941e-05/0.6224, allocations: 4.438 kB / 0.769 GB, free: 6.801 MB / 0.5762 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 7.302e-05/0.6224, allocations: 112.7 kB / 0.7691 GB, free: 6.668 MB / 0.5762 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.053e-05/0.6224, allocations: 5.719 kB / 0.7691 GB, free: 6.664 MB / 0.5762 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.059e-05/0.6225, allocations: 7.375 kB / 0.7691 GB, free: 6.66 MB / 0.5762 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001791/0.6226, allocations: 59.16 kB / 0.7692 GB, free: 6.621 MB / 0.5762 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.6226, allocations: 192 / 0.7692 GB, free: 6.621 MB / 0.5762 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.437e-06/0.6227, allocations: 3.938 kB / 0.7692 GB, free: 6.617 MB / 0.5762 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.6227, allocations: 1.25 kB / 0.7692 GB, free: 6.617 MB / 0.5762 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002002/0.6229, allocations: 47.11 kB / 0.7692 GB, free: 6.605 MB / 0.5762 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003029/0.6232, allocations: 237.2 kB / 0.7694 GB, free: 6.355 MB / 0.5762 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003301/0.6235, allocations: 64.3 kB / 0.7695 GB, free: 6.316 MB / 0.5762 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001003/0.6236, allocations: 26.33 kB / 0.7695 GB, free: 6.305 MB / 0.5762 GB
Notification: Performance of preOpt evalFunc (simulation): time 8.241e-05/0.6237, allocations: 4.688 kB / 0.7695 GB, free: 6.305 MB / 0.5762 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.39e-05/0.6237, allocations: 35.36 kB / 0.7696 GB, free: 6.262 MB / 0.5762 GB
Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.6237, allocations: 0 / 0.7696 GB, free: 6.262 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=3): time 0.0003921/0.6241, allocations: 93.58 kB / 0.7697 GB, free: 6.219 MB / 0.5762 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 2.81e-05/0.6241, allocations: 52.53 kB / 0.7697 GB, free: 6.156 MB / 0.5762 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.332e-05/0.6242, allocations: 105.2 kB / 0.7698 GB, free: 6.051 MB / 0.5762 GB
Notification: Performance of collectPreVariables (initialization): time 8.956e-06/0.6242, allocations: 27.36 kB / 0.7698 GB, free: 6.02 MB / 0.5762 GB
Notification: Performance of collectInitialEqns (initialization): time 2.498e-05/0.6242, allocations: 88.14 kB / 0.7699 GB, free: 5.93 MB / 0.5762 GB
Notification: Performance of collectInitialBindings (initialization): time 1.506e-05/0.6242, allocations: 8.969 kB / 0.7699 GB, free: 5.926 MB / 0.5762 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.178e-05/0.6242, allocations: 17.84 kB / 0.7699 GB, free: 5.906 MB / 0.5762 GB
Notification: Performance of setup shared object (initialization): time 4.825e-05/0.6243, allocations: 312 kB / 0.7702 GB, free: 5.594 MB / 0.5762 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 9.964e-05/0.6244, allocations: 19.8 kB / 0.7703 GB, free: 5.59 MB / 0.5762 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 8.341e-05/0.6245, allocations: 17.72 kB / 0.7703 GB, free: 5.59 MB / 0.5762 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001711/0.6246, allocations: 48.5 kB / 0.7703 GB, free: 5.57 MB / 0.5762 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.6247, allocations: 3.938 kB / 0.7703 GB, free: 5.566 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002124/0.6249, allocations: 78.23 kB / 0.7704 GB, free: 5.523 MB / 0.5762 GB
Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.6249, allocations: 5.188 kB / 0.7704 GB, free: 5.523 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.6249, allocations: 1.469 kB / 0.7704 GB, free: 5.523 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.6249, allocations: 0.5156 kB / 0.7704 GB, free: 5.523 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.09e-05/0.625, allocations: 10.19 kB / 0.7704 GB, free: 5.523 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.625, allocations: 4 kB / 0.7704 GB, free: 5.52 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.687e-05/0.625, allocations: 6.156 kB / 0.7704 GB, free: 5.52 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.625, allocations: 2.719 kB / 0.7704 GB, free: 5.52 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 (rea2Int.y,fac.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.247e-05/0.6251, allocations: 116.5 kB / 0.7705 GB, free: 5.398 MB / 0.5762 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.664e-05/0.6251, allocations: 12.53 kB / 0.7705 GB, free: 5.391 MB / 0.5762 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002641/0.6254, allocations: 79.73 kB / 0.7706 GB, free: 5.34 MB / 0.5762 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.6254, allocations: 13.03 kB / 0.7706 GB, free: 5.328 MB / 0.5762 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.6254, allocations: 0 / 0.7706 GB, free: 5.328 MB / 0.5762 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.6254, allocations: 1.078 kB / 0.7706 GB, free: 5.328 MB / 0.5762 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001148/0.6255, allocations: 135.4 kB / 0.7708 GB, free: 5.168 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.6255, allocations: 3.938 kB / 0.7708 GB, free: 5.164 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.723e-05/0.6256, allocations: 14.81 kB / 0.7708 GB, free: 5.16 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.6256, allocations: 0 / 0.7708 GB, free: 5.16 MB / 0.5762 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.216e-06/0.6256, allocations: 4.047 kB / 0.7708 GB, free: 5.16 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.6256, allocations: 0 / 0.7708 GB, free: 5.16 MB / 0.5762 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.6256, allocations: 1.188 kB / 0.7708 GB, free: 5.16 MB / 0.5762 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002378/0.6258, allocations: 171.1 kB / 0.771 GB, free: 5.016 MB / 0.5762 GB
Notification: Performance of postOpt removeConstants (simulation): time 6.502e-06/0.6258, allocations: 1.219 kB / 0.771 GB, free: 5.016 MB / 0.5762 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.418e-05/0.6259, allocations: 3.969 kB / 0.771 GB, free: 5.016 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.563e-05/0.6259, allocations: 3.641 kB / 0.771 GB, free: 5.016 MB / 0.5762 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.023e-05/0.626, allocations: 9.953 kB / 0.771 GB, free: 5.012 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-06/0.626, allocations: 2.5 kB / 0.771 GB, free: 5.012 MB / 0.5762 GB
Notification: Performance of sorting global known variables: time 2.37e-05/0.626, allocations: 88 kB / 0.7711 GB, free: 4.93 MB / 0.5762 GB
Notification: Performance of sort global known variables: time 6e-08/0.626, allocations: 1.375 kB / 0.7711 GB, free: 4.93 MB / 0.5762 GB
Notification: Performance of remove unused functions: time 0.0002253/0.6263, allocations: 7.062 kB / 0.7711 GB, free: 4.93 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 (fac.y,rea2Int.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.0001265/0.6264, allocations: 104 kB / 0.7712 GB, free: 4.832 MB / 0.5762 GB
Notification: Performance of simCode: created initialization part: time 0.0002516/0.6266, allocations: 41.34 kB / 0.7712 GB, free: 4.828 MB / 0.5762 GB
Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.6266, allocations: 0 / 0.7712 GB, free: 4.828 MB / 0.5762 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001039/0.6267, allocations: 29.38 kB / 0.7712 GB, free: 4.82 MB / 0.5762 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002529/0.627, allocations: 11.64 kB / 0.7712 GB, free: 4.816 MB / 0.5762 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002738/0.6273, allocations: 116.3 kB / 0.7714 GB, free: 4.699 MB / 0.5762 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001053/0.6274, allocations: 0.6778 MB / 0.772 GB, free: 4.004 MB / 0.5762 GB
Notification: Performance of simCode: alias equations: time 3.072e-05/0.6274, allocations: 7.516 kB / 0.772 GB, free: 4 MB / 0.5762 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.677e-05/0.6274, allocations: 14.77 kB / 0.772 GB, free: 3.988 MB / 0.5762 GB
Notification: Performance of SimCode: time 3e-07/0.6274, allocations: 0 / 0.772 GB, free: 3.988 MB / 0.5762 GB
Notification: Performance of Templates: time 0.003398/0.6308, allocations: 0.7237 MB / 0.7727 GB, free: 3.902 MB / 0.5762 GB
"
[Timeout remaining time 659]
make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Factorial.makefile [Timeout 660]
(rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Factorial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.Factorial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.Factorial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.Factorial.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.Factorial  -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.Factorial.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 6.529127006419003]
Failed to read output from testmodel.py, exit status != 0:
0.638779716566205 0.6517442560000001 0.026940771000000002
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f5848b257b0>