Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.Factorial.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.001307/0.001307, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001636/0.001636, allocations: 169 kB / 23.27 MB, free: 1.223 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.054/1.054, allocations: 177.1 MB / 203.7 MB, free: 5.523 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.7743/0.7743, allocations: 154.9 MB / 415.1 MB, free: 264 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.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Factorial") translateModel(IDEAS.Utilities.Math.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Factorial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 0.5211 GB, free: 1.508 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.594e-05/2.764e-05, allocations: 3.781 kB / 0.5211 GB, free: 1.504 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Factorial): time 0.003194/0.003222, allocations: 1.567 MB / 0.5227 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.0003749/0.003597, allocations: 123.9 kB / 0.5228 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.158e-05/0.003648, allocations: 0 / 0.5228 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 3.134e-05/0.00368, allocations: 4.969 kB / 0.5228 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 5.842e-05/0.003738, allocations: 14.5 kB / 0.5228 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002764/0.004014, allocations: 23.86 kB / 0.5228 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 7.296e-05/0.004087, allocations: 27.92 kB / 0.5229 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 9.268e-05/0.00418, allocations: 8 kB / 0.5229 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 6.503e-05/0.004245, allocations: 19.97 kB / 0.5229 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 5.162e-05/0.004297, allocations: 13.58 kB / 0.5229 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.603e-05/0.004313, allocations: 0 / 0.5229 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 7.55e-05/0.004388, allocations: 15.98 kB / 0.5229 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.59e-05/0.004404, allocations: 7.938 kB / 0.5229 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.05e-05/0.004425, allocations: 12.72 kB / 0.5229 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001179/0.004542, allocations: 31.84 kB / 0.523 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.504e-06/0.004545, allocations: 1.469 kB / 0.523 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.052e-06/0.004546, allocations: 0 / 0.523 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.134e-06/0.004553, allocations: 4 kB / 0.523 GB, free: 15.65 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003842/0.004937, allocations: 360.6 kB / 0.5233 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.004983, allocations: 9.375 kB / 0.5233 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.478e-05/0.005017, allocations: 8.875 kB / 0.5233 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.127e-05/0.005109, allocations: 116.5 kB / 0.5234 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.037e-05/0.005129, allocations: 5.406 kB / 0.5234 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.288e-06/0.005138, allocations: 384 / 0.5234 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001413/0.00528, allocations: 62.94 kB / 0.5235 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.00529, allocations: 7.047 kB / 0.5235 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.406e-06/0.005298, allocations: 4.312 kB / 0.5235 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.005304, allocations: 384 / 0.5235 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.448e-05/0.005339, allocations: 11.94 kB / 0.5235 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000308/0.005647, allocations: 244.4 kB / 0.5238 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001821/0.005829, allocations: 39.05 kB / 0.5238 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.536e-05/0.005854, allocations: 20.23 kB / 0.5238 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.859e-05/0.005933, allocations: 4.562 kB / 0.5238 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.871e-05/0.005962, allocations: 41.39 kB / 0.5239 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.372e-06/0.005963, allocations: 0.875 kB / 0.5239 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0001628/0.006126, allocations: 49.62 kB / 0.5239 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.05e-05/0.006156, allocations: 52.94 kB / 0.524 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.97e-05/0.006236, allocations: 161.9 kB / 0.5241 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.378e-05/0.00625, allocations: 25.7 kB / 0.5241 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.087e-05/0.006301, allocations: 130.9 kB / 0.5243 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.658e-05/0.006317, allocations: 8.891 kB / 0.5243 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.743e-05/0.006355, allocations: 23.36 kB / 0.5243 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.006501, allocations: 497.5 kB / 0.5248 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.999e-05/0.006521, allocations: 7.938 kB / 0.5248 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.45e-05/0.006536, allocations: 3.984 kB / 0.5248 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.848e-05/0.006574, allocations: 19.69 kB / 0.5248 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.006576, allocations: 1.156 kB / 0.5248 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.492e-05/0.006661, allocations: 45.64 kB / 0.5248 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.006674, allocations: 4.688 kB / 0.5248 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.177e-06/0.006678, allocations: 0 / 0.5248 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.006693, allocations: 5.219 kB / 0.5248 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.006e-05/0.006753, allocations: 11.98 kB / 0.5249 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.006758, allocations: 3.938 kB / 0.5249 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.817e-05/0.006786, allocations: 5.344 kB / 0.5249 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.137e-06/0.00679, allocations: 3.938 kB / 0.5249 GB, free: 13.51 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 (rea2Int.y,fac.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 7.968e-05/0.00687, allocations: 156.6 kB / 0.525 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.602e-05/0.006896, allocations: 11.03 kB / 0.525 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001142/0.00701, allocations: 49.88 kB / 0.5251 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.007015, allocations: 7.938 kB / 0.5251 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.007017, allocations: 0 / 0.5251 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.007022, allocations: 4.031 kB / 0.5251 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001331/0.007155, allocations: 105.2 kB / 0.5252 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.007157, allocations: 0 / 0.5252 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.421e-05/0.007201, allocations: 8 kB / 0.5252 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.007204, allocations: 2.75 kB / 0.5252 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-06/0.007211, allocations: 4 kB / 0.5252 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.007212, allocations: 0 / 0.5252 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.007214, allocations: 3.938 kB / 0.5252 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001479/0.007362, allocations: 195.8 kB / 0.5254 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.737e-06/0.007371, allocations: 4 kB / 0.5254 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.019e-05/0.007381, allocations: 0 / 0.5254 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.862e-05/0.00744, allocations: 4.5 kB / 0.5254 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.489e-05/0.007485, allocations: 13.23 kB / 0.5254 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.997e-06/0.007489, allocations: 0 / 0.5254 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.257e-05/0.007531, allocations: 123.2 kB / 0.5255 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8.1e-08/0.007531, allocations: 0 / 0.5255 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002449/0.007776, allocations: 12.52 kB / 0.5255 GB, free: 12.76 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 (fac.y,rea2Int.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.0001441/0.00792, allocations: 100.2 kB / 0.5256 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 8.656e-05/0.008007, allocations: 25.45 kB / 0.5257 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.008008, allocations: 4 kB / 0.5257 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.73e-05/0.008036, allocations: 11.69 kB / 0.5257 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002408/0.008277, allocations: 7.984 kB / 0.5257 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002611/0.008538, allocations: 128.6 kB / 0.5258 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.96e-05/0.008577, allocations: 51.36 kB / 0.5259 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.855e-05/0.008606, allocations: 4 kB / 0.5259 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.973e-05/0.008666, allocations: 80.59 kB / 0.5259 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of SimCode: time 6.82e-07/0.008666, allocations: 3.938 kB / 0.5259 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of Templates: time 0.003315/0.01198, allocations: 0.825 MB / 0.5267 GB, free: 11.5 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Factorial.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Factorial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.Factorial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.Factorial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.Factorial.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.Factorial -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.Factorial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7847656668163836]