Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0008527/0.0008527, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 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.0009086/0.0009086, allocations: 173 kB / 23.36 MB, free: 1.129 MB / 18.57 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.9994/0.9994, allocations: 177.1 MB / 203.8 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/package.mo): time 0.7884/0.7884, allocations: 154.6 MB / 414.8 MB, free: 0.5117 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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_IDEAS.Utilities.Math.Examples.Factorial") translateModel(IDEAS.Utilities.Math.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.Factorial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0.6562 kB / 480 MB, free: 6.898 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.28e-05/2.434e-05, allocations: 3.25 kB / 480 MB, free: 6.895 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Factorial): time 0.003234/0.003258, allocations: 1.565 MB / 481.6 MB, free: 5.348 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003745/0.003633, allocations: 133.3 kB / 481.7 MB, free: 5.219 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.982e-05/0.003672, allocations: 0 / 481.7 MB, free: 5.219 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.14e-05/0.003704, allocations: 4.562 kB / 481.7 MB, free: 5.215 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 5.462e-05/0.003758, allocations: 2.984 kB / 481.7 MB, free: 5.215 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000229/0.003987, allocations: 27.86 kB / 481.7 MB, free: 5.188 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 6.4e-05/0.004051, allocations: 32.02 kB / 481.8 MB, free: 5.16 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.553e-05/0.004127, allocations: 13.47 kB / 481.8 MB, free: 5.148 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.961e-05/0.004177, allocations: 12.75 kB / 481.8 MB, free: 5.137 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.282e-05/0.004219, allocations: 13.81 kB / 481.8 MB, free: 5.125 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.467e-05/0.004234, allocations: 4 kB / 481.8 MB, free: 5.121 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.653e-05/0.004291, allocations: 13.05 kB / 481.8 MB, free: 5.109 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.448e-05/0.004305, allocations: 9.516 kB / 481.8 MB, free: 5.102 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.617e-05/0.004321, allocations: 8.766 kB / 481.8 MB, free: 5.094 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001014/0.004423, allocations: 38.53 kB / 481.9 MB, free: 5.059 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.004425, allocations: 0 / 481.9 MB, free: 5.059 MB / 442.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.004425, allocations: 2.438 kB / 481.9 MB, free: 5.059 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.958e-06/0.004429, allocations: 0 / 481.9 MB, free: 5.059 MB / 442.7 MB 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.0002662/0.004695, allocations: 241.3 kB / 482.1 MB, free: 4.801 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.035e-05/0.004726, allocations: 8.031 kB / 482.1 MB, free: 4.793 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.229e-05/0.004748, allocations: 4.938 kB / 482.1 MB, free: 4.789 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.078e-05/0.004819, allocations: 114.8 kB / 482.2 MB, free: 4.652 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/0.004835, allocations: 5.688 kB / 482.2 MB, free: 4.648 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.225e-06/0.004843, allocations: 384 / 482.2 MB, free: 4.648 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001066/0.00495, allocations: 62.94 kB / 482.3 MB, free: 4.578 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.761e-06/0.004955, allocations: 0.6875 kB / 482.3 MB, free: 4.578 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.192e-06/0.004961, allocations: 2.094 kB / 482.3 MB, free: 4.578 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.004966, allocations: 1.359 kB / 482.3 MB, free: 4.578 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.551e-05/0.004991, allocations: 19.86 kB / 482.3 MB, free: 4.559 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001942/0.005185, allocations: 154 kB / 482.5 MB, free: 4.395 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001268/0.005312, allocations: 31.19 kB / 482.5 MB, free: 4.355 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.664e-05/0.005329, allocations: 17.53 kB / 482.5 MB, free: 4.336 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.923e-05/0.005388, allocations: 8.609 kB / 482.5 MB, free: 4.328 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.731e-05/0.005405, allocations: 31.19 kB / 482.6 MB, free: 4.289 MB / 442.7 MB Notification: Performance of pre-optimization done (n=3): time 1.283e-06/0.005407, allocations: 4.562 kB / 482.6 MB, free: 4.285 MB / 442.7 MB Notification: Performance of matching and sorting (n=3): time 9.791e-05/0.005505, allocations: 45.62 kB / 482.6 MB, free: 4.234 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.701e-05/0.005532, allocations: 52.58 kB / 482.7 MB, free: 4.172 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.55e-05/0.005577, allocations: 111.3 kB / 482.8 MB, free: 4.055 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.719e-06/0.005587, allocations: 25.7 kB / 482.8 MB, free: 4.023 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.676e-05/0.005614, allocations: 89.34 kB / 482.9 MB, free: 3.934 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.224e-05/0.005626, allocations: 7.953 kB / 482.9 MB, free: 3.926 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.294e-05/0.005649, allocations: 14.25 kB / 482.9 MB, free: 3.906 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.814e-05/0.005717, allocations: 319.4 kB / 483.2 MB, free: 3.586 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.316e-06/0.005725, allocations: 0 / 483.2 MB, free: 3.586 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.586e-06/0.005734, allocations: 6.141 kB / 483.2 MB, free: 3.582 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.759e-05/0.005761, allocations: 24.77 kB / 483.3 MB, free: 3.555 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.005763, allocations: 0 / 483.3 MB, free: 3.555 MB / 442.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.36e-05/0.005806, allocations: 38.59 kB / 483.3 MB, free: 3.512 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.06e-05/0.005817, allocations: 8 kB / 483.3 MB, free: 3.504 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.356e-06/0.00582, allocations: 0 / 483.3 MB, free: 3.504 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.005831, allocations: 4.688 kB / 483.3 MB, free: 3.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.559e-05/0.005877, allocations: 5.609 kB / 483.3 MB, free: 3.496 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.356e-06/0.00588, allocations: 4 kB / 483.3 MB, free: 3.492 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.672e-05/0.005897, allocations: 5.297 kB / 483.3 MB, free: 3.488 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.358e-06/0.005901, allocations: 4 kB / 483.3 MB, free: 3.484 MB / 442.7 MB 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 4.945e-05/0.005951, allocations: 109.8 kB / 483.4 MB, free: 3.367 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.195e-05/0.005963, allocations: 4.469 kB / 483.4 MB, free: 3.363 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.592e-05/0.006029, allocations: 50.42 kB / 483.5 MB, free: 3.309 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.006032, allocations: 7.938 kB / 483.5 MB, free: 3.301 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-06/0.006033, allocations: 1.062 kB / 483.5 MB, free: 3.301 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.963e-06/0.006035, allocations: 0.7656 kB / 483.5 MB, free: 3.301 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.383e-05/0.006109, allocations: 69.83 kB / 483.6 MB, free: 3.215 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.00611, allocations: 1.031 kB / 483.6 MB, free: 3.215 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.25e-05/0.006132, allocations: 8 kB / 483.6 MB, free: 3.207 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.71e-07/0.006133, allocations: 0 / 483.6 MB, free: 3.207 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.907e-06/0.006137, allocations: 1.406 kB / 483.6 MB, free: 3.207 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.006138, allocations: 0 / 483.6 MB, free: 3.207 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.61e-07/0.006139, allocations: 0.5469 kB / 483.6 MB, free: 3.207 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.526e-05/0.006204, allocations: 144.2 kB / 483.7 MB, free: 3.051 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.15e-06/0.006209, allocations: 4 kB / 483.7 MB, free: 3.047 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.985e-06/0.006217, allocations: 4 kB / 483.7 MB, free: 3.043 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.046e-05/0.006247, allocations: 5.438 kB / 483.7 MB, free: 3.039 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.608e-05/0.006284, allocations: 8.641 kB / 483.7 MB, free: 3.031 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.387e-06/0.006287, allocations: 3.938 kB / 483.7 MB, free: 3.027 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.158e-05/0.006298, allocations: 14.75 kB / 483.7 MB, free: 3.012 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006299, allocations: 0 / 483.7 MB, free: 3.012 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001159/0.006414, allocations: 8.875 kB / 483.8 MB, free: 3.004 MB / 442.7 MB 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 9.444e-05/0.006509, allocations: 86.78 kB / 483.8 MB, free: 2.91 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 5.455e-05/0.006563, allocations: 16.84 kB / 483.9 MB, free: 2.891 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.006566, allocations: 7.938 kB / 483.9 MB, free: 2.883 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.573e-05/0.006582, allocations: 9.391 kB / 483.9 MB, free: 2.871 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001113/0.006693, allocations: 4.906 kB / 483.9 MB, free: 2.867 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001935/0.006886, allocations: 115.5 kB / 484 MB, free: 2.73 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.1e-05/0.006917, allocations: 55.3 kB / 484 MB, free: 2.656 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.743e-05/0.006935, allocations: 5.219 kB / 484.1 MB, free: 2.652 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.783e-05/0.006973, allocations: 55.91 kB / 484.1 MB, free: 2.598 MB / 442.7 MB Notification: Performance of SimCode: time 3.71e-07/0.006973, allocations: 1.766 kB / 484.1 MB, free: 2.598 MB / 442.7 MB Notification: Performance of Templates: time 0.002076/0.009049, allocations: 0.7542 MB / 484.9 MB, free: 1.887 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.Factorial.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.Factorial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.Factorial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.Factorial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.Factorial.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.Factorial -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.Factorial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6114523340947926]