Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.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.0008431/0.0008431, allocations: 93.06 kB / 19.65 MB, free: 272 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.001284/0.001284, allocations: 169 kB / 23.03 MB, free: 1.539 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.034/1.034, allocations: 177.1 MB / 203.4 MB, free: 5.605 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.77/0.77, allocations: 154.9 MB / 414.8 MB, free: 384 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.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Factorial") translateModel(IDEAS.Utilities.Math.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Factorial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 0.5207 GB, free: 1.73 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.519e-05/2.694e-05, allocations: 5.953 kB / 0.5207 GB, free: 1.727 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Factorial): time 0.001373/0.0014, allocations: 0.6043 MB / 0.5213 GB, free: 1.145 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002263/0.001626, allocations: 39.88 kB / 0.5214 GB, free: 1.105 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.455e-05/0.001641, allocations: 0.9844 kB / 0.5214 GB, free: 1.105 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.738e-05/0.001658, allocations: 5.281 kB / 0.5214 GB, free: 1.102 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.432e-06/0.001664, allocations: 4 kB / 0.5214 GB, free: 1.098 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002276/0.001892, allocations: 15.92 kB / 0.5214 GB, free: 1.082 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 4.206e-05/0.001934, allocations: 0 / 0.5214 GB, free: 1.082 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.444e-05/0.001969, allocations: 2.141 kB / 0.5214 GB, free: 1.082 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.742e-05/0.001996, allocations: 7.984 kB / 0.5214 GB, free: 1.074 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.809e-05/0.002014, allocations: 0 / 0.5214 GB, free: 1.074 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.289e-05/0.002027, allocations: 3.391 kB / 0.5214 GB, free: 1.074 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.902e-05/0.002106, allocations: 11.98 kB / 0.5214 GB, free: 1.062 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 9.598e-06/0.002116, allocations: 0 / 0.5214 GB, free: 1.062 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.006e-05/0.002136, allocations: 7.938 kB / 0.5214 GB, free: 1.055 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 8.53e-05/0.002221, allocations: 11.98 kB / 0.5214 GB, free: 1.043 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.002223, allocations: 0 / 0.5214 GB, free: 1.043 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.002225, allocations: 0 / 0.5214 GB, free: 1.043 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.002229, allocations: 3.938 kB / 0.5214 GB, free: 1.039 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002409/0.00247, allocations: 341 kB / 0.5218 GB, free: 0.668 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.002505, allocations: 13 kB / 0.5218 GB, free: 0.6562 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.411e-05/0.002539, allocations: 0.9375 kB / 0.5218 GB, free: 0.6562 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.346e-05/0.002593, allocations: 110.2 kB / 0.5219 GB, free: 0.5234 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.002605, allocations: 4.375 kB / 0.5219 GB, free: 0.5195 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.885e-06/0.002613, allocations: 384 / 0.5219 GB, free: 0.5195 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.145e-05/0.002694, allocations: 34.25 kB / 0.5219 GB, free: 492 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.352e-06/0.0027, allocations: 1.125 kB / 0.5219 GB, free: 492 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.815e-06/0.002708, allocations: 384 / 0.5219 GB, free: 492 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.002714, allocations: 384 / 0.5219 GB, free: 492 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.392e-05/0.002738, allocations: 9.344 kB / 0.5219 GB, free: 484 kB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001052/0.002843, allocations: 112.6 kB / 0.522 GB, free: 336 kB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.689e-05/0.00289, allocations: 35.02 kB / 0.5221 GB, free: 288 kB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.711e-05/0.002907, allocations: 12.91 kB / 0.5221 GB, free: 272 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001294/0.003036, allocations: 4 kB / 0.5221 GB, free: 268 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.541e-05/0.003062, allocations: 37.39 kB / 0.5221 GB, free: 220 kB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.003063, allocations: 0.6875 kB / 0.5221 GB, free: 220 kB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001302/0.003193, allocations: 42.91 kB / 0.5222 GB, free: 172 kB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.885e-05/0.003222, allocations: 55.41 kB / 0.5222 GB, free: 104 kB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.941e-05/0.003271, allocations: 142.2 kB / 0.5224 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.016e-05/0.003281, allocations: 30.8 kB / 0.5224 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 2.581e-05/0.003307, allocations: 130.9 kB / 0.5225 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.785e-05/0.003325, allocations: 4.297 kB / 0.5225 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.598e-05/0.003351, allocations: 19.88 kB / 0.5225 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.003461, allocations: 0.4888 MB / 0.523 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.251e-05/0.003473, allocations: 7.938 kB / 0.523 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.376e-06/0.003482, allocations: 5.875 kB / 0.523 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.292e-05/0.003515, allocations: 11.69 kB / 0.523 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.003517, allocations: 0 / 0.523 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.034e-05/0.003567, allocations: 43.19 kB / 0.5231 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.00358, allocations: 8 kB / 0.5231 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.003586, allocations: 0 / 0.5231 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.003599, allocations: 0 / 0.5231 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.362e-05/0.003653, allocations: 9.5 kB / 0.5231 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.003659, allocations: 0 / 0.5231 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.034e-05/0.003669, allocations: 3.938 kB / 0.5231 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.97e-06/0.003674, allocations: 4 kB / 0.5231 GB, free: 15.15 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 (n,fac) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.056e-05/0.003735, allocations: 157.1 kB / 0.5233 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.248e-06/0.003739, allocations: 1.031 kB / 0.5233 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.723e-05/0.003816, allocations: 44.84 kB / 0.5233 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.003818, allocations: 1.125 kB / 0.5233 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.003821, allocations: 0 / 0.5233 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.003823, allocations: 3.938 kB / 0.5233 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.007e-05/0.003883, allocations: 117.1 kB / 0.5234 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.003884, allocations: 0 / 0.5234 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.175e-05/0.003896, allocations: 0.5 kB / 0.5234 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.003899, allocations: 6.188 kB / 0.5234 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.71e-06/0.003904, allocations: 0 / 0.5234 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.81e-07/0.003905, allocations: 0 / 0.5234 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.003906, allocations: 0 / 0.5234 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.226e-05/0.003968, allocations: 76.38 kB / 0.5235 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.881e-06/0.003974, allocations: 6.438 kB / 0.5235 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.186e-06/0.003982, allocations: 0 / 0.5235 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.939e-06/0.003987, allocations: 0 / 0.5235 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.92e-05/0.004016, allocations: 3.984 kB / 0.5235 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-06/0.004019, allocations: 4 kB / 0.5235 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 2.811e-05/0.004047, allocations: 119.2 kB / 0.5236 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.004047, allocations: 0 / 0.5236 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001214/0.004169, allocations: 14 kB / 0.5236 GB, free: 14.54 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,n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001203/0.004289, allocations: 103.1 kB / 0.5237 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 6.959e-05/0.004359, allocations: 15.69 kB / 0.5237 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.00436, allocations: 1.031 kB / 0.5237 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.407e-05/0.004374, allocations: 15.67 kB / 0.5238 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.139e-05/0.004465, allocations: 0.9375 kB / 0.5238 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001796/0.004645, allocations: 93.34 kB / 0.5239 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.265e-05/0.004678, allocations: 62.59 kB / 0.5239 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.057e-05/0.004688, allocations: 0 / 0.5239 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.05e-05/0.004709, allocations: 16.44 kB / 0.5239 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of SimCode: time 6.82e-07/0.004709, allocations: 0 / 0.5239 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of Templates: time 0.002081/0.006791, allocations: 361.6 kB / 0.5243 GB, free: 13.84 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Factorial.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Factorial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Factorial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Factorial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Factorial.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Factorial -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Factorial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7651707883924246]