Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.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.001001/0.001001, allocations: 92.2 kB / 20.19 MB, free: 4.355 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.002005/0.002005, allocations: 173 kB / 23.49 MB, free: 1.055 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.992/0.992, allocations: 177.1 MB / 203.8 MB, free: 5.641 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.7759/0.7759, allocations: 154.6 MB / 414.9 MB, free: 0.6484 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.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.Factorial") translateModel(IDEAS.Utilities.Math.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.Factorial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0.875 kB / 0.5204 GB, free: 2.449 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.973e-05/2.103e-05, allocations: 4.141 kB / 0.5204 GB, free: 2.445 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Factorial): time 0.00111/0.001131, allocations: 0.5943 MB / 0.521 GB, free: 1.867 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002143/0.001345, allocations: 53.67 kB / 0.521 GB, free: 1.816 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.8e-05/0.001363, allocations: 0 / 0.521 GB, free: 1.816 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.556e-05/0.001379, allocations: 0.9688 kB / 0.521 GB, free: 1.816 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.302e-06/0.001385, allocations: 0 / 0.521 GB, free: 1.816 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000239/0.001624, allocations: 15.92 kB / 0.521 GB, free: 1.801 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 4.831e-05/0.001672, allocations: 5.609 kB / 0.5211 GB, free: 1.797 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.033e-05/0.001712, allocations: 4.766 kB / 0.5211 GB, free: 1.793 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.286e-05/0.001735, allocations: 0 / 0.5211 GB, free: 1.793 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.909e-05/0.001754, allocations: 0 / 0.5211 GB, free: 1.793 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.385e-05/0.001768, allocations: 1.812 kB / 0.5211 GB, free: 1.793 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.789e-05/0.001846, allocations: 15.98 kB / 0.5211 GB, free: 1.777 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 9.368e-06/0.001855, allocations: 0 / 0.5211 GB, free: 1.777 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.57e-05/0.001871, allocations: 5.391 kB / 0.5211 GB, free: 1.773 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 9.948e-05/0.001971, allocations: 12.7 kB / 0.5211 GB, free: 1.762 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.355e-06/0.001973, allocations: 0 / 0.5211 GB, free: 1.762 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.001975, allocations: 5.141 kB / 0.5211 GB, free: 1.758 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.001979, allocations: 3.938 kB / 0.5211 GB, free: 1.754 MB / 490.7 MB 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.0002489/0.002228, allocations: 336.4 kB / 0.5214 GB, free: 1.387 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.267e-05/0.00226, allocations: 8.719 kB / 0.5214 GB, free: 1.379 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.443e-05/0.002295, allocations: 0.9375 kB / 0.5214 GB, free: 1.379 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.948e-05/0.002354, allocations: 109.9 kB / 0.5215 GB, free: 1.246 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.002365, allocations: 384 / 0.5215 GB, free: 1.246 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.578e-06/0.002375, allocations: 8.359 kB / 0.5215 GB, free: 1.238 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.878e-05/0.002464, allocations: 31.61 kB / 0.5216 GB, free: 1.203 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.542e-06/0.00247, allocations: 192 / 0.5216 GB, free: 1.203 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.275e-06/0.002479, allocations: 384 / 0.5216 GB, free: 1.203 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/0.002486, allocations: 384 / 0.5216 GB, free: 1.203 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.752e-05/0.002513, allocations: 12.56 kB / 0.5216 GB, free: 1.191 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001014/0.002615, allocations: 112.6 kB / 0.5217 GB, free: 1.047 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.843e-05/0.002663, allocations: 36.94 kB / 0.5217 GB, free: 1 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.553e-05/0.002679, allocations: 7.688 kB / 0.5217 GB, free: 0.9883 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001204/0.002799, allocations: 4.062 kB / 0.5217 GB, free: 0.9844 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.24e-05/0.002821, allocations: 41.38 kB / 0.5218 GB, free: 0.9336 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 9.11e-07/0.002822, allocations: 1.812 kB / 0.5218 GB, free: 0.9336 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001267/0.002949, allocations: 45.64 kB / 0.5218 GB, free: 0.8828 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.081e-05/0.00298, allocations: 51.41 kB / 0.5219 GB, free: 0.8203 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.101e-05/0.003021, allocations: 142.2 kB / 0.522 GB, free: 0.668 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.578e-06/0.00303, allocations: 27.17 kB / 0.522 GB, free: 0.6367 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.908e-05/0.003059, allocations: 126.9 kB / 0.5222 GB, free: 0.5078 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.94e-05/0.003079, allocations: 4.297 kB / 0.5222 GB, free: 0.5039 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.404e-05/0.003103, allocations: 27.36 kB / 0.5222 GB, free: 480 kB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.003233, allocations: 0.4893 MB / 0.5227 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.261e-05/0.003246, allocations: 0 / 0.5227 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.492e-06/0.003252, allocations: 1.281 kB / 0.5227 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.011e-05/0.003292, allocations: 19.69 kB / 0.5227 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.003295, allocations: 0.5 kB / 0.5227 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.958e-05/0.003344, allocations: 42.66 kB / 0.5227 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.003356, allocations: 4 kB / 0.5227 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/0.003366, allocations: 0 / 0.5227 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.003379, allocations: 1.219 kB / 0.5227 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.66e-05/0.003425, allocations: 7.938 kB / 0.5227 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.00343, allocations: 0 / 0.5227 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.447e-06/0.003439, allocations: 5.719 kB / 0.5227 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.146e-06/0.003442, allocations: 0 / 0.5227 GB, free: 15.88 MB / 0.4948 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 6.153e-05/0.003504, allocations: 164.6 kB / 0.5229 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.028e-06/0.003508, allocations: 0 / 0.5229 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.805e-05/0.003576, allocations: 46.36 kB / 0.5229 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.003579, allocations: 3.984 kB / 0.5229 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.003583, allocations: 0 / 0.5229 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.003586, allocations: 0 / 0.5229 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.692e-05/0.003652, allocations: 116.6 kB / 0.5231 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.003654, allocations: 2.438 kB / 0.5231 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.529e-05/0.003669, allocations: 4 kB / 0.5231 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.00367, allocations: 0 / 0.5231 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-06/0.003677, allocations: 0 / 0.5231 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/0.003677, allocations: 0 / 0.5231 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.003678, allocations: 0 / 0.5231 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.65e-05/0.003755, allocations: 82.66 kB / 0.5231 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.697e-06/0.003758, allocations: 0 / 0.5231 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.947e-06/0.003767, allocations: 0 / 0.5231 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.481e-06/0.003773, allocations: 0 / 0.5231 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.812e-05/0.003801, allocations: 7.984 kB / 0.5232 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.718e-06/0.003806, allocations: 11.92 kB / 0.5232 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 2.684e-05/0.003833, allocations: 119.2 kB / 0.5233 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4e-08/0.003833, allocations: 1.031 kB / 0.5233 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001244/0.003957, allocations: 4 kB / 0.5233 GB, free: 15.27 MB / 0.4948 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.0001123/0.004069, allocations: 100.1 kB / 0.5234 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 7.161e-05/0.004141, allocations: 26.8 kB / 0.5234 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.004142, allocations: 0 / 0.5234 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.295e-05/0.004155, allocations: 11.69 kB / 0.5234 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.609e-05/0.004251, allocations: 0 / 0.5234 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001992/0.00445, allocations: 97.34 kB / 0.5235 GB, free: 15 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.981e-05/0.00448, allocations: 55.3 kB / 0.5236 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.048e-05/0.004491, allocations: 3.938 kB / 0.5236 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.615e-05/0.004507, allocations: 15.28 kB / 0.5236 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of SimCode: time 6.21e-07/0.004508, allocations: 0 / 0.5236 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of Templates: time 0.001773/0.006281, allocations: 340.8 kB / 0.5239 GB, free: 14.59 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.Factorial.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.Factorial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.Factorial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.Factorial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.Factorial.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.Factorial -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.Factorial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.833211368182674]