Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.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.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.725/0.725, allocations: 140.1 MB / 156 MB, free: 5.168 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.001019/0.001019, allocations: 178.5 kB / 188.5 MB, free: 15.83 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.377/1.377, allocations: 205.4 MB / 426.3 MB, free: 8.461 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.0008162/0.0008162, allocations: 94.3 kB / 0.4945 GB, free: 8.398 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001617/0.001617, allocations: 277.8 kB / 0.5729 GB, free: 66.21 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007822/0.0007822, allocations: 20 kB / 0.662 GB, free: 6.797 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3809/0.3817, allocations: 79.31 MB / 0.7395 GB, free: 46.34 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1199/0.5016, allocations: 106.5 MB / 0.8435 GB, free: 3.727 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002164/0.5018, allocations: 75.95 kB / 0.8435 GB, free: 3.652 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.001858/0.5037, allocations: 0.8267 MB / 0.8443 GB, free: 2.824 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.464e-06/0.5037, allocations: 0 / 0.8443 GB, free: 2.824 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.5037, allocations: 0 / 0.8443 GB, free: 2.824 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0002867/0.504, allocations: 339.5 kB / 0.8447 GB, free: 2.441 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.5041, allocations: 12.03 kB / 0.8447 GB, free: 2.43 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.816e-05/0.5041, allocations: 8.844 kB / 0.8447 GB, free: 2.422 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.974e-05/0.5042, allocations: 160.4 kB / 0.8448 GB, free: 2.227 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.5042, allocations: 384 / 0.8448 GB, free: 2.227 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.009e-05/0.5043, allocations: 4.375 kB / 0.8448 GB, free: 2.223 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001254/0.5044, allocations: 66.16 kB / 0.8449 GB, free: 2.152 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.5044, allocations: 192 / 0.8449 GB, free: 2.152 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.5044, allocations: 11.92 kB / 0.8449 GB, free: 2.141 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.5044, allocations: 4 kB / 0.8449 GB, free: 2.137 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000133/0.5046, allocations: 99.81 kB / 0.845 GB, free: 2.039 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000174/0.5047, allocations: 177.7 kB / 0.8452 GB, free: 1.816 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001046/0.5049, allocations: 66.55 kB / 0.8452 GB, free: 1.742 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.645e-05/0.5049, allocations: 32.78 kB / 0.8453 GB, free: 1.707 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003055/0.5052, allocations: 405.5 kB / 0.8457 GB, free: 1.219 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.242e-05/0.5053, allocations: 30.56 kB / 0.8457 GB, free: 1.18 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=11): time 1.172e-06/0.5053, allocations: 0 / 0.8457 GB, free: 1.18 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11): time 0.0002369/0.5055, allocations: 121.8 kB / 0.8458 GB, free: 1.055 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.778e-05/0.5056, allocations: 55.41 kB / 0.8459 GB, free: 0.9883 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.878e-05/0.5056, allocations: 93.86 kB / 0.846 GB, free: 0.8867 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/0.5056, allocations: 25.7 kB / 0.846 GB, free: 0.8555 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.557e-05/0.5057, allocations: 84.14 kB / 0.8461 GB, free: 0.7695 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.458e-05/0.5057, allocations: 27.62 kB / 0.8461 GB, free: 0.7422 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.21e-06/0.5057, allocations: 4 kB / 0.8461 GB, free: 0.7383 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.5058, allocations: 318.8 kB / 0.8464 GB, free: 428 kB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.564e-05/0.5059, allocations: 19.92 kB / 0.8464 GB, free: 408 kB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.119e-05/0.5059, allocations: 27.98 kB / 0.8464 GB, free: 380 kB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.991e-05/0.506, allocations: 61.42 kB / 0.8465 GB, free: 316 kB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.506, allocations: 0 / 0.8465 GB, free: 316 kB / 0.5105 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000124/0.5062, allocations: 89.61 kB / 0.8466 GB, free: 220 kB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.5062, allocations: 5.25 kB / 0.8466 GB, free: 216 kB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.268e-06/0.5062, allocations: 7.938 kB / 0.8466 GB, free: 208 kB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.5062, allocations: 4 kB / 0.8466 GB, free: 204 kB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.524e-05/0.5063, allocations: 23.92 kB / 0.8466 GB, free: 180 kB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.563e-06/0.5063, allocations: 0 / 0.8466 GB, free: 180 kB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.971e-05/0.5064, allocations: 7.906 kB / 0.8466 GB, free: 172 kB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-06/0.5064, allocations: 8 kB / 0.8466 GB, free: 164 kB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 (falFac[1],falFac[2],falFac[3],falFac[4],falFac[5],falFac[6],falFac[7],falFac[8],falFac[9],falFac[10],n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.415e-05/0.5065, allocations: 117.8 kB / 0.8467 GB, free: 36 kB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.195e-06/0.5065, allocations: 4 kB / 0.8468 GB, free: 32 kB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002257/0.5067, allocations: 129.4 kB / 0.8469 GB, free: 15.9 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.5067, allocations: 0 / 0.8469 GB, free: 15.9 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.5067, allocations: 8 kB / 0.8469 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.5068, allocations: 0 / 0.8469 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001312/0.5069, allocations: 169.6 kB / 0.847 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.5069, allocations: 0 / 0.847 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.485e-05/0.507, allocations: 19.98 kB / 0.8471 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.089e-06/0.507, allocations: 3.938 kB / 0.8471 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.677e-06/0.507, allocations: 7.938 kB / 0.8471 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.796e-05/0.507, allocations: 4 kB / 0.8471 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.507, allocations: 0 / 0.8471 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000142/0.5072, allocations: 121 kB / 0.8472 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.711e-05/0.5072, allocations: 84.95 kB / 0.8473 GB, free: 15.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.557e-05/0.5072, allocations: 4 kB / 0.8473 GB, free: 15.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.619e-05/0.5073, allocations: 7.938 kB / 0.8473 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.583e-05/0.5073, allocations: 7.984 kB / 0.8473 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.442e-06/0.5073, allocations: 4 kB / 0.8473 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.478e-05/0.5074, allocations: 75.28 kB / 0.8474 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5074, allocations: 0 / 0.8474 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001886/0.5076, allocations: 19.94 kB / 0.8474 GB, free: 15.29 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: 11 (falFac[1],falFac[2],falFac[3],falFac[4],falFac[5],falFac[6],falFac[7],falFac[8],falFac[9],falFac[10],n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0002049/0.5078, allocations: 123.2 kB / 0.8475 GB, free: 15.15 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001376/0.5079, allocations: 59.84 kB / 0.8476 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.5079, allocations: 0 / 0.8476 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 4.841e-05/0.508, allocations: 35.97 kB / 0.8476 GB, free: 15.06 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001286/0.5081, allocations: 7.938 kB / 0.8476 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002725/0.5084, allocations: 143.5 kB / 0.8477 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002581/0.5087, allocations: 0.7 MB / 0.8484 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 7.452e-05/0.5087, allocations: 35.94 kB / 0.8485 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.258e-05/0.5088, allocations: 15.42 kB / 0.8485 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of SimCode: time 2.3e-07/0.5088, allocations: 0 / 0.8485 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of Templates: time 0.002266/0.5111, allocations: 0.5768 MB / 0.849 GB, free: 13.54 MB / 0.5261 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1)