Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial") translateModel(BuildingSystems.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7307/0.7307, allocations: 140.1 MB / 156 MB, free: 5.148 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009861/0.0009863, allocations: 177.5 kB / 188.5 MB, free: 15.82 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.485/1.485, allocations: 205.4 MB / 426.4 MB, free: 8.359 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007456/0.0007457, allocations: 95.95 kB / 0.4945 GB, free: 8.309 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001595/0.001595, allocations: 270.6 kB / 0.5728 GB, free: 66.2 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000476/0.0004762, allocations: 20 kB / 0.662 GB, free: 6.789 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3571/0.3576, allocations: 79.3 MB / 0.7395 GB, free: 46.34 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1277/0.4853, allocations: 107.5 MB / 0.8445 GB, free: 2.656 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002592/0.4856, allocations: 79.94 kB / 0.8446 GB, free: 2.578 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.003061/0.4887, allocations: 1.049 MB / 0.8456 GB, free: 1.527 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.224e-06/0.4887, allocations: 4 kB / 0.8456 GB, free: 1.523 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.65e-06/0.4887, allocations: 0 / 0.8456 GB, free: 1.523 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003758/0.4891, allocations: 355.4 kB / 0.8459 GB, free: 1.125 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.4892, allocations: 8.031 kB / 0.8459 GB, free: 1.117 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.912e-05/0.4892, allocations: 4.938 kB / 0.8459 GB, free: 1.113 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001137/0.4893, allocations: 164.3 kB / 0.8461 GB, free: 0.9141 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.328e-05/0.4893, allocations: 4.375 kB / 0.8461 GB, free: 0.9102 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.334e-05/0.4894, allocations: 8.312 kB / 0.8461 GB, free: 0.9023 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001886/0.4896, allocations: 70.16 kB / 0.8462 GB, free: 0.8281 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.4896, allocations: 192 / 0.8462 GB, free: 0.8281 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.4896, allocations: 11.94 kB / 0.8462 GB, free: 0.8164 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.4896, allocations: 0 / 0.8462 GB, free: 0.8164 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001859/0.4898, allocations: 55.95 kB / 0.8462 GB, free: 0.7617 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000397/0.4902, allocations: 280.8 kB / 0.8465 GB, free: 448 kB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000283/0.4905, allocations: 58.48 kB / 0.8466 GB, free: 380 kB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001013/0.4906, allocations: 40.89 kB / 0.8466 GB, free: 336 kB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003164/0.4909, allocations: 397.5 kB / 0.847 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.246e-05/0.491, allocations: 38.5 kB / 0.847 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 2.815e-06/0.491, allocations: 3.984 kB / 0.847 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.0003759/0.4914, allocations: 113.5 kB / 0.8471 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.53e-05/0.4914, allocations: 59.34 kB / 0.8472 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.89e-05/0.4915, allocations: 105.8 kB / 0.8473 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.382e-05/0.4915, allocations: 25.7 kB / 0.8473 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.675e-05/0.4916, allocations: 88.14 kB / 0.8474 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.499e-05/0.4916, allocations: 3.906 kB / 0.8474 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.587e-06/0.4916, allocations: 0 / 0.8474 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.4917, allocations: 326.8 kB / 0.8477 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.628e-05/0.4918, allocations: 19.98 kB / 0.8477 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.708e-05/0.4919, allocations: 27.97 kB / 0.8478 GB, free: 15 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002028/0.4921, allocations: 56.83 kB / 0.8478 GB, free: 14.94 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.4921, allocations: 3.938 kB / 0.8478 GB, free: 14.93 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002186/0.4924, allocations: 89.64 kB / 0.8479 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.4924, allocations: 11.94 kB / 0.8479 GB, free: 14.83 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.4924, allocations: 0 / 0.8479 GB, free: 14.83 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.4924, allocations: 0 / 0.8479 GB, free: 14.83 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.162e-05/0.4925, allocations: 11.98 kB / 0.8479 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.4925, allocations: 0 / 0.8479 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.773e-05/0.4926, allocations: 11.91 kB / 0.8479 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.206e-06/0.4926, allocations: 4 kB / 0.8479 GB, free: 14.8 MB / 0.5261 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 (falFac.y,falFac.k) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.092e-05/0.4927, allocations: 121.8 kB / 0.8481 GB, free: 14.67 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.426e-05/0.4927, allocations: 4 kB / 0.8481 GB, free: 14.67 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002503/0.493, allocations: 89.55 kB / 0.8482 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.493, allocations: 8 kB / 0.8482 GB, free: 14.56 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.493, allocations: 0 / 0.8482 GB, free: 14.56 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.493, allocations: 0 / 0.8482 GB, free: 14.56 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000169/0.4932, allocations: 173.5 kB / 0.8483 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.4932, allocations: 3.938 kB / 0.8483 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.422e-05/0.4933, allocations: 11.98 kB / 0.8483 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.4933, allocations: 0 / 0.8483 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.227e-06/0.4933, allocations: 4 kB / 0.8483 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.4933, allocations: 0 / 0.8483 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.4933, allocations: 4 kB / 0.8483 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002525/0.4936, allocations: 183.3 kB / 0.8485 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.641e-05/0.4936, allocations: 81.11 kB / 0.8486 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.355e-05/0.4937, allocations: 432 / 0.8486 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.389e-05/0.4937, allocations: 15.98 kB / 0.8486 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.016e-05/0.4938, allocations: 7.984 kB / 0.8486 GB, free: 14 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.952e-06/0.4938, allocations: 0 / 0.8486 GB, free: 14 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 5.022e-05/0.4939, allocations: 95.52 kB / 0.8487 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.61e-07/0.4939, allocations: 3.938 kB / 0.8487 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002187/0.4941, allocations: 12 kB / 0.8487 GB, free: 13.89 MB / 0.5261 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 (falFac.y,falFac.k) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001704/0.4943, allocations: 119.2 kB / 0.8488 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002213/0.4945, allocations: 59.95 kB / 0.8489 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.4945, allocations: 0 / 0.8489 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 9.614e-05/0.4946, allocations: 35.97 kB / 0.8489 GB, free: 13.67 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002647/0.4949, allocations: 6.516 kB / 0.8489 GB, free: 13.67 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003085/0.4952, allocations: 126.9 kB / 0.8491 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002752/0.4955, allocations: 0.6809 MB / 0.8497 GB, free: 12.81 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.982e-05/0.4956, allocations: 8 kB / 0.8497 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.577e-05/0.4956, allocations: 15.38 kB / 0.8497 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of SimCode: time 2.2e-07/0.4956, allocations: 0 / 0.8497 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of Templates: time 0.00273/0.4983, allocations: 0.6393 MB / 0.8504 GB, free: 12.15 MB / 0.5261 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial.pipe 2>&1)