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.0008016/0.0008016, allocations: 115 kB / 19.7 MB, free: 0.5312 MB / 13.93 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.0009398/0.0009398, allocations: 203.2 kB / 23 MB, free: 3.129 MB / 13.93 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 0.9126/0.9126, allocations: 230.6 MB / 256.8 MB, free: 3.562 MB / 202.7 MB " [Timeout remaining time 179] 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 0.7643/0.7643, allocations: 203.8 MB / 0.5049 GB, free: 0.7305 MB / 410.7 MB " [Timeout remaining time 179] 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.0008931/0.0008931, allocations: 71.89 kB / 0.7195 GB, free: 14.49 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4095/0.4104, allocations: 102 MB / 0.8191 GB, free: 25.31 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Factorial): time 0.002325/0.4127, allocations: 1.553 MB / 0.8206 GB, free: 24.24 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0003909/0.4131, allocations: 127.5 kB / 0.8207 GB, free: 24.16 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.581e-05/0.4131, allocations: 0 / 0.8207 GB, free: 24.16 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.3e-05/0.4131, allocations: 5.719 kB / 0.8207 GB, free: 24.16 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 5.184e-05/0.4132, allocations: 4.5 kB / 0.8207 GB, free: 24.15 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003028/0.4135, allocations: 23.94 kB / 0.8208 GB, free: 24.14 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001022/0.4136, allocations: 33.08 kB / 0.8208 GB, free: 24.12 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.4137, allocations: 8.609 kB / 0.8208 GB, free: 24.12 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 6.443e-05/0.4138, allocations: 15.28 kB / 0.8208 GB, free: 24.11 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 6.959e-05/0.4139, allocations: 17.39 kB / 0.8208 GB, free: 24.11 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.067e-05/0.4139, allocations: 2.719 kB / 0.8208 GB, free: 24.11 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 7.791e-05/0.414, allocations: 14.17 kB / 0.8208 GB, free: 24.1 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.629e-05/0.414, allocations: 7.875 kB / 0.8208 GB, free: 24.1 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 3.16e-05/0.414, allocations: 11.72 kB / 0.8209 GB, free: 24.09 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001533/0.4142, allocations: 38.08 kB / 0.8209 GB, free: 24.07 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 8.806e-06/0.4142, allocations: 5.109 kB / 0.8209 GB, free: 24.07 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.394e-06/0.4142, allocations: 1.062 kB / 0.8209 GB, free: 24.07 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.163e-06/0.4142, allocations: 1.188 kB / 0.8209 GB, free: 24.07 MB / 0.6355 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.0004249/0.4146, allocations: 271.5 kB / 0.8212 GB, free: 23.8 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/0.4147, allocations: 11.8 kB / 0.8212 GB, free: 23.8 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.592e-05/0.4147, allocations: 6.203 kB / 0.8212 GB, free: 23.8 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.586e-05/0.4148, allocations: 110.8 kB / 0.8213 GB, free: 23.67 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.195e-05/0.4148, allocations: 5.5 kB / 0.8213 GB, free: 23.66 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.516e-05/0.4148, allocations: 3 kB / 0.8213 GB, free: 23.66 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001875/0.415, allocations: 56.36 kB / 0.8213 GB, free: 23.63 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.415, allocations: 0.7812 kB / 0.8213 GB, free: 23.63 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.415, allocations: 3.938 kB / 0.8213 GB, free: 23.62 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.4151, allocations: 2.062 kB / 0.8213 GB, free: 23.62 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001275/0.4152, allocations: 42.53 kB / 0.8214 GB, free: 23.62 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003588/0.4155, allocations: 237.1 kB / 0.8216 GB, free: 23.37 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002653/0.4158, allocations: 60.05 kB / 0.8217 GB, free: 23.34 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.899e-05/0.4159, allocations: 26.52 kB / 0.8217 GB, free: 23.32 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 7.673e-05/0.4159, allocations: 5.531 kB / 0.8217 GB, free: 23.32 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.279e-05/0.416, allocations: 35.36 kB / 0.8217 GB, free: 23.29 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.713e-06/0.416, allocations: 0 / 0.8217 GB, free: 23.29 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002523/0.4162, allocations: 96.86 kB / 0.8218 GB, free: 23.24 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.158e-05/0.4162, allocations: 52.5 kB / 0.8219 GB, free: 23.18 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.419e-05/0.4163, allocations: 102.4 kB / 0.822 GB, free: 23.07 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.879e-06/0.4163, allocations: 29.27 kB / 0.822 GB, free: 23.04 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.933e-05/0.4163, allocations: 86.53 kB / 0.8221 GB, free: 22.96 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.332e-05/0.4163, allocations: 4.891 kB / 0.8221 GB, free: 22.95 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.774e-05/0.4163, allocations: 19.34 kB / 0.8221 GB, free: 22.93 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.119e-05/0.4164, allocations: 312.9 kB / 0.8224 GB, free: 22.62 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.935e-05/0.4164, allocations: 19.81 kB / 0.8224 GB, free: 22.62 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.629e-05/0.4165, allocations: 23.69 kB / 0.8225 GB, free: 22.61 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.327e-05/0.4166, allocations: 45.73 kB / 0.8225 GB, free: 22.6 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.4166, allocations: 4.688 kB / 0.8225 GB, free: 22.59 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001285/0.4167, allocations: 89.19 kB / 0.8226 GB, free: 22.54 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.4167, allocations: 6.312 kB / 0.8226 GB, free: 22.54 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.4167, allocations: 0 / 0.8226 GB, free: 22.54 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.4167, allocations: 0 / 0.8226 GB, free: 22.54 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.579e-05/0.4168, allocations: 11.38 kB / 0.8226 GB, free: 22.54 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.4168, allocations: 4.453 kB / 0.8226 GB, free: 22.54 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.942e-05/0.4168, allocations: 6.906 kB / 0.8226 GB, free: 22.54 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-06/0.4168, allocations: 1.125 kB / 0.8226 GB, free: 22.54 MB / 0.6355 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 3.975e-05/0.4169, allocations: 122 kB / 0.8227 GB, free: 22.41 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.341e-05/0.4169, allocations: 1.812 kB / 0.8227 GB, free: 22.41 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001563/0.417, allocations: 86.38 kB / 0.8228 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.417, allocations: 0 / 0.8228 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.417, allocations: 1.516 kB / 0.8228 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.135e-06/0.417, allocations: 0.9375 kB / 0.8228 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.753e-05/0.4171, allocations: 141.7 kB / 0.823 GB, free: 22.19 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.4171, allocations: 1.688 kB / 0.823 GB, free: 22.19 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.396e-05/0.4172, allocations: 14.83 kB / 0.823 GB, free: 22.19 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.4172, allocations: 1.281 kB / 0.823 GB, free: 22.19 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.4172, allocations: 1.125 kB / 0.823 GB, free: 22.19 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.91e-07/0.4172, allocations: 0 / 0.823 GB, free: 22.19 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.4172, allocations: 0.9375 kB / 0.823 GB, free: 22.19 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001325/0.4173, allocations: 172.7 kB / 0.8231 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.771e-06/0.4173, allocations: 5.516 kB / 0.8231 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.608e-06/0.4173, allocations: 6.328 kB / 0.8231 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.926e-05/0.4174, allocations: 9.094 kB / 0.8232 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.552e-05/0.4174, allocations: 6.219 kB / 0.8232 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-06/0.4174, allocations: 2.266 kB / 0.8232 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.776e-05/0.4174, allocations: 83.8 kB / 0.8232 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4174, allocations: 0 / 0.8232 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001512/0.4176, allocations: 6.688 kB / 0.8232 GB, free: 21.95 MB / 0.6355 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.0001005/0.4177, allocations: 105 kB / 0.8233 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001419/0.4178, allocations: 45.39 kB / 0.8234 GB, free: 21.85 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.4178, allocations: 0 / 0.8234 GB, free: 21.85 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.865e-05/0.4179, allocations: 24.67 kB / 0.8234 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001722/0.418, allocations: 12.88 kB / 0.8234 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002276/0.4183, allocations: 140.5 kB / 0.8236 GB, free: 21.69 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.724e-05/0.4183, allocations: 0.6812 MB / 0.8242 GB, free: 20.99 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.216e-05/0.4184, allocations: 16.19 kB / 0.8242 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of SimCode: time 6.01e-07/0.4184, allocations: 3.938 kB / 0.8242 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of Templates: time 0.001936/0.4203, allocations: 0.727 MB / 0.825 GB, free: 20.93 MB / 0.6355 GB " [Timeout remaining time 660] 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: 5.639536584028974] Failed to read output from testmodel.py, exit status != 0: 0.4255881430581212 0.435233968 0.019341421 Calling exit ...