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.001143/0.001143, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001666/0.002809, allocations: 435.8 kB / 10.33 MB, free: 368 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.001072/0.001072, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001182/0.002254, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9517/0.9517, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09747/1.049, allocations: 53.67 MB / 243.2 MB, free: 15.57 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.7816/0.7816, allocations: 154.6 MB / 398.5 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2573/1.039, allocations: 49.05 MB / 447.6 MB, free: 6.703 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.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.493e-06/1.493e-06, allocations: 0 / 448.9 MB, free: 5.355 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.986e-05/2.135e-05, allocations: 5.922 kB / 448.9 MB, free: 5.352 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Factorial): time 0.001057/0.001078, allocations: 0.6411 MB / 449.6 MB, free: 4.75 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 9.459e-05/0.001173, allocations: 48.62 kB / 449.6 MB, free: 4.703 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.084e-05/0.001184, allocations: 3.938 kB / 449.6 MB, free: 4.699 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 4.198e-06/0.001188, allocations: 1.344 kB / 449.6 MB, free: 4.699 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 1.272e-06/0.001189, allocations: 0 / 449.6 MB, free: 4.699 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.796e-05/0.001287, allocations: 16.8 kB / 449.7 MB, free: 4.684 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 4.571e-05/0.001333, allocations: 0 / 449.7 MB, free: 4.684 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.662e-05/0.00137, allocations: 5.266 kB / 449.7 MB, free: 4.68 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.581e-05/0.001405, allocations: 6.453 kB / 449.7 MB, free: 4.676 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.018e-05/0.001426, allocations: 0 / 449.7 MB, free: 4.676 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.232e-05/0.001438, allocations: 4 kB / 449.7 MB, free: 4.672 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.509e-05/0.001523, allocations: 16.52 kB / 449.7 MB, free: 4.656 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 7.774e-06/0.001531, allocations: 1.094 kB / 449.7 MB, free: 4.656 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 9.548e-06/0.00154, allocations: 0.5625 kB / 449.7 MB, free: 4.656 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 7.328e-05/0.001614, allocations: 14.67 kB / 449.7 MB, free: 4.645 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.23e-05/0.001626, allocations: 0 / 449.7 MB, free: 4.645 MB / 426.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.001627, allocations: 4.781 kB / 449.7 MB, free: 4.641 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.338e-05/0.00164, allocations: 0 / 449.7 MB, free: 4.641 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002269/0.001867, allocations: 214.2 kB / 449.9 MB, free: 4.406 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.908e-05/0.001896, allocations: 8.031 kB / 449.9 MB, free: 4.398 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.616e-05/0.001922, allocations: 12.92 kB / 449.9 MB, free: 4.387 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.056e-05/0.001973, allocations: 105.7 kB / 450 MB, free: 4.258 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.867e-06/0.001981, allocations: 3.656 kB / 450 MB, free: 4.258 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.454e-06/0.001989, allocations: 4.375 kB / 450.1 MB, free: 4.254 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.792e-05/0.002057, allocations: 26.27 kB / 450.1 MB, free: 4.223 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.61e-06/0.002062, allocations: 1.172 kB / 450.1 MB, free: 4.223 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.749e-06/0.002067, allocations: 384 / 450.1 MB, free: 4.223 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.002072, allocations: 4.375 kB / 450.1 MB, free: 4.219 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.082e-05/0.002093, allocations: 8.828 kB / 450.1 MB, free: 4.211 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.85e-05/0.002162, allocations: 60.98 kB / 450.2 MB, free: 4.137 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.864e-05/0.0022, allocations: 23.44 kB / 450.2 MB, free: 4.105 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.081e-05/0.002211, allocations: 10.64 kB / 450.2 MB, free: 4.094 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001082/0.002319, allocations: 12.05 kB / 450.2 MB, free: 4.082 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.966e-05/0.002339, allocations: 30.56 kB / 450.2 MB, free: 4.043 MB / 426.7 MB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.00234, allocations: 1.312 kB / 450.2 MB, free: 4.043 MB / 426.7 MB Notification: Performance of matching and sorting (n=2): time 8.864e-05/0.002429, allocations: 38.92 kB / 450.3 MB, free: 4 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.829e-05/0.002457, allocations: 51.41 kB / 450.3 MB, free: 3.938 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.816e-05/0.002485, allocations: 89.86 kB / 450.4 MB, free: 3.84 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.298e-06/0.002494, allocations: 26.33 kB / 450.4 MB, free: 3.809 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.129e-05/0.002516, allocations: 84.12 kB / 450.5 MB, free: 3.723 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.831e-05/0.002534, allocations: 7.609 kB / 450.5 MB, free: 3.719 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.984e-05/0.002554, allocations: 13.72 kB / 450.5 MB, free: 3.699 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.439e-05/0.002628, allocations: 319.5 kB / 450.8 MB, free: 3.379 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.762e-06/0.002635, allocations: 0 / 450.8 MB, free: 3.379 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.841e-06/0.002641, allocations: 0.9375 kB / 450.8 MB, free: 3.379 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.652e-05/0.002667, allocations: 17.61 kB / 450.9 MB, free: 3.355 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.002669, allocations: 1.094 kB / 450.9 MB, free: 3.355 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.201e-05/0.002701, allocations: 33.64 kB / 450.9 MB, free: 3.316 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.002714, allocations: 8.594 kB / 450.9 MB, free: 3.309 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.002718, allocations: 0 / 450.9 MB, free: 3.309 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.492e-06/0.002724, allocations: 0.9375 kB / 450.9 MB, free: 3.309 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.937e-05/0.002774, allocations: 7.984 kB / 450.9 MB, free: 3.301 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.825e-06/0.002776, allocations: 5.797 kB / 450.9 MB, free: 3.297 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.975e-06/0.002784, allocations: 0 / 450.9 MB, free: 3.297 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.226e-06/0.002788, allocations: 0.8906 kB / 450.9 MB, free: 3.297 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 (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 5.245e-05/0.00284, allocations: 119.7 kB / 451 MB, free: 3.172 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.186e-06/0.002843, allocations: 0 / 451 MB, free: 3.172 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.832e-05/0.002902, allocations: 44.84 kB / 451.1 MB, free: 3.121 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.002903, allocations: 0.5469 kB / 451.1 MB, free: 3.121 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.412e-06/0.002904, allocations: 5.031 kB / 451.1 MB, free: 3.117 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.002907, allocations: 4 kB / 451.1 MB, free: 3.113 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.466e-05/0.002952, allocations: 61.84 kB / 451.2 MB, free: 3.035 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.002953, allocations: 0.5312 kB / 451.2 MB, free: 3.035 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.529e-05/0.002968, allocations: 8.969 kB / 451.2 MB, free: 3.027 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.438e-06/0.002972, allocations: 6.672 kB / 451.2 MB, free: 3.023 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.72e-07/0.002973, allocations: 5.25 kB / 451.2 MB, free: 3.02 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.425e-06/0.002976, allocations: 0 / 451.2 MB, free: 3.02 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.8e-07/0.002976, allocations: 0 / 451.2 MB, free: 3.02 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.002977, allocations: 0 / 451.2 MB, free: 3.02 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.017e-05/0.003017, allocations: 62.06 kB / 451.2 MB, free: 2.941 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.633e-06/0.003024, allocations: 0 / 451.2 MB, free: 2.941 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.228e-06/0.003028, allocations: 0.875 kB / 451.2 MB, free: 2.941 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.771e-05/0.003046, allocations: 4.984 kB / 451.2 MB, free: 2.938 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.252e-06/0.003047, allocations: 0.9062 kB / 451.2 MB, free: 2.938 MB / 426.7 MB Notification: Performance of sorting global known variables: time 6.983e-06/0.003054, allocations: 8.203 kB / 451.2 MB, free: 2.93 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003054, allocations: 3.938 kB / 451.3 MB, free: 2.926 MB / 426.7 MB Notification: Performance of remove unused functions: time 9.093e-05/0.003145, allocations: 8.625 kB / 451.3 MB, free: 2.918 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,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 9.678e-05/0.003242, allocations: 85.66 kB / 451.3 MB, free: 2.824 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 4.767e-05/0.00329, allocations: 10.25 kB / 451.4 MB, free: 2.812 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.003292, allocations: 0 / 451.4 MB, free: 2.812 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.053e-05/0.003303, allocations: 9.484 kB / 451.4 MB, free: 2.801 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.759e-05/0.003351, allocations: 12.42 kB / 451.4 MB, free: 2.789 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001342/0.003485, allocations: 83.86 kB / 451.5 MB, free: 2.684 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.554e-05/0.00351, allocations: 56.16 kB / 451.5 MB, free: 2.609 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.197e-05/0.003522, allocations: 7.938 kB / 451.5 MB, free: 2.602 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.554e-05/0.003548, allocations: 49.81 kB / 451.6 MB, free: 2.555 MB / 426.7 MB Notification: Performance of SimCode: time 4.61e-07/0.003548, allocations: 0 / 451.6 MB, free: 2.555 MB / 426.7 MB Notification: Performance of Templates: time 0.001609/0.005157, allocations: 368.3 kB / 451.9 MB, free: 2.211 MB / 426.7 MB " [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.504951138049364]