Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.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.001032/0.001032, allocations: 80.88 kB / 19.94 MB, free: 4.551 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.001055/0.001055, allocations: 177 kB / 23.36 MB, free: 1.137 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 1.009/1.009, allocations: 177.1 MB / 203.8 MB, free: 5.465 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.8114/0.8114, allocations: 154.6 MB / 414.8 MB, free: 0.5 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.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial") translateModel(IDEAS.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 480 MB, free: 6.84 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.997e-05/2.148e-05, allocations: 2.844 kB / 480 MB, free: 6.836 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.FallingFactorial): time 0.002788/0.00281, allocations: 1.639 MB / 481.7 MB, free: 5.223 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003485/0.003158, allocations: 140.8 kB / 481.8 MB, free: 5.086 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.971e-05/0.003198, allocations: 0 / 481.8 MB, free: 5.086 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.591e-05/0.003224, allocations: 0 / 481.8 MB, free: 5.086 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 5.05e-05/0.003274, allocations: 5.141 kB / 481.8 MB, free: 5.082 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002654/0.00354, allocations: 31.84 kB / 481.9 MB, free: 5.051 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 6.736e-05/0.003607, allocations: 45.53 kB / 481.9 MB, free: 5.012 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.551e-05/0.003683, allocations: 8.656 kB / 481.9 MB, free: 5.004 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.81e-05/0.003761, allocations: 18.2 kB / 481.9 MB, free: 4.988 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.944e-05/0.0038, allocations: 17.83 kB / 481.9 MB, free: 4.973 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.324e-05/0.003813, allocations: 4 kB / 482 MB, free: 4.969 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.31e-05/0.003906, allocations: 25.84 kB / 482 MB, free: 4.945 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.469e-05/0.003921, allocations: 9.531 kB / 482 MB, free: 4.938 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.914e-05/0.00394, allocations: 17.39 kB / 482 MB, free: 4.922 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001171/0.004057, allocations: 42.28 kB / 482 MB, free: 4.883 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.574e-06/0.00406, allocations: 0 / 482 MB, free: 4.883 MB / 442.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.004061, allocations: 0.9062 kB / 482 MB, free: 4.883 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.004066, allocations: 4 kB / 482.1 MB, free: 4.879 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003074/0.004374, allocations: 241.6 kB / 482.3 MB, free: 4.621 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.196e-05/0.004406, allocations: 12.02 kB / 482.3 MB, free: 4.609 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.734e-05/0.004433, allocations: 6.438 kB / 482.3 MB, free: 4.605 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.889e-05/0.004522, allocations: 117.7 kB / 482.4 MB, free: 4.465 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/0.004539, allocations: 1.688 kB / 482.4 MB, free: 4.465 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.288e-06/0.004548, allocations: 8.312 kB / 482.4 MB, free: 4.461 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001123/0.00466, allocations: 62.94 kB / 482.5 MB, free: 4.391 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.004668, allocations: 0.75 kB / 482.5 MB, free: 4.391 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.793e-06/0.004675, allocations: 1.688 kB / 482.5 MB, free: 4.391 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-06/0.00468, allocations: 1.469 kB / 482.5 MB, free: 4.391 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.806e-05/0.004708, allocations: 15.92 kB / 482.5 MB, free: 4.375 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002556/0.004964, allocations: 173.2 kB / 482.7 MB, free: 4.191 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000138/0.005102, allocations: 34.56 kB / 482.7 MB, free: 4.148 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.708e-05/0.005119, allocations: 9.703 kB / 482.7 MB, free: 4.137 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.702e-05/0.005196, allocations: 12.61 kB / 482.7 MB, free: 4.125 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.025e-05/0.005216, allocations: 35.34 kB / 482.8 MB, free: 4.082 MB / 442.7 MB Notification: Performance of pre-optimization done (n=3): time 1.332e-06/0.005218, allocations: 0 / 482.8 MB, free: 4.082 MB / 442.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001851/0.005403, allocations: 54.16 kB / 482.8 MB, free: 4.023 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.246e-05/0.005425, allocations: 51.41 kB / 482.9 MB, free: 3.961 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.977e-05/0.005475, allocations: 109 kB / 483 MB, free: 3.844 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.738e-06/0.005485, allocations: 29.7 kB / 483 MB, free: 3.809 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.204e-05/0.005517, allocations: 85.41 kB / 483.1 MB, free: 3.723 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.362e-05/0.00553, allocations: 3.953 kB / 483.1 MB, free: 3.719 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.902e-05/0.005559, allocations: 26.47 kB / 483.1 MB, free: 3.688 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.89e-05/0.005628, allocations: 314.8 kB / 483.4 MB, free: 3.371 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.091e-05/0.005639, allocations: 1.438 kB / 483.4 MB, free: 3.371 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.636e-06/0.005648, allocations: 4 kB / 483.4 MB, free: 3.367 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.028e-05/0.005678, allocations: 16.84 kB / 483.5 MB, free: 3.348 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.00568, allocations: 4.781 kB / 483.5 MB, free: 3.344 MB / 442.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.418e-05/0.005734, allocations: 41.69 kB / 483.5 MB, free: 3.297 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.005748, allocations: 4.656 kB / 483.5 MB, free: 3.293 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.005756, allocations: 3.938 kB / 483.5 MB, free: 3.289 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.005767, allocations: 1.875 kB / 483.5 MB, free: 3.289 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.064e-05/0.005818, allocations: 11.98 kB / 483.5 MB, free: 3.277 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.776e-06/0.005821, allocations: 1.094 kB / 483.5 MB, free: 3.277 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.918e-05/0.00584, allocations: 3.938 kB / 483.5 MB, free: 3.273 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.308e-06/0.005844, allocations: 4 kB / 483.5 MB, free: 3.27 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 (falFac.y,rea2Int.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 6.14e-05/0.005906, allocations: 118.4 kB / 483.6 MB, free: 3.145 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.69e-05/0.005923, allocations: 4.625 kB / 483.6 MB, free: 3.141 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.645e-05/0.005999, allocations: 52.64 kB / 483.7 MB, free: 3.09 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.006001, allocations: 0.6562 kB / 483.7 MB, free: 3.09 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.694e-06/0.006002, allocations: 0.625 kB / 483.7 MB, free: 3.09 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.006006, allocations: 3.984 kB / 483.7 MB, free: 3.086 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.089e-05/0.006096, allocations: 74.53 kB / 483.8 MB, free: 2.996 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.006098, allocations: 0.5938 kB / 483.8 MB, free: 2.996 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.296e-05/0.006131, allocations: 11.98 kB / 483.8 MB, free: 2.984 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.006133, allocations: 1.688 kB / 483.8 MB, free: 2.984 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.258e-06/0.006137, allocations: 0 / 483.8 MB, free: 2.984 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.006138, allocations: 1.625 kB / 483.8 MB, free: 2.984 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.00614, allocations: 3.938 kB / 483.8 MB, free: 2.98 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.916e-05/0.006219, allocations: 139.5 kB / 483.9 MB, free: 2.828 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.542e-06/0.006225, allocations: 4.547 kB / 483.9 MB, free: 2.824 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.005e-06/0.006233, allocations: 4 kB / 483.9 MB, free: 2.82 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.116e-05/0.006265, allocations: 1.406 kB / 483.9 MB, free: 2.82 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.394e-05/0.006309, allocations: 19.86 kB / 484 MB, free: 2.801 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/0.006312, allocations: 0 / 484 MB, free: 2.801 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.34e-05/0.006325, allocations: 12.84 kB / 484 MB, free: 2.785 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006325, allocations: 0.8125 kB / 484 MB, free: 2.785 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001313/0.006456, allocations: 8 kB / 484 MB, free: 2.777 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 (rea2Int.y,falFac.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.0001154/0.006572, allocations: 90.84 kB / 484.1 MB, free: 2.68 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 5.918e-05/0.006631, allocations: 16.84 kB / 484.1 MB, free: 2.66 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.006634, allocations: 0 / 484.1 MB, free: 2.66 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.018e-05/0.006654, allocations: 16.8 kB / 484.1 MB, free: 2.641 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001679/0.006822, allocations: 8.25 kB / 484.1 MB, free: 2.637 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002217/0.007044, allocations: 127.4 kB / 484.2 MB, free: 2.488 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.953e-05/0.007073, allocations: 51.36 kB / 484.3 MB, free: 2.418 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.148e-05/0.007095, allocations: 5.75 kB / 484.3 MB, free: 2.414 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.096e-05/0.007136, allocations: 55.36 kB / 484.3 MB, free: 2.359 MB / 442.7 MB Notification: Performance of SimCode: time 5.21e-07/0.007136, allocations: 0 / 484.3 MB, free: 2.359 MB / 442.7 MB Notification: Performance of Templates: time 0.002419/0.009555, allocations: 0.7926 MB / 485.1 MB, free: 1.613 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.773849601857364]