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.001117/0.001117, 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.001307/0.001307, allocations: 177.4 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.9851/0.9851, allocations: 177.2 MB / 203.8 MB, free: 5.488 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.7798/0.7798, allocations: 154.6 MB / 414.8 MB, free: 0.5078 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.804e-06/1.804e-06, allocations: 0.6562 kB / 480 MB, free: 6.953 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.352e-05/2.533e-05, allocations: 5.938 kB / 480 MB, free: 6.949 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.FallingFactorial): time 0.005963/0.005988, allocations: 1.594 MB / 481.6 MB, free: 5.375 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003567/0.006345, allocations: 144.9 kB / 481.7 MB, free: 5.234 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.897e-05/0.006384, allocations: 1.219 kB / 481.7 MB, free: 5.234 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.815e-05/0.006412, allocations: 3.938 kB / 481.7 MB, free: 5.23 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 4.995e-05/0.006462, allocations: 2.188 kB / 481.8 MB, free: 5.23 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003092/0.006771, allocations: 41.27 kB / 481.8 MB, free: 5.191 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 7.736e-05/0.006848, allocations: 37.22 kB / 481.8 MB, free: 5.16 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.493e-05/0.006923, allocations: 8 kB / 481.8 MB, free: 5.152 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.742e-05/0.006971, allocations: 21.5 kB / 481.9 MB, free: 5.133 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.11e-05/0.007012, allocations: 18.44 kB / 481.9 MB, free: 5.117 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.467e-05/0.007037, allocations: 0 / 481.9 MB, free: 5.117 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000107/0.007144, allocations: 29.2 kB / 481.9 MB, free: 5.09 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.607e-05/0.00716, allocations: 9.531 kB / 481.9 MB, free: 5.082 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.009e-05/0.00718, allocations: 9.203 kB / 481.9 MB, free: 5.074 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001239/0.007304, allocations: 43.53 kB / 482 MB, free: 5.035 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.007306, allocations: 0 / 482 MB, free: 5.035 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.007307, allocations: 1.812 kB / 482 MB, free: 5.035 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.496e-06/0.007311, allocations: 0 / 482 MB, free: 5.035 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.0003098/0.007621, allocations: 252 kB / 482.2 MB, free: 4.766 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.356e-05/0.007654, allocations: 12.52 kB / 482.2 MB, free: 4.754 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.866e-05/0.007683, allocations: 8.922 kB / 482.2 MB, free: 4.746 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.98e-05/0.007763, allocations: 111.5 kB / 482.3 MB, free: 4.613 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.007779, allocations: 384 / 482.3 MB, free: 4.613 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.217e-05/0.007791, allocations: 5.719 kB / 482.3 MB, free: 4.609 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001255/0.007917, allocations: 62.94 kB / 482.4 MB, free: 4.539 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.007924, allocations: 1 kB / 482.4 MB, free: 4.539 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.007933, allocations: 384 / 482.4 MB, free: 4.539 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.007938, allocations: 1.25 kB / 482.4 MB, free: 4.539 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.293e-05/0.007971, allocations: 16.69 kB / 482.4 MB, free: 4.523 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002431/0.008214, allocations: 166.5 kB / 482.6 MB, free: 4.348 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001587/0.008373, allocations: 34.56 kB / 482.6 MB, free: 4.305 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.061e-05/0.008394, allocations: 17.47 kB / 482.6 MB, free: 4.285 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.477e-05/0.008479, allocations: 17.3 kB / 482.7 MB, free: 4.27 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.289e-05/0.008501, allocations: 34.56 kB / 482.7 MB, free: 4.227 MB / 442.7 MB Notification: Performance of pre-optimization done (n=3): time 1.313e-06/0.008503, allocations: 0.625 kB / 482.7 MB, free: 4.227 MB / 442.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001313/0.008634, allocations: 55.17 kB / 482.7 MB, free: 4.168 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.898e-05/0.008663, allocations: 51.41 kB / 482.8 MB, free: 4.105 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.963e-05/0.008723, allocations: 103.3 kB / 482.9 MB, free: 3.992 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.386e-05/0.008737, allocations: 30.33 kB / 482.9 MB, free: 3.957 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001706/0.008907, allocations: 88.62 kB / 483 MB, free: 3.867 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.486e-05/0.008922, allocations: 4.703 kB / 483 MB, free: 3.863 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.278e-05/0.008955, allocations: 17.72 kB / 483 MB, free: 3.84 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.939e-05/0.009034, allocations: 323.5 kB / 483.4 MB, free: 3.516 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.404e-05/0.009048, allocations: 1.312 kB / 483.4 MB, free: 3.516 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.275e-05/0.009061, allocations: 7.141 kB / 483.4 MB, free: 3.512 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.542e-05/0.009096, allocations: 20.78 kB / 483.4 MB, free: 3.488 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.009098, allocations: 0 / 483.4 MB, free: 3.488 MB / 442.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.382e-05/0.009162, allocations: 41.69 kB / 483.4 MB, free: 3.441 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.009176, allocations: 6.938 kB / 483.4 MB, free: 3.438 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.009181, allocations: 3.938 kB / 483.4 MB, free: 3.434 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.009192, allocations: 0.7812 kB / 483.4 MB, free: 3.434 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.503e-05/0.009248, allocations: 11.98 kB / 483.4 MB, free: 3.422 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.604e-06/0.00925, allocations: 0.625 kB / 483.4 MB, free: 3.422 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.377e-05/0.009274, allocations: 3.938 kB / 483.4 MB, free: 3.418 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-06/0.009279, allocations: 4.938 kB / 483.5 MB, free: 3.414 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 5.753e-05/0.009337, allocations: 108.9 kB / 483.6 MB, free: 3.301 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.36e-05/0.00936, allocations: 8 kB / 483.6 MB, free: 3.293 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.345e-05/0.009444, allocations: 53.23 kB / 483.6 MB, free: 3.234 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.009446, allocations: 1.188 kB / 483.6 MB, free: 3.234 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-06/0.009447, allocations: 0 / 483.6 MB, free: 3.234 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.009449, allocations: 0 / 483.6 MB, free: 3.234 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001107/0.00956, allocations: 79.19 kB / 483.7 MB, free: 3.141 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.009561, allocations: 1.094 kB / 483.7 MB, free: 3.141 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.869e-05/0.0096, allocations: 8 kB / 483.7 MB, free: 3.133 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.778e-06/0.009603, allocations: 8.797 kB / 483.7 MB, free: 3.125 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-06/0.009609, allocations: 1.359 kB / 483.7 MB, free: 3.125 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.009611, allocations: 1.406 kB / 483.7 MB, free: 3.125 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.009614, allocations: 4.188 kB / 483.7 MB, free: 3.121 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.632e-05/0.0097, allocations: 135.5 kB / 483.9 MB, free: 2.973 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.65e-06/0.009706, allocations: 0 / 483.9 MB, free: 2.973 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.115e-05/0.009717, allocations: 8.969 kB / 483.9 MB, free: 2.965 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00307/0.01279, allocations: 3.984 kB / 483.9 MB, free: 2.961 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.499e-05/0.01283, allocations: 12.97 kB / 483.9 MB, free: 2.949 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.01284, allocations: 0.7656 kB / 483.9 MB, free: 2.949 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.845e-05/0.01285, allocations: 12.84 kB / 483.9 MB, free: 2.934 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01285, allocations: 0.9062 kB / 483.9 MB, free: 2.934 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002147/0.01307, allocations: 8 kB / 483.9 MB, free: 2.926 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.0001432/0.01321, allocations: 85.17 kB / 484 MB, free: 2.832 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 7.615e-05/0.01329, allocations: 18.38 kB / 484 MB, free: 2.812 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.01329, allocations: 2.109 kB / 484 MB, free: 2.812 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.531e-05/0.01332, allocations: 20.78 kB / 484 MB, free: 2.789 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001671/0.01348, allocations: 0 / 484 MB, free: 2.789 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002718/0.01376, allocations: 127.3 kB / 484.2 MB, free: 2.641 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.145e-05/0.0138, allocations: 59.34 kB / 484.2 MB, free: 2.562 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.608e-05/0.01382, allocations: 5.219 kB / 484.2 MB, free: 2.559 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.918e-05/0.01387, allocations: 53.17 kB / 484.3 MB, free: 2.508 MB / 442.7 MB Notification: Performance of SimCode: time 6.32e-07/0.01387, allocations: 0 / 484.3 MB, free: 2.508 MB / 442.7 MB Notification: Performance of Templates: time 0.005708/0.01958, allocations: 0.789 MB / 485.1 MB, free: 1.762 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 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7285179970785975]