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.001384/0.001384, allocations: 78.41 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001612/0.001612, allocations: 169.6 kB / 22.46 MB, free: 5.355 MB / 14.72 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.445/1.445, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] 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-531:686: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-531:694: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 1.226/1.226, allocations: 154.6 MB / 413.8 MB, free: 5.207 MB / 382.1 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 178] 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.523e-06/1.523e-06, allocations: 0 / 0.6186 GB, free: 4.555 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.619e-05/2.771e-05, allocations: 2.281 kB / 0.6186 GB, free: 4.551 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.FallingFactorial): time 0.00321/0.003238, allocations: 1.552 MB / 0.6201 GB, free: 2.992 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0004448/0.003683, allocations: 135.5 kB / 0.6202 GB, free: 2.859 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.986e-05/0.003742, allocations: 0 / 0.6202 GB, free: 2.859 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.018e-05/0.003783, allocations: 3.938 kB / 0.6202 GB, free: 2.855 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.955e-05/0.003842, allocations: 0 / 0.6202 GB, free: 2.855 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003738/0.004216, allocations: 39.84 kB / 0.6203 GB, free: 2.816 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001441/0.00436, allocations: 35.84 kB / 0.6203 GB, free: 2.781 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.004472, allocations: 15.98 kB / 0.6203 GB, free: 2.766 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.115e-05/0.004533, allocations: 19.98 kB / 0.6203 GB, free: 2.746 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.592e-05/0.004589, allocations: 15.98 kB / 0.6204 GB, free: 2.73 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.919e-05/0.004608, allocations: 4 kB / 0.6204 GB, free: 2.727 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001007/0.004709, allocations: 23.95 kB / 0.6204 GB, free: 2.703 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.846e-05/0.004728, allocations: 7.938 kB / 0.6204 GB, free: 2.695 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.749e-05/0.004755, allocations: 8 kB / 0.6204 GB, free: 2.688 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001703/0.004925, allocations: 59.73 kB / 0.6205 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.004928, allocations: 4 kB / 0.6205 GB, free: 2.625 MB / 0.5294 GB Notification: Performance of FrontEnd: time 7.32e-07/0.004929, allocations: 0 / 0.6205 GB, free: 2.625 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.029e-06/0.004934, allocations: 0 / 0.6205 GB, free: 2.625 MB / 0.5294 GB 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.0005239/0.005457, allocations: 274.2 kB / 0.6207 GB, free: 2.324 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.005499, allocations: 16.03 kB / 0.6207 GB, free: 2.309 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.372e-05/0.005543, allocations: 4.938 kB / 0.6207 GB, free: 2.305 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001372/0.00568, allocations: 109.8 kB / 0.6208 GB, free: 2.172 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.102e-05/0.005711, allocations: 8.312 kB / 0.6209 GB, free: 2.164 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.388e-05/0.005725, allocations: 4.375 kB / 0.6209 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002294/0.005955, allocations: 66.2 kB / 0.6209 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.005967, allocations: 192 / 0.6209 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.005978, allocations: 384 / 0.6209 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.005984, allocations: 4.375 kB / 0.6209 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002147/0.006199, allocations: 55.83 kB / 0.621 GB, free: 2.031 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004192/0.006618, allocations: 212.5 kB / 0.6212 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003635/0.006981, allocations: 58.53 kB / 0.6212 GB, free: 1.727 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00011/0.007091, allocations: 28.83 kB / 0.6213 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000131/0.007222, allocations: 15.98 kB / 0.6213 GB, free: 1.68 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.174e-05/0.007254, allocations: 38.5 kB / 0.6213 GB, free: 1.633 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.342e-06/0.007255, allocations: 0 / 0.6213 GB, free: 1.633 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0004491/0.007704, allocations: 101.6 kB / 0.6214 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.282e-05/0.007757, allocations: 51.41 kB / 0.6215 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.007862, allocations: 105.8 kB / 0.6216 GB, free: 1.352 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.457e-05/0.007887, allocations: 29.7 kB / 0.6216 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.369e-05/0.007951, allocations: 84.14 kB / 0.6217 GB, free: 1.23 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.971e-05/0.00797, allocations: 3.953 kB / 0.6217 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.205e-05/0.008022, allocations: 21.7 kB / 0.6217 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.008166, allocations: 314.8 kB / 0.622 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.893e-05/0.008265, allocations: 23.92 kB / 0.622 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.596e-05/0.008361, allocations: 23.97 kB / 0.622 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001865/0.008548, allocations: 44.83 kB / 0.6221 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.008549, allocations: 0 / 0.6221 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002389/0.008788, allocations: 81.53 kB / 0.6222 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.008804, allocations: 4 kB / 0.6222 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.008809, allocations: 4 kB / 0.6222 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.008824, allocations: 0 / 0.6222 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.066e-05/0.008915, allocations: 11.98 kB / 0.6222 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.008924, allocations: 3.938 kB / 0.6222 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.473e-05/0.008988, allocations: 11.98 kB / 0.6222 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.008995, allocations: 0 / 0.6222 GB, free: 0.668 MB / 0.5294 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 (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 9.897e-05/0.009094, allocations: 111.7 kB / 0.6223 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.365e-05/0.009128, allocations: 7.938 kB / 0.6223 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002876/0.009415, allocations: 85.33 kB / 0.6224 GB, free: 460 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.009418, allocations: 0 / 0.6224 GB, free: 460 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.009422, allocations: 256 / 0.6224 GB, free: 460 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.009425, allocations: 0 / 0.6224 GB, free: 460 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001473/0.009572, allocations: 113.3 kB / 0.6225 GB, free: 316 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.009573, allocations: 0 / 0.6225 GB, free: 316 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.833e-05/0.009652, allocations: 11.98 kB / 0.6225 GB, free: 304 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.009654, allocations: 3.938 kB / 0.6225 GB, free: 300 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.009666, allocations: 7.938 kB / 0.6225 GB, free: 292 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.009667, allocations: 0 / 0.6225 GB, free: 292 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.009668, allocations: 7.938 kB / 0.6225 GB, free: 284 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003042/0.009973, allocations: 175.8 kB / 0.6227 GB, free: 92 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.833e-06/0.009979, allocations: 0 / 0.6227 GB, free: 92 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.985e-05/0.009999, allocations: 7.984 kB / 0.6227 GB, free: 84 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.662e-05/0.0101, allocations: 15.97 kB / 0.6227 GB, free: 68 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.612e-05/0.01014, allocations: 0 / 0.6227 GB, free: 68 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.348e-06/0.01015, allocations: 7.984 kB / 0.6227 GB, free: 60 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.002e-05/0.01021, allocations: 83.28 kB / 0.6228 GB, free: 15.98 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.01021, allocations: 4 kB / 0.6228 GB, free: 15.97 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002381/0.01045, allocations: 11.94 kB / 0.6228 GB, free: 15.96 MB / 0.545 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 (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.0001718/0.01062, allocations: 95.25 kB / 0.6229 GB, free: 15.86 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002543/0.01088, allocations: 51.88 kB / 0.623 GB, free: 15.8 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.01088, allocations: 4 kB / 0.623 GB, free: 15.8 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001044/0.01098, allocations: 19.98 kB / 0.623 GB, free: 15.78 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00028/0.01126, allocations: 8 kB / 0.623 GB, free: 15.77 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003824/0.01164, allocations: 136 kB / 0.6231 GB, free: 15.62 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.707e-05/0.01172, allocations: 63.34 kB / 0.6232 GB, free: 15.54 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.193e-05/0.01175, allocations: 4 kB / 0.6232 GB, free: 15.53 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.085e-05/0.01178, allocations: 8.5 kB / 0.6232 GB, free: 15.52 MB / 0.545 GB Notification: Performance of SimCode: time 3.11e-07/0.01178, allocations: 0 / 0.6232 GB, free: 15.52 MB / 0.545 GB Notification: Performance of Templates: time 0.003622/0.01541, allocations: 0.7842 MB / 0.624 GB, free: 14.76 MB / 0.545 GB " [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=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.790813483297825] Failed to read output from testmodel.py, exit status != 0: 0.024621590971946716 0.041695857 0.032943971 Calling exit ...