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.0009599/0.0009599, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.001338/0.001338, allocations: 165 kB / 23.02 MB, free: 1.547 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.9976/0.9976, allocations: 177.1 MB / 203.4 MB, free: 5.648 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.7985/0.7985, allocations: 154.6 MB / 414.5 MB, free: 0.6797 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.322e-06/1.322e-06, allocations: 0 / 0.5203 GB, free: 2.191 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.613e-05/1.745e-05, allocations: 7.312 kB / 0.5203 GB, free: 2.188 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.FallingFactorial): time 0.001912/0.00193, allocations: 1.58 MB / 0.5219 GB, free: 0.6133 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002858/0.002216, allocations: 136.7 kB / 0.522 GB, free: 492 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.246e-05/0.002248, allocations: 5.844 kB / 0.522 GB, free: 488 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.049e-05/0.002279, allocations: 7.922 kB / 0.522 GB, free: 480 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.113e-05/0.00232, allocations: 5.578 kB / 0.522 GB, free: 476 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002703/0.00259, allocations: 31.89 kB / 0.5221 GB, free: 444 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.752e-05/0.002668, allocations: 41.12 kB / 0.5221 GB, free: 404 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.739e-05/0.002755, allocations: 15.97 kB / 0.5221 GB, free: 388 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.809e-05/0.002793, allocations: 20.86 kB / 0.5221 GB, free: 368 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.595e-05/0.002829, allocations: 11.98 kB / 0.5221 GB, free: 356 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.65e-05/0.002845, allocations: 5.438 kB / 0.5221 GB, free: 352 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.569e-05/0.002921, allocations: 23.97 kB / 0.5222 GB, free: 328 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.087e-05/0.002932, allocations: 3.938 kB / 0.5222 GB, free: 324 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.937e-05/0.002951, allocations: 11.98 kB / 0.5222 GB, free: 312 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001187/0.00307, allocations: 48.59 kB / 0.5222 GB, free: 264 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.774e-06/0.003072, allocations: 0 / 0.5222 GB, free: 264 kB / 490.7 MB Notification: Performance of FrontEnd: time 5.62e-07/0.003072, allocations: 1.125 kB / 0.5222 GB, free: 264 kB / 490.7 MB Notification: Performance of Transformations before backend: time 4.559e-06/0.003077, allocations: 0 / 0.5222 GB, free: 264 kB / 490.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.0003667/0.003444, allocations: 372.6 kB / 0.5226 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.003479, allocations: 10.81 kB / 0.5226 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.597e-05/0.003514, allocations: 4.938 kB / 0.5226 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.63e-05/0.003601, allocations: 116.5 kB / 0.5227 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.94e-05/0.00362, allocations: 4.312 kB / 0.5227 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.407e-05/0.003634, allocations: 8.375 kB / 0.5227 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001285/0.003763, allocations: 66.92 kB / 0.5228 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.689e-06/0.003772, allocations: 192 / 0.5228 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.907e-06/0.003781, allocations: 0.9688 kB / 0.5228 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.003789, allocations: 5.656 kB / 0.5228 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.79e-05/0.003827, allocations: 15.92 kB / 0.5228 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000289/0.004116, allocations: 271.7 kB / 0.5231 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001602/0.004276, allocations: 48.02 kB / 0.5231 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.466e-05/0.004301, allocations: 11.75 kB / 0.5231 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.891e-05/0.0044, allocations: 16.92 kB / 0.5231 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.02e-05/0.00442, allocations: 41.33 kB / 0.5232 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.004421, allocations: 0.9375 kB / 0.5232 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.000149/0.00457, allocations: 53.58 kB / 0.5232 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.368e-05/0.004593, allocations: 60.16 kB / 0.5233 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.228e-05/0.004656, allocations: 165.9 kB / 0.5234 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.648e-06/0.004665, allocations: 26.92 kB / 0.5235 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.25e-05/0.004708, allocations: 138.8 kB / 0.5236 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.292e-05/0.004721, allocations: 3.953 kB / 0.5236 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.869e-05/0.00475, allocations: 27.36 kB / 0.5236 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.788e-05/0.004847, allocations: 496.8 kB / 0.5241 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.522e-05/0.004863, allocations: 1.812 kB / 0.5241 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.589e-05/0.004879, allocations: 7.984 kB / 0.5241 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.252e-05/0.004911, allocations: 19.69 kB / 0.5241 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.004913, allocations: 0 / 0.5241 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.113e-05/0.004974, allocations: 53.56 kB / 0.5242 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.157e-06/0.004983, allocations: 5.625 kB / 0.5242 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.004988, allocations: 4 kB / 0.5242 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.005002, allocations: 0 / 0.5242 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.138e-05/0.005043, allocations: 7.984 kB / 0.5242 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.005048, allocations: 2.812 kB / 0.5242 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.891e-05/0.005067, allocations: 4 kB / 0.5242 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-06/0.005071, allocations: 0 / 0.5242 GB, free: 14.03 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.087e-05/0.005132, allocations: 160.5 kB / 0.5244 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.702e-05/0.005149, allocations: 7.938 kB / 0.5244 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.305e-05/0.005242, allocations: 57.62 kB / 0.5244 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.073e-06/0.005244, allocations: 3.125 kB / 0.5244 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.005247, allocations: 0 / 0.5244 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.005251, allocations: 4.031 kB / 0.5244 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.282e-05/0.005344, allocations: 124.6 kB / 0.5246 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.005346, allocations: 0 / 0.5246 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.755e-05/0.005373, allocations: 11.98 kB / 0.5246 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.005375, allocations: 0 / 0.5246 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.964e-06/0.005381, allocations: 3.938 kB / 0.5246 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-07/0.005382, allocations: 5.75 kB / 0.5246 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.005383, allocations: 0 / 0.5246 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001084/0.005492, allocations: 191.9 kB / 0.5248 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.19e-06/0.005497, allocations: 3.938 kB / 0.5248 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.243e-05/0.005509, allocations: 4.188 kB / 0.5248 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.419e-05/0.005543, allocations: 14.05 kB / 0.5248 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.716e-05/0.005591, allocations: 11.98 kB / 0.5248 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.514e-06/0.005593, allocations: 0 / 0.5248 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.42e-05/0.005627, allocations: 127.2 kB / 0.5249 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.005627, allocations: 0 / 0.5249 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001477/0.005775, allocations: 8 kB / 0.5249 GB, free: 13.24 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 0.0001084/0.005883, allocations: 106 kB / 0.525 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 8.42e-05/0.005968, allocations: 19.69 kB / 0.525 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.005969, allocations: 0 / 0.525 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.338e-05/0.005992, allocations: 23.61 kB / 0.5251 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001711/0.006164, allocations: 9.078 kB / 0.5251 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002378/0.006401, allocations: 131.7 kB / 0.5252 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.339e-05/0.006445, allocations: 55.36 kB / 0.5252 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.816e-05/0.006463, allocations: 2.844 kB / 0.5253 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.846e-05/0.006491, allocations: 16.5 kB / 0.5253 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of SimCode: time 4.71e-07/0.006492, allocations: 0 / 0.5253 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of Templates: time 0.002383/0.008875, allocations: 0.7845 MB / 0.526 GB, free: 12.07 MB / 0.4948 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=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9755106237716973]