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.001873/0.001873, allocations: 85.48 kB / 19.44 MB, free: 344 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.002392/0.002392, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.563/1.563, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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 1.312/1.312, allocations: 154.6 MB / 414.2 MB, free: 0.6484 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 178] 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.463e-06/1.463e-06, allocations: 0 / 0.5196 GB, free: 2.566 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.115e-05/3.261e-05, allocations: 5.375 kB / 0.5196 GB, free: 2.562 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Factorial): time 0.00306/0.003092, allocations: 1.535 MB / 0.5211 GB, free: 1.035 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004188/0.003511, allocations: 129.2 kB / 0.5213 GB, free: 0.9102 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.072e-05/0.003552, allocations: 3.938 kB / 0.5213 GB, free: 0.9062 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.736e-05/0.003579, allocations: 7.938 kB / 0.5213 GB, free: 0.8984 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.508e-05/0.003634, allocations: 6.375 kB / 0.5213 GB, free: 0.8945 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002688/0.003903, allocations: 19.92 kB / 0.5213 GB, free: 0.875 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 8.093e-05/0.003984, allocations: 31.91 kB / 0.5213 GB, free: 0.8438 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.978e-05/0.004084, allocations: 7.984 kB / 0.5213 GB, free: 0.8359 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.124e-05/0.004165, allocations: 19.98 kB / 0.5213 GB, free: 0.8164 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.534e-05/0.004221, allocations: 15.92 kB / 0.5214 GB, free: 0.8008 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.928e-05/0.00424, allocations: 5.578 kB / 0.5214 GB, free: 0.7969 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.263e-05/0.004302, allocations: 8 kB / 0.5214 GB, free: 0.7891 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.809e-05/0.004321, allocations: 7.984 kB / 0.5214 GB, free: 0.7812 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.339e-05/0.004344, allocations: 8 kB / 0.5214 GB, free: 0.7734 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001429/0.004487, allocations: 48.28 kB / 0.5214 GB, free: 0.7266 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.004489, allocations: 0 / 0.5214 GB, free: 0.7266 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.00449, allocations: 1.031 kB / 0.5214 GB, free: 0.7266 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.004495, allocations: 0 / 0.5214 GB, free: 0.7266 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007901/0.005285, allocations: 357.5 kB / 0.5218 GB, free: 348 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.005327, allocations: 16.02 kB / 0.5218 GB, free: 332 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.883e-05/0.005376, allocations: 4.891 kB / 0.5218 GB, free: 328 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001305/0.005506, allocations: 113.2 kB / 0.5219 GB, free: 188 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.32e-05/0.005529, allocations: 384 / 0.5219 GB, free: 188 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.408e-05/0.005544, allocations: 9.406 kB / 0.5219 GB, free: 180 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001933/0.005737, allocations: 50.23 kB / 0.522 GB, free: 124 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.005746, allocations: 1.75 kB / 0.522 GB, free: 124 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.005759, allocations: 384 / 0.522 GB, free: 124 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.005763, allocations: 384 / 0.522 GB, free: 124 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001473/0.005911, allocations: 39.86 kB / 0.522 GB, free: 84 kB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000473/0.006384, allocations: 265 kB / 0.5223 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003166/0.0067, allocations: 63.02 kB / 0.5223 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.5e-05/0.006775, allocations: 24.42 kB / 0.5223 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.019e-05/0.006866, allocations: 5.281 kB / 0.5223 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.204e-05/0.006908, allocations: 41.33 kB / 0.5224 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.006909, allocations: 0 / 0.5224 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.00036/0.007269, allocations: 86.88 kB / 0.5225 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.993e-05/0.007319, allocations: 51.41 kB / 0.5225 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001325/0.007451, allocations: 161.9 kB / 0.5227 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/0.00747, allocations: 26.48 kB / 0.5227 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.097e-05/0.007561, allocations: 134.8 kB / 0.5228 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.954e-05/0.00758, allocations: 12.8 kB / 0.5228 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.949e-05/0.00763, allocations: 23.38 kB / 0.5229 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000263/0.007893, allocations: 494.8 kB / 0.5233 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.422e-05/0.007967, allocations: 15.98 kB / 0.5233 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.731e-05/0.008024, allocations: 15.92 kB / 0.5234 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001208/0.008145, allocations: 39.67 kB / 0.5234 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.008147, allocations: 0 / 0.5234 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001695/0.008317, allocations: 62.19 kB / 0.5235 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.008336, allocations: 11.94 kB / 0.5235 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.00834, allocations: 0.5 kB / 0.5235 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.008354, allocations: 0.6562 kB / 0.5235 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.248e-05/0.008426, allocations: 15.98 kB / 0.5235 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.008431, allocations: 2.75 kB / 0.5235 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.709e-05/0.008468, allocations: 0 / 0.5235 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.318e-06/0.008477, allocations: 4 kB / 0.5235 GB, free: 14.43 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 0.0001202/0.008597, allocations: 156.5 kB / 0.5236 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.648e-05/0.008624, allocations: 4 kB / 0.5236 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002283/0.008852, allocations: 80.28 kB / 0.5237 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.008854, allocations: 0 / 0.5237 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.008858, allocations: 0 / 0.5237 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.008861, allocations: 0 / 0.5237 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001755/0.009036, allocations: 124.6 kB / 0.5238 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.009037, allocations: 0 / 0.5238 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.396e-05/0.009101, allocations: 8 kB / 0.5239 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.6e-06/0.009106, allocations: 4.547 kB / 0.5239 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.206e-06/0.009115, allocations: 1.5 kB / 0.5239 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.009118, allocations: 3.938 kB / 0.5239 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.009119, allocations: 0 / 0.5239 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002758/0.009395, allocations: 219.8 kB / 0.5241 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.308e-06/0.009405, allocations: 4.5 kB / 0.5241 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.351e-05/0.009418, allocations: 1.031 kB / 0.5241 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.084e-05/0.009489, allocations: 11.94 kB / 0.5241 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.62e-05/0.009545, allocations: 7.984 kB / 0.5241 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.107e-06/0.009549, allocations: 0.9688 kB / 0.5241 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.976e-05/0.009629, allocations: 131.1 kB / 0.5242 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.009629, allocations: 0.625 kB / 0.5242 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002313/0.00986, allocations: 15.94 kB / 0.5242 GB, free: 13.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 (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.0001815/0.01004, allocations: 98.47 kB / 0.5243 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001981/0.01024, allocations: 47.59 kB / 0.5244 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.01024, allocations: 0 / 0.5244 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 8.749e-05/0.01033, allocations: 27.67 kB / 0.5244 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002369/0.01057, allocations: 11.94 kB / 0.5244 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003582/0.01092, allocations: 124.7 kB / 0.5245 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.995e-05/0.01099, allocations: 59.34 kB / 0.5246 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.855e-05/0.01102, allocations: 4 kB / 0.5246 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.049e-05/0.01106, allocations: 17.58 kB / 0.5246 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of SimCode: time 4.11e-07/0.01106, allocations: 0 / 0.5246 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of Templates: time 0.003907/0.01497, allocations: 0.7464 MB / 0.5253 GB, free: 12.45 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: 6.020764772081748]