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.001105/0.001105, 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.0009826/0.0009826, allocations: 165 kB / 23.02 MB, free: 1.551 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.005/1.005, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.8461/0.8461, allocations: 154.8 MB / 414.7 MB, free: 0.4922 MB / 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 2.655e-06/2.655e-06, allocations: 0 / 0.5206 GB, free: 1.887 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.291e-05/3.557e-05, allocations: 2.312 kB / 0.5206 GB, free: 1.883 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Factorial): time 0.002259/0.002295, allocations: 0.6156 MB / 0.5212 GB, free: 1.297 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002868/0.002582, allocations: 43.86 kB / 0.5213 GB, free: 1.254 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.055e-05/0.002602, allocations: 4 kB / 0.5213 GB, free: 1.25 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.149e-05/0.002624, allocations: 0.625 kB / 0.5213 GB, free: 1.25 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.622e-06/0.00263, allocations: 0.875 kB / 0.5213 GB, free: 1.25 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002967/0.002927, allocations: 20.42 kB / 0.5213 GB, free: 1.23 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.087e-05/0.002978, allocations: 0.5312 kB / 0.5213 GB, free: 1.23 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.683e-05/0.003025, allocations: 4.938 kB / 0.5213 GB, free: 1.227 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.176e-05/0.003057, allocations: 0.6562 kB / 0.5213 GB, free: 1.227 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.509e-05/0.003082, allocations: 0 / 0.5213 GB, free: 1.227 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.585e-05/0.003098, allocations: 2.297 kB / 0.5213 GB, free: 1.227 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001023/0.0032, allocations: 15.97 kB / 0.5213 GB, free: 1.211 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.417e-05/0.003214, allocations: 4 kB / 0.5213 GB, free: 1.207 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.133e-05/0.003235, allocations: 3.938 kB / 0.5213 GB, free: 1.203 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001166/0.003352, allocations: 12.8 kB / 0.5213 GB, free: 1.191 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.003355, allocations: 0 / 0.5213 GB, free: 1.191 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.143e-06/0.003356, allocations: 0.5312 kB / 0.5213 GB, free: 1.191 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.003361, allocations: 0 / 0.5213 GB, free: 1.191 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.0003312/0.003692, allocations: 338.4 kB / 0.5216 GB, free: 0.8242 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/0.003739, allocations: 12.03 kB / 0.5217 GB, free: 0.8125 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.906e-05/0.003788, allocations: 0.9375 kB / 0.5217 GB, free: 0.8125 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.462e-05/0.003863, allocations: 104.6 kB / 0.5218 GB, free: 0.6836 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.655e-05/0.003879, allocations: 4.375 kB / 0.5218 GB, free: 0.6797 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.483e-05/0.003894, allocations: 4.938 kB / 0.5218 GB, free: 0.6758 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000115/0.004009, allocations: 34.7 kB / 0.5218 GB, free: 0.6367 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/0.004025, allocations: 4.891 kB / 0.5218 GB, free: 0.6328 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.004036, allocations: 384 / 0.5218 GB, free: 0.6328 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.948e-06/0.004046, allocations: 0.9375 kB / 0.5218 GB, free: 0.6328 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.376e-05/0.00408, allocations: 7.938 kB / 0.5218 GB, free: 0.625 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001524/0.004232, allocations: 110 kB / 0.5219 GB, free: 496 kB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.938e-05/0.004301, allocations: 31.09 kB / 0.522 GB, free: 452 kB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.406e-05/0.004325, allocations: 15.73 kB / 0.522 GB, free: 432 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001829/0.004508, allocations: 8.719 kB / 0.522 GB, free: 424 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.44e-05/0.004543, allocations: 33.39 kB / 0.522 GB, free: 380 kB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 1.723e-06/0.004544, allocations: 0.875 kB / 0.522 GB, free: 380 kB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001925/0.004737, allocations: 48.72 kB / 0.5221 GB, free: 328 kB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.318e-05/0.00478, allocations: 51.41 kB / 0.5221 GB, free: 264 kB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.226e-05/0.004842, allocations: 142.2 kB / 0.5222 GB, free: 108 kB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.386e-05/0.004856, allocations: 25.7 kB / 0.5223 GB, free: 76 kB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.86e-05/0.004915, allocations: 126.9 kB / 0.5224 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.604e-05/0.004941, allocations: 8.281 kB / 0.5224 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.081e-05/0.004982, allocations: 23.38 kB / 0.5224 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001609/0.005143, allocations: 496.1 kB / 0.5229 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.001e-05/0.005163, allocations: 12.48 kB / 0.5229 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.062e-05/0.005173, allocations: 5.156 kB / 0.5229 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.742e-05/0.005221, allocations: 15.69 kB / 0.5229 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.005224, allocations: 0 / 0.5229 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.685e-05/0.0053, allocations: 34.67 kB / 0.523 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.005319, allocations: 8 kB / 0.523 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.005326, allocations: 4.922 kB / 0.523 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/0.005346, allocations: 0 / 0.523 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.424e-05/0.00542, allocations: 4.719 kB / 0.523 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.005428, allocations: 3.984 kB / 0.523 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.639e-05/0.005444, allocations: 8.875 kB / 0.523 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.511e-06/0.00545, allocations: 0 / 0.523 GB, free: 15.31 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 8.344e-05/0.005533, allocations: 165.7 kB / 0.5231 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.047e-05/0.005544, allocations: 0 / 0.5231 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00011/0.005654, allocations: 40.84 kB / 0.5232 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/0.005656, allocations: 0.625 kB / 0.5232 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.00566, allocations: 1.812 kB / 0.5232 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.005664, allocations: 0 / 0.5232 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.651e-05/0.00575, allocations: 120.6 kB / 0.5233 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/0.005752, allocations: 0 / 0.5233 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.042e-05/0.005783, allocations: 3.984 kB / 0.5233 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.005785, allocations: 5.438 kB / 0.5233 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.005791, allocations: 0 / 0.5233 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-06/0.005793, allocations: 0 / 0.5233 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.005795, allocations: 0 / 0.5233 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.692e-05/0.005892, allocations: 80.88 kB / 0.5234 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.472e-06/0.005898, allocations: 7.094 kB / 0.5234 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.145e-05/0.00591, allocations: 0 / 0.5234 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.1e-05/0.005921, allocations: 0 / 0.5234 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.611e-05/0.005957, allocations: 0 / 0.5234 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-06/0.00596, allocations: 4 kB / 0.5234 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.05e-05/0.006001, allocations: 119.2 kB / 0.5235 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1e-07/0.006001, allocations: 0 / 0.5235 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002209/0.006222, allocations: 4 kB / 0.5235 GB, free: 14.7 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.0001866/0.006408, allocations: 110.2 kB / 0.5236 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 9.853e-05/0.006507, allocations: 23.62 kB / 0.5236 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.006509, allocations: 0 / 0.5236 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.397e-05/0.006533, allocations: 15.67 kB / 0.5237 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001544/0.006687, allocations: 0 / 0.5237 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002647/0.006952, allocations: 93.34 kB / 0.5237 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.195e-05/0.006994, allocations: 57.17 kB / 0.5238 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.742e-05/0.007011, allocations: 3.984 kB / 0.5238 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.6e-05/0.007037, allocations: 12.5 kB / 0.5238 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of SimCode: time 6.52e-07/0.007038, allocations: 0 / 0.5238 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of Templates: time 0.002697/0.009735, allocations: 339.9 kB / 0.5241 GB, free: 14.01 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: 4.105350873898715]