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.00117/0.00117, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005736/0.006907, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001125/0.001125, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001551/0.002676, allocations: 475.6 kB / 11.8 MB, free: 2.375 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.9693/0.9693, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1156/1.085, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.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.7543/0.7543, allocations: 154.6 MB / 398.8 MB, free: 384 kB / 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2927/1.047, allocations: 49.04 MB / 447.8 MB, free: 6.594 MB / 426.7 MB " [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.843e-06/1.843e-06, allocations: 0 / 449.2 MB, free: 5.266 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.048e-05/2.232e-05, allocations: 4 kB / 449.2 MB, free: 5.262 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Factorial): time 0.003271/0.003293, allocations: 1.634 MB / 450.8 MB, free: 3.656 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002869/0.00358, allocations: 132.9 kB / 450.9 MB, free: 3.527 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.01e-05/0.00361, allocations: 0 / 450.9 MB, free: 3.527 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.886e-05/0.003639, allocations: 3.984 kB / 450.9 MB, free: 3.52 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 3.882e-05/0.003678, allocations: 7.109 kB / 450.9 MB, free: 3.516 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000152/0.00383, allocations: 19.97 kB / 451 MB, free: 3.496 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 8.37e-05/0.003914, allocations: 29.12 kB / 451 MB, free: 3.473 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.223e-05/0.004006, allocations: 8 kB / 451 MB, free: 3.465 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.351e-05/0.004099, allocations: 17.52 kB / 451 MB, free: 3.449 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.616e-05/0.004165, allocations: 17.61 kB / 451 MB, free: 3.434 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.035e-05/0.004186, allocations: 4.547 kB / 451 MB, free: 3.43 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.284e-05/0.004279, allocations: 17.39 kB / 451 MB, free: 3.414 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.928e-05/0.004298, allocations: 5.75 kB / 451.1 MB, free: 3.41 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.818e-05/0.004316, allocations: 8.812 kB / 451.1 MB, free: 3.402 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001311/0.004447, allocations: 22.22 kB / 451.1 MB, free: 3.383 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.421e-05/0.004461, allocations: 0.75 kB / 451.1 MB, free: 3.383 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.004463, allocations: 0.7656 kB / 451.1 MB, free: 3.383 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.491e-05/0.004478, allocations: 0.9062 kB / 451.1 MB, free: 3.383 MB / 426.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.0004588/0.004936, allocations: 246.7 kB / 451.3 MB, free: 3.117 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.004982, allocations: 13.91 kB / 451.3 MB, free: 3.105 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.716e-05/0.005019, allocations: 0.9375 kB / 451.3 MB, free: 3.105 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001205/0.005139, allocations: 116.1 kB / 451.5 MB, free: 2.969 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.484e-05/0.005164, allocations: 4.375 kB / 451.5 MB, free: 2.965 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.551e-05/0.00518, allocations: 4.375 kB / 451.5 MB, free: 2.961 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001626/0.005342, allocations: 59.75 kB / 451.5 MB, free: 2.895 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.677e-06/0.005351, allocations: 192 / 451.5 MB, free: 2.895 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.005361, allocations: 5.656 kB / 451.5 MB, free: 2.891 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.005367, allocations: 5.469 kB / 451.5 MB, free: 2.887 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.739e-05/0.005404, allocations: 7.938 kB / 451.5 MB, free: 2.879 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002866/0.005691, allocations: 157 kB / 451.7 MB, free: 2.711 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002139/0.005905, allocations: 35.62 kB / 451.7 MB, free: 2.668 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.225e-05/0.005927, allocations: 4.859 kB / 451.7 MB, free: 2.66 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.319e-05/0.00601, allocations: 12.84 kB / 451.7 MB, free: 2.648 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.661e-05/0.006037, allocations: 31.12 kB / 451.8 MB, free: 2.609 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 1.453e-06/0.006038, allocations: 0 / 451.8 MB, free: 2.609 MB / 426.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001451/0.006183, allocations: 47.42 kB / 451.8 MB, free: 2.559 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.308e-05/0.006217, allocations: 56.45 kB / 451.9 MB, free: 2.492 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.504e-05/0.006282, allocations: 111.7 kB / 452 MB, free: 2.371 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.363e-05/0.006295, allocations: 25.7 kB / 452 MB, free: 2.34 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.677e-05/0.006332, allocations: 85.3 kB / 452.1 MB, free: 2.254 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.844e-05/0.00635, allocations: 3.953 kB / 452.1 MB, free: 2.25 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001859/0.006536, allocations: 17.7 kB / 452.1 MB, free: 2.227 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.395e-05/0.00663, allocations: 315.5 kB / 452.4 MB, free: 1.91 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.81e-05/0.006648, allocations: 7.938 kB / 452.4 MB, free: 1.902 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.544e-05/0.006664, allocations: 10.14 kB / 452.4 MB, free: 1.895 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.625e-05/0.0067, allocations: 14.27 kB / 452.5 MB, free: 1.879 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.006703, allocations: 0 / 452.5 MB, free: 1.879 MB / 426.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.48e-05/0.006777, allocations: 43.19 kB / 452.5 MB, free: 1.832 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.006792, allocations: 4 kB / 452.5 MB, free: 1.828 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.006797, allocations: 0 / 452.5 MB, free: 1.828 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.006812, allocations: 8.812 kB / 452.5 MB, free: 1.82 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.153e-05/0.006894, allocations: 12.67 kB / 452.5 MB, free: 1.809 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.537e-06/0.006897, allocations: 0 / 452.5 MB, free: 1.809 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.023e-05/0.006928, allocations: 12.98 kB / 452.5 MB, free: 1.797 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.006934, allocations: 3.984 kB / 452.5 MB, free: 1.793 MB / 426.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 7.079e-05/0.007005, allocations: 114.4 kB / 452.7 MB, free: 1.672 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.387e-05/0.007029, allocations: 0 / 452.7 MB, free: 1.672 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000108/0.007137, allocations: 53.61 kB / 452.7 MB, free: 1.613 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.007141, allocations: 8.703 kB / 452.7 MB, free: 1.605 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.007143, allocations: 0 / 452.7 MB, free: 1.605 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.007147, allocations: 0 / 452.7 MB, free: 1.605 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000117/0.007264, allocations: 61.91 kB / 452.8 MB, free: 1.527 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.007265, allocations: 0 / 452.8 MB, free: 1.527 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.516e-05/0.00733, allocations: 11.98 kB / 452.8 MB, free: 1.516 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.817e-06/0.007339, allocations: 3.984 kB / 452.8 MB, free: 1.512 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.007342, allocations: 5.328 kB / 452.8 MB, free: 1.508 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.28e-06/0.007348, allocations: 0 / 452.8 MB, free: 1.508 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.007349, allocations: 1.219 kB / 452.8 MB, free: 1.508 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.007355, allocations: 7.875 kB / 452.8 MB, free: 1.5 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000111/0.007466, allocations: 140.4 kB / 452.9 MB, free: 1.348 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.135e-05/0.007477, allocations: 0.75 kB / 452.9 MB, free: 1.348 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.267e-05/0.00755, allocations: 4 kB / 452.9 MB, free: 1.344 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.512e-05/0.007595, allocations: 9.031 kB / 453 MB, free: 1.336 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.064e-06/0.007602, allocations: 8.625 kB / 453 MB, free: 1.328 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.699e-05/0.007619, allocations: 5.891 kB / 453 MB, free: 1.32 MB / 426.7 MB Notification: Performance of sort global known variables: time 9e-08/0.007619, allocations: 0.625 kB / 453 MB, free: 1.32 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002095/0.007829, allocations: 8.656 kB / 453 MB, free: 1.312 MB / 426.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 0.0001517/0.00798, allocations: 81.59 kB / 453.1 MB, free: 1.223 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 8.338e-05/0.008064, allocations: 26.39 kB / 453.1 MB, free: 1.195 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.008068, allocations: 0.9375 kB / 453.1 MB, free: 1.195 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.459e-05/0.008103, allocations: 14.16 kB / 453.1 MB, free: 1.18 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002154/0.008318, allocations: 41.81 kB / 453.1 MB, free: 1.137 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004462/0.008765, allocations: 117 kB / 453.3 MB, free: 1 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.842e-05/0.008803, allocations: 55.36 kB / 453.3 MB, free: 0.9258 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.136e-05/0.008834, allocations: 8.891 kB / 453.3 MB, free: 0.918 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.648e-05/0.008891, allocations: 52.38 kB / 453.4 MB, free: 0.8672 MB / 426.7 MB Notification: Performance of SimCode: time 5.61e-07/0.008891, allocations: 0 / 453.4 MB, free: 0.8672 MB / 426.7 MB Notification: Performance of Templates: time 0.003146/0.01204, allocations: 0.784 MB / 454.2 MB, free: 128 kB / 426.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.5432140845805407]