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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 103.6 kB / 18.95 MB, free: 2.664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001441/0.001441, allocations: 209.5 kB / 22.24 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.552/1.552, allocations: 230.6 MB / 256 MB, free: 7.738 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.345/1.345, allocations: 203.8 MB / 0.5041 GB, free: 4.566 MB / 414.1 MB " [Timeout remaining time 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002308/0.002308, allocations: 67.89 kB / 0.7187 GB, free: 1.949 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6564/0.6587, allocations: 102 MB / 0.8183 GB, free: 28.92 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Factorial): time 0.00307/0.6618, allocations: 1.547 MB / 0.8198 GB, free: 27.87 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.0003942/0.6622, allocations: 122.6 kB / 0.8199 GB, free: 27.79 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.378e-05/0.6622, allocations: 0.9688 kB / 0.8199 GB, free: 27.79 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 2.758e-05/0.6622, allocations: 3.938 kB / 0.8199 GB, free: 27.79 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 4.793e-05/0.6623, allocations: 1.641 kB / 0.8199 GB, free: 27.79 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002558/0.6625, allocations: 30.03 kB / 0.8199 GB, free: 27.77 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 8.05e-05/0.6626, allocations: 31.31 kB / 0.8199 GB, free: 27.76 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.6627, allocations: 10.5 kB / 0.82 GB, free: 27.75 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 4.44e-05/0.6628, allocations: 12.77 kB / 0.82 GB, free: 27.75 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 5.677e-05/0.6628, allocations: 14.91 kB / 0.82 GB, free: 27.75 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.485e-05/0.6628, allocations: 2.875 kB / 0.82 GB, free: 27.75 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 6.366e-05/0.6629, allocations: 15.83 kB / 0.82 GB, free: 27.75 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 1.538e-05/0.6629, allocations: 9.859 kB / 0.82 GB, free: 27.74 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 2.516e-05/0.6629, allocations: 11.44 kB / 0.82 GB, free: 27.73 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0001298/0.6631, allocations: 31.7 kB / 0.8201 GB, free: 27.72 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.6631, allocations: 1.594 kB / 0.8201 GB, free: 27.72 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.354e-06/0.6631, allocations: 0.5312 kB / 0.8201 GB, free: 27.72 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.044e-05/0.6631, allocations: 0 / 0.8201 GB, free: 27.72 MB / 0.6387 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.0004597/0.6635, allocations: 268.9 kB / 0.8203 GB, free: 27.46 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.6636, allocations: 11.56 kB / 0.8203 GB, free: 27.46 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.463e-05/0.6636, allocations: 6.109 kB / 0.8203 GB, free: 27.45 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.281e-05/0.6637, allocations: 110.1 kB / 0.8204 GB, free: 27.32 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.473e-05/0.6637, allocations: 7.359 kB / 0.8204 GB, free: 27.32 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.682e-05/0.6637, allocations: 1.562 kB / 0.8204 GB, free: 27.32 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002102/0.664, allocations: 56.27 kB / 0.8205 GB, free: 27.29 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.664, allocations: 192 / 0.8205 GB, free: 27.29 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.664, allocations: 10.28 kB / 0.8205 GB, free: 27.28 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.664, allocations: 0 / 0.8205 GB, free: 27.28 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002102/0.6642, allocations: 39.42 kB / 0.8205 GB, free: 27.27 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003223/0.6645, allocations: 215.3 kB / 0.8207 GB, free: 27.05 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003672/0.6649, allocations: 55.8 kB / 0.8208 GB, free: 27.02 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001094/0.665, allocations: 30.91 kB / 0.8208 GB, free: 27.01 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 9.734e-05/0.6651, allocations: 5.578 kB / 0.8208 GB, free: 27.01 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.625e-05/0.6651, allocations: 34.44 kB / 0.8209 GB, free: 26.97 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.6651, allocations: 0 / 0.8209 GB, free: 26.97 MB / 0.6387 GB Notification: Performance of matching and sorting (n=3): time 0.0004194/0.6655, allocations: 100.4 kB / 0.821 GB, free: 26.92 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.363e-05/0.6656, allocations: 54.3 kB / 0.821 GB, free: 26.86 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.449e-05/0.6656, allocations: 105.6 kB / 0.8211 GB, free: 26.75 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 9.929e-06/0.6656, allocations: 26.58 kB / 0.8211 GB, free: 26.72 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 2.754e-05/0.6656, allocations: 86.8 kB / 0.8212 GB, free: 26.63 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 1.567e-05/0.6657, allocations: 5.828 kB / 0.8212 GB, free: 26.63 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.401e-05/0.6657, allocations: 22.02 kB / 0.8213 GB, free: 26.61 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 4.148e-05/0.6657, allocations: 311.3 kB / 0.8215 GB, free: 26.3 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.959e-05/0.6658, allocations: 21.09 kB / 0.8216 GB, free: 26.29 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.462e-05/0.6659, allocations: 20.22 kB / 0.8216 GB, free: 26.29 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001756/0.6661, allocations: 49.12 kB / 0.8216 GB, free: 26.27 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.6661, allocations: 0.8438 kB / 0.8216 GB, free: 26.27 MB / 0.6387 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002316/0.6663, allocations: 80.75 kB / 0.8217 GB, free: 26.23 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.6663, allocations: 7.438 kB / 0.8217 GB, free: 26.23 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.6664, allocations: 2.156 kB / 0.8217 GB, free: 26.23 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.6664, allocations: 0.6094 kB / 0.8217 GB, free: 26.23 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.676e-05/0.6665, allocations: 14.11 kB / 0.8217 GB, free: 26.23 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.6665, allocations: 5.625 kB / 0.8217 GB, free: 26.22 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.157e-05/0.6665, allocations: 9.25 kB / 0.8218 GB, free: 26.22 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.082e-06/0.6665, allocations: 1.719 kB / 0.8218 GB, free: 26.22 MB / 0.6387 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.545e-05/0.6666, allocations: 114.5 kB / 0.8219 GB, free: 26.1 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.532e-05/0.6666, allocations: 6.422 kB / 0.8219 GB, free: 26.1 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002667/0.6669, allocations: 81.92 kB / 0.8219 GB, free: 26.05 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.6669, allocations: 1.094 kB / 0.8219 GB, free: 26.05 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.6669, allocations: 3.312 kB / 0.8219 GB, free: 26.05 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.6669, allocations: 0 / 0.8219 GB, free: 26.05 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001022/0.667, allocations: 107 kB / 0.8221 GB, free: 25.93 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.667, allocations: 0.5625 kB / 0.8221 GB, free: 25.93 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.009e-05/0.6671, allocations: 15.22 kB / 0.8221 GB, free: 25.92 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.6671, allocations: 4.969 kB / 0.8221 GB, free: 25.92 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.919e-06/0.6671, allocations: 1.781 kB / 0.8221 GB, free: 25.92 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.6671, allocations: 0 / 0.8221 GB, free: 25.92 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.6671, allocations: 0 / 0.8221 GB, free: 25.92 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002436/0.6673, allocations: 165.9 kB / 0.8222 GB, free: 25.78 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.001e-05/0.6673, allocations: 18.2 kB / 0.8222 GB, free: 25.77 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.467e-05/0.6674, allocations: 2.125 kB / 0.8223 GB, free: 25.77 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.576e-05/0.6674, allocations: 5.984 kB / 0.8223 GB, free: 25.77 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.85e-05/0.6675, allocations: 9.078 kB / 0.8223 GB, free: 25.76 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.481e-06/0.6675, allocations: 5.5 kB / 0.8223 GB, free: 25.76 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 2.413e-05/0.6675, allocations: 84.36 kB / 0.8224 GB, free: 25.68 MB / 0.6387 GB Notification: Performance of sort global known variables: time 8e-08/0.6675, allocations: 0 / 0.8224 GB, free: 25.68 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002311/0.6678, allocations: 7.406 kB / 0.8224 GB, free: 25.68 MB / 0.6387 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.000124/0.6679, allocations: 100.7 kB / 0.8225 GB, free: 25.59 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0002653/0.6681, allocations: 44.84 kB / 0.8225 GB, free: 25.58 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.6682, allocations: 4.438 kB / 0.8225 GB, free: 25.57 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001169/0.6683, allocations: 29 kB / 0.8225 GB, free: 25.57 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002717/0.6685, allocations: 6.562 kB / 0.8225 GB, free: 25.56 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003342/0.6689, allocations: 118.6 kB / 0.8226 GB, free: 25.45 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.063e-05/0.6689, allocations: 61.56 kB / 0.8227 GB, free: 25.38 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 3.426e-05/0.669, allocations: 3.484 kB / 0.8227 GB, free: 25.38 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.15e-05/0.669, allocations: 10.81 kB / 0.8227 GB, free: 25.37 MB / 0.6387 GB Notification: Performance of SimCode: time 3.11e-07/0.669, allocations: 4 kB / 0.8227 GB, free: 25.36 MB / 0.6387 GB Notification: Performance of Templates: time 0.003644/0.6726, allocations: 0.7519 MB / 0.8235 GB, free: 25.27 MB / 0.6387 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.852982997894287] Failed to read output from testmodel.py, exit status != 0: 0.6807820294052362 0.6941570100000001 0.028227675 Calling exit ...