Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0008081/0.0008081, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.0008623/0.0008623, allocations: 173.7 kB / 23.28 MB, free: 1.219 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.007/1.007, allocations: 177.1 MB / 203.7 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7874/0.7874, allocations: 154.9 MB / 415.1 MB, free: 256 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_dev_IDEAS.Utilities.Math.Examples.FallingFactorial") translateModel(IDEAS.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 0.5211 GB, free: 1.484 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.159e-05/1.306e-05, allocations: 4 kB / 0.5211 GB, free: 1.48 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.FallingFactorial): time 0.005131/0.005144, allocations: 1.593 MB / 0.5227 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.0003104/0.005454, allocations: 139.4 kB / 0.5228 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.936e-05/0.005494, allocations: 0 / 0.5228 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.595e-05/0.00552, allocations: 5.281 kB / 0.5228 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 4.646e-05/0.005566, allocations: 1.531 kB / 0.5228 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002645/0.005831, allocations: 40.59 kB / 0.5229 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 6.122e-05/0.005892, allocations: 37.61 kB / 0.5229 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 7.628e-05/0.005968, allocations: 11.98 kB / 0.5229 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 4.165e-05/0.00601, allocations: 19.98 kB / 0.5229 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 3.633e-05/0.006046, allocations: 11.97 kB / 0.5229 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.435e-05/0.006061, allocations: 7.938 kB / 0.5229 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 7.7e-05/0.006138, allocations: 22.17 kB / 0.523 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.375e-05/0.006151, allocations: 11.97 kB / 0.523 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 1.534e-05/0.006167, allocations: 8 kB / 0.523 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001027/0.006269, allocations: 51.75 kB / 0.523 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.743e-06/0.006271, allocations: 0 / 0.523 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of FrontEnd: time 5.31e-07/0.006272, allocations: 0 / 0.523 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.976e-06/0.006275, allocations: 0.5312 kB / 0.523 GB, free: 15.55 MB / 0.4948 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.0003258/0.0066, allocations: 369.1 kB / 0.5234 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.006637, allocations: 13.03 kB / 0.5234 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.79e-05/0.006665, allocations: 0.9375 kB / 0.5234 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.024e-05/0.006735, allocations: 116.5 kB / 0.5235 GB, free: 15 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.628e-05/0.006752, allocations: 4.938 kB / 0.5235 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.256e-06/0.00676, allocations: 4.375 kB / 0.5235 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001125/0.006872, allocations: 68.17 kB / 0.5236 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.056e-06/0.00688, allocations: 4.188 kB / 0.5236 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-06/0.006888, allocations: 4.375 kB / 0.5236 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.006895, allocations: 5.312 kB / 0.5236 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.759e-05/0.006923, allocations: 11.92 kB / 0.5236 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002462/0.007169, allocations: 254 kB / 0.5239 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000145/0.007314, allocations: 47.05 kB / 0.5239 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.657e-05/0.00733, allocations: 7.688 kB / 0.5239 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.404e-05/0.007404, allocations: 24.95 kB / 0.5239 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.063e-05/0.007425, allocations: 33.39 kB / 0.524 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.007426, allocations: 0.6875 kB / 0.524 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.003134/0.01056, allocations: 53.58 kB / 0.524 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.479e-05/0.01058, allocations: 56.69 kB / 0.5241 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.057e-05/0.01066, allocations: 165.8 kB / 0.5242 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.219e-05/0.01067, allocations: 25.7 kB / 0.5243 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.28e-05/0.01071, allocations: 131.5 kB / 0.5244 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.473e-05/0.01072, allocations: 7.953 kB / 0.5244 GB, free: 14 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.465e-05/0.01076, allocations: 28.31 kB / 0.5244 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.01087, allocations: 492.1 kB / 0.5249 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.234e-05/0.01088, allocations: 4.531 kB / 0.5249 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.244e-05/0.0109, allocations: 7.984 kB / 0.5249 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.903e-05/0.01093, allocations: 14.94 kB / 0.5249 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.01093, allocations: 0 / 0.5249 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.254e-05/0.01099, allocations: 49.92 kB / 0.525 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.011, allocations: 15.88 kB / 0.525 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.01101, allocations: 48 / 0.525 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.01102, allocations: 3.984 kB / 0.525 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.301e-05/0.01106, allocations: 7.984 kB / 0.525 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.434e-06/0.01106, allocations: 4 kB / 0.525 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.18e-05/0.01109, allocations: 3.031 kB / 0.525 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.947e-06/0.01109, allocations: 0 / 0.525 GB, free: 13.36 MB / 0.4948 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 6.209e-05/0.01115, allocations: 160.5 kB / 0.5251 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.09e-05/0.01117, allocations: 8 kB / 0.5251 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.23e-05/0.01125, allocations: 53.3 kB / 0.5252 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.01126, allocations: 0 / 0.5252 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.323e-06/0.01126, allocations: 0 / 0.5252 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-06/0.01126, allocations: 1.5 kB / 0.5252 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001135/0.01137, allocations: 105.2 kB / 0.5253 GB, free: 13 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.01137, allocations: 3.938 kB / 0.5253 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.456e-05/0.01141, allocations: 12.19 kB / 0.5253 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.01141, allocations: 4.484 kB / 0.5253 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.6e-06/0.01142, allocations: 5.031 kB / 0.5253 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.01e-07/0.01142, allocations: 0 / 0.5253 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.01142, allocations: 3.938 kB / 0.5253 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.647e-05/0.01152, allocations: 192.8 kB / 0.5255 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.881e-06/0.01152, allocations: 4 kB / 0.5255 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.145e-06/0.01153, allocations: 0.5 kB / 0.5255 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.896e-05/0.01158, allocations: 6.656 kB / 0.5255 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.387e-05/0.01161, allocations: 11.92 kB / 0.5255 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.529e-06/0.01162, allocations: 4 kB / 0.5255 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.427e-05/0.01165, allocations: 123.2 kB / 0.5257 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.01165, allocations: 0 / 0.5257 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002051/0.01186, allocations: 12 kB / 0.5257 GB, free: 12.61 MB / 0.4948 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 9.885e-05/0.01195, allocations: 109.6 kB / 0.5258 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 6.186e-05/0.01202, allocations: 19.67 kB / 0.5258 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.002e-06/0.01202, allocations: 0 / 0.5258 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.46e-05/0.01204, allocations: 19.67 kB / 0.5258 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001986/0.01224, allocations: 4 kB / 0.5258 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002169/0.01246, allocations: 127.8 kB / 0.5259 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.675e-05/0.01249, allocations: 63.28 kB / 0.526 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.127e-05/0.01252, allocations: 1.031 kB / 0.526 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.941e-05/0.01257, allocations: 74.2 kB / 0.5261 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of SimCode: time 4.81e-07/0.01257, allocations: 1 kB / 0.5261 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of Templates: time 0.005064/0.01763, allocations: 0.8579 MB / 0.5269 GB, free: 11.31 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.694267012644559]