Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0009738/0.0009738, 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.00103/0.00103, 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.053/1.053, allocations: 177.1 MB / 203.7 MB, free: 5.516 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.7845/0.7845, allocations: 154.6 MB / 414.8 MB, free: 0.5508 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.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.Factorial") translateModel(IDEAS.Utilities.Math.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.Factorial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.654e-06/1.654e-06, allocations: 0 / 0.5208 GB, free: 1.898 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.23e-05/2.396e-05, allocations: 6.578 kB / 0.5208 GB, free: 1.895 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Factorial): time 0.002057/0.002081, allocations: 1.567 MB / 0.5223 GB, free: 340 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.000286/0.002367, allocations: 128.2 kB / 0.5224 GB, free: 212 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.476e-05/0.002402, allocations: 2.438 kB / 0.5224 GB, free: 212 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.452e-05/0.002426, allocations: 3.938 kB / 0.5224 GB, free: 208 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.239e-05/0.002469, allocations: 5.516 kB / 0.5224 GB, free: 204 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002056/0.002674, allocations: 28.61 kB / 0.5225 GB, free: 176 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.524e-05/0.002729, allocations: 27.92 kB / 0.5225 GB, free: 148 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.338e-05/0.002803, allocations: 8 kB / 0.5225 GB, free: 140 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.807e-05/0.002851, allocations: 19.91 kB / 0.5225 GB, free: 120 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.744e-05/0.002888, allocations: 16.48 kB / 0.5225 GB, free: 104 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.321e-05/0.002901, allocations: 1.469 kB / 0.5225 GB, free: 104 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.987e-05/0.002961, allocations: 15.98 kB / 0.5225 GB, free: 88 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.176e-05/0.002973, allocations: 4 kB / 0.5225 GB, free: 84 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.611e-05/0.002989, allocations: 11.92 kB / 0.5226 GB, free: 72 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 9.053e-05/0.00308, allocations: 32.88 kB / 0.5226 GB, free: 40 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.003083, allocations: 3.984 kB / 0.5226 GB, free: 36 kB / 490.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.003084, allocations: 0.9688 kB / 0.5226 GB, free: 36 kB / 490.7 MB Notification: Performance of Transformations before backend: time 3.357e-06/0.003087, allocations: 0 / 0.5226 GB, free: 36 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003254/0.003412, allocations: 360.8 kB / 0.5229 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.003448, allocations: 9.031 kB / 0.5229 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.027e-05/0.003478, allocations: 8.938 kB / 0.523 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.218e-05/0.00355, allocations: 113.2 kB / 0.5231 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.729e-05/0.003568, allocations: 8.359 kB / 0.5231 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.412e-06/0.003574, allocations: 0.875 kB / 0.5231 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002866/0.003861, allocations: 60.17 kB / 0.5231 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.262e-06/0.003867, allocations: 192 / 0.5231 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.873e-06/0.003874, allocations: 4.312 kB / 0.5231 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.003878, allocations: 1 kB / 0.5231 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.698e-05/0.003905, allocations: 11.92 kB / 0.5231 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002251/0.00413, allocations: 250.1 kB / 0.5234 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001416/0.004271, allocations: 43.05 kB / 0.5234 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.168e-05/0.004293, allocations: 15.73 kB / 0.5234 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.16e-05/0.004355, allocations: 13.78 kB / 0.5235 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.916e-05/0.004374, allocations: 33.39 kB / 0.5235 GB, free: 15 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.004375, allocations: 0 / 0.5235 GB, free: 15 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0003143/0.004689, allocations: 49.56 kB / 0.5235 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.775e-05/0.004717, allocations: 56.78 kB / 0.5236 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.29e-05/0.00478, allocations: 166.2 kB / 0.5237 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.818e-06/0.00479, allocations: 25.7 kB / 0.5238 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.951e-05/0.004829, allocations: 126.9 kB / 0.5239 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.558e-05/0.004845, allocations: 8.484 kB / 0.5239 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.875e-05/0.004873, allocations: 23.34 kB / 0.5239 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.004982, allocations: 496.9 kB / 0.5244 GB, free: 14 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.468e-05/0.004997, allocations: 1.469 kB / 0.5244 GB, free: 14 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.093e-05/0.005008, allocations: 4 kB / 0.5244 GB, free: 14 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.419e-05/0.005092, allocations: 31.8 kB / 0.5244 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.005094, allocations: 0 / 0.5244 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.066e-05/0.005154, allocations: 51.11 kB / 0.5245 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.005166, allocations: 4 kB / 0.5245 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.00517, allocations: 0 / 0.5245 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.005181, allocations: 3.938 kB / 0.5245 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.803e-05/0.005229, allocations: 10.44 kB / 0.5245 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.755e-06/0.005232, allocations: 0 / 0.5245 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.062e-05/0.005252, allocations: 7.984 kB / 0.5245 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.969e-06/0.005257, allocations: 4 kB / 0.5245 GB, free: 13.88 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 5.656e-05/0.005314, allocations: 152.6 kB / 0.5247 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.379e-05/0.005328, allocations: 4 kB / 0.5247 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.399e-05/0.005412, allocations: 56.05 kB / 0.5247 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.005415, allocations: 3.938 kB / 0.5247 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-06/0.005416, allocations: 0 / 0.5247 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.005419, allocations: 3.938 kB / 0.5247 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.597e-05/0.005515, allocations: 113.2 kB / 0.5248 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.005516, allocations: 0 / 0.5248 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.623e-05/0.005543, allocations: 5.219 kB / 0.5248 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.005544, allocations: 0 / 0.5248 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.208e-06/0.005549, allocations: 4 kB / 0.5248 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.005549, allocations: 0 / 0.5248 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.00555, allocations: 0.9375 kB / 0.5248 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.959e-05/0.00565, allocations: 199.8 kB / 0.525 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.893e-06/0.005657, allocations: 4.938 kB / 0.525 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.566e-06/0.005665, allocations: 4 kB / 0.525 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.324e-05/0.005698, allocations: 1 kB / 0.525 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.619e-05/0.005735, allocations: 11.92 kB / 0.525 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-06/0.005738, allocations: 0 / 0.525 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.295e-05/0.005771, allocations: 125 kB / 0.5252 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.005771, allocations: 0 / 0.5252 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001476/0.005919, allocations: 12 kB / 0.5252 GB, free: 13.14 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 9.794e-05/0.006017, allocations: 99.89 kB / 0.5253 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 6.189e-05/0.006078, allocations: 19.95 kB / 0.5253 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.273e-06/0.00608, allocations: 0.6562 kB / 0.5253 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.191e-05/0.006102, allocations: 23.7 kB / 0.5253 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001556/0.006257, allocations: 4.656 kB / 0.5253 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000214/0.006471, allocations: 127.3 kB / 0.5254 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.212e-05/0.006503, allocations: 55.36 kB / 0.5255 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.056e-05/0.006524, allocations: 10.44 kB / 0.5255 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.809e-05/0.006572, allocations: 78.19 kB / 0.5256 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of SimCode: time 6.71e-07/0.006573, allocations: 0 / 0.5256 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of Templates: time 0.00226/0.008832, allocations: 0.8107 MB / 0.5264 GB, free: 11.89 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.Factorial.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.Factorial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.Factorial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.Factorial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.Factorial.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.Factorial -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.Factorial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.709696611855179]