Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.FallingFactorial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.FallingFactorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001191/0.001191, allocations: 91.69 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001421/0.001421, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.656/1.656, allocations: 205.4 MB / 222.1 MB, free: 5.746 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.88/1.88, allocations: 292.7 MB / 0.5499 GB, free: 14.58 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005223/0.0005224, allocations: 14.97 kB / 0.6737 GB, free: 26.31 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2439/0.2445, allocations: 116.3 MB / 0.7873 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.001924/0.2464, allocations: 1.236 MB / 0.7885 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003947/0.2468, allocations: 129.6 kB / 0.7886 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.079e-05/0.2469, allocations: 4 kB / 0.7886 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.003e-05/0.2469, allocations: 3.938 kB / 0.7886 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.849e-05/0.247, allocations: 7.984 kB / 0.7886 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002828/0.2473, allocations: 23.98 kB / 0.7886 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.628e-05/0.2474, allocations: 31.86 kB / 0.7887 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.2475, allocations: 15.92 kB / 0.7887 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.369e-05/0.2475, allocations: 11.97 kB / 0.7887 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.363e-05/0.2476, allocations: 15.88 kB / 0.7887 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.429e-05/0.2476, allocations: 4 kB / 0.7887 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.786e-05/0.2477, allocations: 15.98 kB / 0.7887 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.073e-05/0.2477, allocations: 7.984 kB / 0.7887 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.672e-05/0.2477, allocations: 37.64 kB / 0.7888 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.896e-05/0.2478, allocations: 27.94 kB / 0.7888 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.2478, allocations: 0 / 0.7888 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.282e-06/0.2478, allocations: 0 / 0.7888 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.667e-06/0.2478, allocations: 0 / 0.7888 GB, free: 10.35 MB / 0.6075 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.0004361/0.2483, allocations: 347.5 kB / 0.7891 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.2483, allocations: 12.03 kB / 0.7891 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.908e-05/0.2484, allocations: 4 kB / 0.7891 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001168/0.2485, allocations: 170.9 kB / 0.7893 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.474e-05/0.2485, allocations: 4 kB / 0.7893 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.29e-05/0.2485, allocations: 4 kB / 0.7893 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001971/0.2487, allocations: 65.67 kB / 0.7894 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.2488, allocations: 7.922 kB / 0.7894 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.2488, allocations: 4 kB / 0.7894 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.2488, allocations: 4 kB / 0.7894 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001752/0.249, allocations: 51.95 kB / 0.7894 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003918/0.2494, allocations: 280.8 kB / 0.7897 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000309/0.2497, allocations: 66.47 kB / 0.7898 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.067e-05/0.2498, allocations: 28.91 kB / 0.7898 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002716/0.2501, allocations: 401.5 kB / 0.7902 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.559e-05/0.2501, allocations: 34.55 kB / 0.7902 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.433e-06/0.2501, allocations: 0 / 0.7902 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0004052/0.2505, allocations: 117.7 kB / 0.7903 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.487e-05/0.2506, allocations: 55.34 kB / 0.7904 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.046e-05/0.2507, allocations: 117.9 kB / 0.7905 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.489e-05/0.2507, allocations: 29.64 kB / 0.7905 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.664e-05/0.2508, allocations: 88.12 kB / 0.7906 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.767e-05/0.2508, allocations: 7.906 kB / 0.7906 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.038e-06/0.2508, allocations: 0 / 0.7906 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001216/0.2509, allocations: 314.8 kB / 0.7909 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.762e-05/0.251, allocations: 31.97 kB / 0.7909 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.435e-05/0.2511, allocations: 19.98 kB / 0.791 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.221e-05/0.2512, allocations: 27.98 kB / 0.791 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2512, allocations: 0 / 0.791 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002184/0.2514, allocations: 89.55 kB / 0.7911 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.2515, allocations: 6.812 kB / 0.7911 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.2515, allocations: 0 / 0.7911 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.2515, allocations: 0 / 0.7911 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.755e-05/0.2516, allocations: 23.92 kB / 0.7911 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.2516, allocations: 0 / 0.7911 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.588e-05/0.2516, allocations: 8 kB / 0.7911 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.2517, allocations: 7.891 kB / 0.7911 GB, free: 7.66 MB / 0.6075 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,falFac.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.489e-05/0.2518, allocations: 118.5 kB / 0.7912 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.249e-05/0.2518, allocations: 0 / 0.7912 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002548/0.252, allocations: 93.86 kB / 0.7913 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.2521, allocations: 0 / 0.7913 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.2521, allocations: 0 / 0.7913 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.2521, allocations: 0 / 0.7913 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001573/0.2522, allocations: 169.6 kB / 0.7915 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.2522, allocations: 0 / 0.7915 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.08e-05/0.2523, allocations: 19.98 kB / 0.7915 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.2523, allocations: 0 / 0.7915 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.653e-06/0.2523, allocations: 0 / 0.7915 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.2523, allocations: 0 / 0.7915 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.2524, allocations: 3.938 kB / 0.7915 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002443/0.2526, allocations: 195.4 kB / 0.7917 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.215e-05/0.2526, allocations: 77.11 kB / 0.7918 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.277e-05/0.2527, allocations: 3.938 kB / 0.7918 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.192e-05/0.2528, allocations: 11.98 kB / 0.7918 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.014e-05/0.2528, allocations: 7.984 kB / 0.7918 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-06/0.2528, allocations: 0 / 0.7918 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.744e-05/0.2529, allocations: 91.27 kB / 0.7919 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2529, allocations: 4 kB / 0.7919 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002368/0.2531, allocations: 11.94 kB / 0.7919 GB, free: 6.762 MB / 0.6075 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 (rea2Int.y,falFac.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 (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.0001439/0.2533, allocations: 107.2 kB / 0.792 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002244/0.2535, allocations: 56.17 kB / 0.7921 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2535, allocations: 4 kB / 0.7921 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.265e-05/0.2536, allocations: 24.08 kB / 0.7921 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002775/0.2539, allocations: 19.03 kB / 0.7921 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002765/0.2542, allocations: 128.7 kB / 0.7922 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002488/0.2544, allocations: 0.6848 MB / 0.7929 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.351e-05/0.2545, allocations: 4 kB / 0.7929 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.407e-05/0.2545, allocations: 7.438 kB / 0.7929 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.2545, allocations: 0 / 0.7929 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of Templates: time 0.002795/0.2573, allocations: 0.6443 MB / 0.7935 GB, free: 5.035 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.FallingFactorial.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.FallingFactorial.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) Environment - environmentSimulation: