Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.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.00136/0.00136, allocations: 106.2 kB / 18.94 MB, free: 2.953 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.00156/0.00156, allocations: 193.5 kB / 22.23 MB, free: 5.133 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.644/1.644, 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.143/1.143, allocations: 177.9 MB / 484.2 MB, free: 5.387 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.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Factorial")
translateModel(IDEAS.Utilities.Math.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Factorial") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002368/0.002368, allocations: 60.38 kB / 0.674 GB, free: 10.75 MB / 0.4981 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.6667/0.6691, allocations: 95.17 MB / 0.767 GB, free: 7.941 MB / 0.5762 GB
Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Factorial): time 0.001917/0.671, allocations: 0.5906 MB / 0.7675 GB, free: 7.738 MB / 0.5762 GB
Notification: Performance of NFInst.instExpressions: time 0.0003017/0.6713, allocations: 55.09 kB / 0.7676 GB, free: 7.711 MB / 0.5762 GB
Notification: Performance of NFInst.updateImplicitVariability: time 2.517e-05/0.6713, allocations: 0 / 0.7676 GB, free: 7.711 MB / 0.5762 GB
Notification: Performance of NFTyping.typeComponents: time 1.604e-05/0.6713, allocations: 1.156 kB / 0.7676 GB, free: 7.711 MB / 0.5762 GB
Notification: Performance of NFTyping.typeBindings: time 7.494e-06/0.6714, allocations: 0 / 0.7676 GB, free: 7.711 MB / 0.5762 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0002759/0.6716, allocations: 10.17 kB / 0.7676 GB, free: 7.707 MB / 0.5762 GB
Notification: Performance of NFFlatten.flatten: time 5.323e-05/0.6717, allocations: 6.781 kB / 0.7676 GB, free: 7.707 MB / 0.5762 GB
Notification: Performance of NFFlatten.resolveConnections: time 7.012e-05/0.6717, allocations: 1.844 kB / 0.7676 GB, free: 7.707 MB / 0.5762 GB
Notification: Performance of NFEvalConstants.evaluate: time 1.906e-05/0.6718, allocations: 1.953 kB / 0.7676 GB, free: 7.707 MB / 0.5762 GB
Notification: Performance of NFSimplifyModel.simplify: time 4.418e-05/0.6718, allocations: 1.953 kB / 0.7676 GB, free: 7.707 MB / 0.5762 GB
Notification: Performance of NFPackage.collectConstants: time 1.179e-05/0.6718, allocations: 0 / 0.7676 GB, free: 7.707 MB / 0.5762 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001064/0.6719, allocations: 19.16 kB / 0.7676 GB, free: 7.699 MB / 0.5762 GB
Notification: Performance of NFScalarize.scalarize: time 1.405e-05/0.6719, allocations: 11.92 kB / 0.7676 GB, free: 7.688 MB / 0.5762 GB
Notification: Performance of NFVerifyModel.verify: time 2.084e-05/0.672, allocations: 1.5 kB / 0.7676 GB, free: 7.688 MB / 0.5762 GB
Notification: Performance of NFConvertDAE.convert: time 9.578e-05/0.6721, allocations: 9.641 kB / 0.7676 GB, free: 7.688 MB / 0.5762 GB
Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.6721, allocations: 0 / 0.7676 GB, free: 7.688 MB / 0.5762 GB
Notification: Performance of FrontEnd: time 1.853e-06/0.6721, allocations: 0 / 0.7676 GB, free: 7.688 MB / 0.5762 GB
Notification: Performance of Transformations before backend: time 6.793e-06/0.6721, allocations: 1.469 kB / 0.7676 GB, free: 7.688 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: 2
 * Number of variables: 2
Notification: Performance of Generate backend data structure: time 0.0002748/0.6723, allocations: 240.4 kB / 0.7679 GB, free: 7.434 MB / 0.5762 GB
Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.6724, allocations: 10.5 kB / 0.7679 GB, free: 7.434 MB / 0.5762 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.153e-05/0.6724, allocations: 0.9375 kB / 0.7679 GB, free: 7.434 MB / 0.5762 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 8.944e-05/0.6725, allocations: 108.1 kB / 0.768 GB, free: 7.305 MB / 0.5762 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.8e-05/0.6725, allocations: 1.719 kB / 0.768 GB, free: 7.305 MB / 0.5762 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.381e-05/0.6726, allocations: 2.344 kB / 0.768 GB, free: 7.305 MB / 0.5762 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001483/0.6727, allocations: 34.47 kB / 0.768 GB, free: 7.27 MB / 0.5762 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.6727, allocations: 1.438 kB / 0.768 GB, free: 7.27 MB / 0.5762 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/0.6727, allocations: 7.562 kB / 0.768 GB, free: 7.266 MB / 0.5762 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.6727, allocations: 0 / 0.768 GB, free: 7.266 MB / 0.5762 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 5.4e-05/0.6728, allocations: 4.922 kB / 0.768 GB, free: 7.266 MB / 0.5762 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001779/0.673, allocations: 124.8 kB / 0.7682 GB, free: 7.109 MB / 0.5762 GB
Notification: Performance of preOpt comSubExp (simulation): time 7.373e-05/0.673, allocations: 27.95 kB / 0.7682 GB, free: 7.078 MB / 0.5762 GB
Notification: Performance of preOpt resolveLoops (simulation): time 2.221e-05/0.6731, allocations: 6.438 kB / 0.7682 GB, free: 7.07 MB / 0.5762 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.000188/0.6733, allocations: 12.67 kB / 0.7682 GB, free: 7.066 MB / 0.5762 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.696e-05/0.6733, allocations: 32.59 kB / 0.7682 GB, free: 7.027 MB / 0.5762 GB
Notification: Performance of pre-optimization done (n=2): time 1.372e-06/0.6733, allocations: 0 / 0.7682 GB, free: 7.027 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=2): time 0.0002173/0.6735, allocations: 43.98 kB / 0.7683 GB, free: 6.992 MB / 0.5762 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.839e-05/0.6735, allocations: 57.47 kB / 0.7683 GB, free: 6.926 MB / 0.5762 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.319e-05/0.6736, allocations: 93.81 kB / 0.7684 GB, free: 6.824 MB / 0.5762 GB
Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.6736, allocations: 26.45 kB / 0.7684 GB, free: 6.793 MB / 0.5762 GB
Notification: Performance of collectInitialEqns (initialization): time 2.148e-05/0.6736, allocations: 80.14 kB / 0.7685 GB, free: 6.711 MB / 0.5762 GB
Notification: Performance of collectInitialBindings (initialization): time 3.239e-05/0.6736, allocations: 1.188 kB / 0.7685 GB, free: 6.711 MB / 0.5762 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.498e-05/0.6737, allocations: 18.05 kB / 0.7685 GB, free: 6.695 MB / 0.5762 GB
Notification: Performance of setup shared object (initialization): time 7.892e-05/0.6738, allocations: 315.6 kB / 0.7688 GB, free: 6.379 MB / 0.5762 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 1.638e-05/0.6738, allocations: 2.875 kB / 0.7688 GB, free: 6.379 MB / 0.5762 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 1.179e-05/0.6738, allocations: 9.688 kB / 0.7689 GB, free: 6.371 MB / 0.5762 GB
Notification: Performance of analyzeInitialSystem (initialization): time 4.432e-05/0.6738, allocations: 13.38 kB / 0.7689 GB, free: 6.363 MB / 0.5762 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.6738, allocations: 1.5 kB / 0.7689 GB, free: 6.363 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=2) (initialization): time 6.612e-05/0.6739, allocations: 40.11 kB / 0.7689 GB, free: 6.332 MB / 0.5762 GB
Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/0.6739, allocations: 7.219 kB / 0.7689 GB, free: 6.332 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.6739, allocations: 0 / 0.7689 GB, free: 6.332 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.101e-05/0.6739, allocations: 3.938 kB / 0.7689 GB, free: 6.328 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.768e-05/0.674, allocations: 5.25 kB / 0.7689 GB, free: 6.328 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.674, allocations: 0 / 0.7689 GB, free: 6.328 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.404e-05/0.674, allocations: 8.031 kB / 0.7689 GB, free: 6.32 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/0.6741, allocations: 1.828 kB / 0.7689 GB, free: 6.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 (n,fac)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (2):
 * Single equations (assignments): 2
 * 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 7.771e-05/0.6741, allocations: 111.5 kB / 0.769 GB, free: 6.203 MB / 0.5762 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 7.474e-06/0.6741, allocations: 1.094 kB / 0.769 GB, free: 6.203 MB / 0.5762 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001214/0.6743, allocations: 46.84 kB / 0.7691 GB, free: 6.164 MB / 0.5762 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.6743, allocations: 1.156 kB / 0.7691 GB, free: 6.164 MB / 0.5762 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 9.658e-06/0.6743, allocations: 0.6094 kB / 0.7691 GB, free: 6.164 MB / 0.5762 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.6743, allocations: 0 / 0.7691 GB, free: 6.164 MB / 0.5762 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.884e-05/0.6744, allocations: 128.2 kB / 0.7692 GB, free: 6.004 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.6744, allocations: 1.375 kB / 0.7692 GB, free: 6.004 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.77e-05/0.6744, allocations: 7.359 kB / 0.7692 GB, free: 6 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.6744, allocations: 0.6094 kB / 0.7692 GB, free: 6 MB / 0.5762 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.6744, allocations: 9.031 kB / 0.7692 GB, free: 5.992 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.083e-06/0.6744, allocations: 0.5625 kB / 0.7692 GB, free: 5.992 MB / 0.5762 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.6744, allocations: 0 / 0.7692 GB, free: 5.992 MB / 0.5762 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 9.686e-05/0.6745, allocations: 71.75 kB / 0.7693 GB, free: 5.922 MB / 0.5762 GB
Notification: Performance of postOpt removeConstants (simulation): time 7.915e-06/0.6745, allocations: 9.531 kB / 0.7693 GB, free: 5.918 MB / 0.5762 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.422e-05/0.6745, allocations: 3.938 kB / 0.7693 GB, free: 5.914 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.257e-05/0.6745, allocations: 1.719 kB / 0.7693 GB, free: 5.914 MB / 0.5762 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.892e-05/0.6746, allocations: 2.359 kB / 0.7693 GB, free: 5.914 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.6746, allocations: 1.375 kB / 0.7693 GB, free: 5.914 MB / 0.5762 GB
Notification: Performance of sorting global known variables: time 2.459e-05/0.6746, allocations: 75.28 kB / 0.7694 GB, free: 5.84 MB / 0.5762 GB
Notification: Performance of sort global known variables: time 4e-08/0.6746, allocations: 0 / 0.7694 GB, free: 5.84 MB / 0.5762 GB
Notification: Performance of remove unused functions: time 0.0002255/0.6748, allocations: 4.766 kB / 0.7694 GB, free: 5.84 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,n)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (2):
 * Single equations (assignments): 2
 * 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.0001979/0.675, allocations: 102.2 kB / 0.7695 GB, free: 5.746 MB / 0.5762 GB
Notification: Performance of simCode: created initialization part: time 0.0001126/0.6752, allocations: 14.44 kB / 0.7695 GB, free: 5.742 MB / 0.5762 GB
Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.6752, allocations: 0 / 0.7695 GB, free: 5.742 MB / 0.5762 GB
Notification: Performance of simCode: created simulation system equations: time 2.06e-05/0.6752, allocations: 4.047 kB / 0.7695 GB, free: 5.742 MB / 0.5762 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001634/0.6753, allocations: 5.5 kB / 0.7695 GB, free: 5.742 MB / 0.5762 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002833/0.6756, allocations: 86.45 kB / 0.7696 GB, free: 5.645 MB / 0.5762 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001577/0.6758, allocations: 0.6726 MB / 0.7702 GB, free: 4.949 MB / 0.5762 GB
Notification: Performance of simCode: alias equations: time 1.64e-05/0.6758, allocations: 5.188 kB / 0.7703 GB, free: 4.945 MB / 0.5762 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.058e-05/0.6758, allocations: 10.23 kB / 0.7703 GB, free: 4.938 MB / 0.5762 GB
Notification: Performance of SimCode: time 3.11e-07/0.6758, allocations: 0 / 0.7703 GB, free: 4.938 MB / 0.5762 GB
Notification: Performance of Templates: time 0.003826/0.6796, allocations: 322 kB / 0.7706 GB, free: 4.887 MB / 0.5762 GB
"
[Timeout remaining time 659]
make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Factorial.makefile [Timeout 660]
(rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Factorial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Factorial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Factorial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Factorial.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Factorial  -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Factorial.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 6.815637649036944]
Failed to read output from testmodel.py, exit status != 0:
0.6905570542439818 0.705478762 0.028999
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7fe6307e57b0>