Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.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.001417/0.001417, allocations: 79.28 kB / 19.18 MB, free: 2.516 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.001482/0.001482, allocations: 164.5 kB / 22.46 MB, free: 5.375 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.47/1.47, allocations: 177.1 MB / 202.8 MB, free: 9.164 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.207/1.207, allocations: 154.6 MB / 413.8 MB, free: 5.23 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.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 0.6186 GB, free: 4.473 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.922e-05/3.102e-05, allocations: 2.281 kB / 0.6186 GB, free: 4.469 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001523/0.001554, allocations: 0.5944 MB / 0.6192 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.000278/0.001832, allocations: 59.72 kB / 0.6193 GB, free: 3.832 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.253e-05/0.001854, allocations: 0 / 0.6193 GB, free: 3.832 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.492e-05/0.001899, allocations: 3.938 kB / 0.6193 GB, free: 3.828 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.701e-06/0.001905, allocations: 0 / 0.6193 GB, free: 3.828 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003527/0.002257, allocations: 15.98 kB / 0.6193 GB, free: 3.812 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.301e-05/0.00235, allocations: 28.81 kB / 0.6193 GB, free: 3.785 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.238e-05/0.002393, allocations: 7.938 kB / 0.6193 GB, free: 3.777 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.372e-05/0.002457, allocations: 12.89 kB / 0.6193 GB, free: 3.766 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.577e-05/0.002492, allocations: 15.97 kB / 0.6194 GB, free: 3.75 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.123e-05/0.002514, allocations: 5.156 kB / 0.6194 GB, free: 3.746 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 9.669e-05/0.00261, allocations: 11.98 kB / 0.6194 GB, free: 3.734 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.132e-05/0.002652, allocations: 15.97 kB / 0.6194 GB, free: 3.719 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.007e-05/0.002692, allocations: 5.344 kB / 0.6194 GB, free: 3.715 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001301/0.002822, allocations: 47.81 kB / 0.6194 GB, free: 3.668 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.002824, allocations: 0 / 0.6194 GB, free: 3.668 MB / 0.5294 GB Notification: Performance of FrontEnd: time 4.4e-07/0.002824, allocations: 0 / 0.6194 GB, free: 3.668 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.002829, allocations: 7.938 kB / 0.6194 GB, free: 3.66 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004/0.003229, allocations: 270.3 kB / 0.6197 GB, free: 3.363 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.003273, allocations: 8.031 kB / 0.6197 GB, free: 3.355 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.812e-05/0.003311, allocations: 0.9375 kB / 0.6197 GB, free: 3.355 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001079/0.003419, allocations: 105.8 kB / 0.6198 GB, free: 3.227 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.613e-05/0.003435, allocations: 4.375 kB / 0.6198 GB, free: 3.223 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.037e-05/0.003445, allocations: 4.375 kB / 0.6198 GB, free: 3.219 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001684/0.003614, allocations: 69.17 kB / 0.6199 GB, free: 3.148 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.003624, allocations: 192 / 0.6199 GB, free: 3.148 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.437e-06/0.003633, allocations: 384 / 0.6199 GB, free: 3.148 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.003638, allocations: 384 / 0.6199 GB, free: 3.148 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001739/0.003812, allocations: 107.7 kB / 0.62 GB, free: 3.043 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001633/0.003975, allocations: 125.2 kB / 0.6201 GB, free: 2.891 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001377/0.004113, allocations: 62.55 kB / 0.6202 GB, free: 2.82 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.06e-05/0.004164, allocations: 28.84 kB / 0.6202 GB, free: 2.789 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001794/0.004343, allocations: 23.97 kB / 0.6202 GB, free: 2.766 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.376e-05/0.004377, allocations: 38.5 kB / 0.6203 GB, free: 2.719 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=11): time 1.272e-06/0.004378, allocations: 0 / 0.6203 GB, free: 2.719 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11): time 0.0002647/0.004643, allocations: 113.9 kB / 0.6204 GB, free: 2.602 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.649e-05/0.004689, allocations: 55.41 kB / 0.6204 GB, free: 2.535 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.553e-05/0.004745, allocations: 93.81 kB / 0.6205 GB, free: 2.434 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/0.004762, allocations: 29.7 kB / 0.6205 GB, free: 2.398 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.794e-05/0.00481, allocations: 92.08 kB / 0.6206 GB, free: 2.305 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.27e-05/0.004843, allocations: 23.78 kB / 0.6207 GB, free: 2.281 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.633e-05/0.004889, allocations: 29.7 kB / 0.6207 GB, free: 2.246 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.005036, allocations: 318.8 kB / 0.621 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.014e-05/0.005076, allocations: 19.98 kB / 0.621 GB, free: 1.906 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.667e-05/0.005123, allocations: 19.98 kB / 0.621 GB, free: 1.887 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001006/0.005224, allocations: 60.55 kB / 0.6211 GB, free: 1.828 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.005225, allocations: 0 / 0.6211 GB, free: 1.828 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001442/0.00537, allocations: 97.55 kB / 0.6212 GB, free: 1.727 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.005381, allocations: 4 kB / 0.6212 GB, free: 1.723 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.005385, allocations: 4 kB / 0.6212 GB, free: 1.719 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.005398, allocations: 0 / 0.6212 GB, free: 1.719 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/0.005501, allocations: 19.98 kB / 0.6212 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.005506, allocations: 0 / 0.6212 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.346e-05/0.005529, allocations: 11.89 kB / 0.6212 GB, free: 1.688 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.957e-06/0.005538, allocations: 4 kB / 0.6212 GB, free: 1.684 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: 11 (n,falFac[10],falFac[9],falFac[8],falFac[7],falFac[6],falFac[5],falFac[4],falFac[3],falFac[2],falFac[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 0.0001222/0.00566, allocations: 126.8 kB / 0.6213 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.211e-05/0.005672, allocations: 4 kB / 0.6213 GB, free: 1.547 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002309/0.005903, allocations: 125.5 kB / 0.6215 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.005907, allocations: 4 kB / 0.6215 GB, free: 1.41 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.005912, allocations: 0 / 0.6215 GB, free: 1.41 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/0.005917, allocations: 3.938 kB / 0.6215 GB, free: 1.406 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001106/0.006027, allocations: 121.2 kB / 0.6216 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.006028, allocations: 0 / 0.6216 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.276e-05/0.006101, allocations: 23.98 kB / 0.6216 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.006103, allocations: 0 / 0.6216 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.006111, allocations: 3.938 kB / 0.6216 GB, free: 1.23 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.006112, allocations: 0 / 0.6216 GB, free: 1.23 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.006115, allocations: 4 kB / 0.6216 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001707/0.006286, allocations: 125 kB / 0.6217 GB, free: 1.086 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.007e-05/0.006296, allocations: 11.94 kB / 0.6217 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.137e-05/0.006307, allocations: 0 / 0.6217 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.679e-05/0.006324, allocations: 4 kB / 0.6217 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.182e-05/0.006376, allocations: 11.92 kB / 0.6218 GB, free: 1.059 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-06/0.006385, allocations: 8 kB / 0.6218 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.84e-05/0.006423, allocations: 79.27 kB / 0.6218 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.006424, allocations: 3.938 kB / 0.6218 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002025/0.006626, allocations: 16 kB / 0.6219 GB, free: 0.9531 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 (falFac[1],falFac[2],falFac[3],falFac[4],falFac[5],falFac[6],falFac[7],falFac[8],falFac[9],falFac[10],n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0001634/0.006789, allocations: 111.1 kB / 0.622 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001427/0.006932, allocations: 63.95 kB / 0.622 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.006933, allocations: 0 / 0.622 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 5.431e-05/0.006988, allocations: 31.92 kB / 0.6221 GB, free: 0.7422 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001321/0.00712, allocations: 12.53 kB / 0.6221 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003137/0.007433, allocations: 144.8 kB / 0.6222 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.506e-05/0.007509, allocations: 67.34 kB / 0.6223 GB, free: 492 kB / 0.5294 GB Notification: Performance of simCode: alias equations: time 7.4e-05/0.007583, allocations: 35.97 kB / 0.6223 GB, free: 456 kB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.223e-05/0.007615, allocations: 20.48 kB / 0.6223 GB, free: 436 kB / 0.5294 GB Notification: Performance of SimCode: time 4.21e-07/0.007615, allocations: 0 / 0.6223 GB, free: 436 kB / 0.5294 GB Notification: Performance of Templates: time 0.003098/0.01071, allocations: 0.5803 MB / 0.6229 GB, free: 15.85 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.682462003082037] Failed to read output from testmodel.py, exit status != 0: 0.018624380230903625 0.03280467 0.027069953 Calling exit ...