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: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.FallingFactorial,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.FallingFactorial,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009178/0.0009178, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.007376/0.007377, allocations: 169 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.702/1.702, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.714/1.714, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.0006161/0.0006161, allocations: 17.75 kB / 0.6744 GB, free: 25.71 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2622/0.2628, allocations: 116.3 MB / 0.788 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.002143/0.265, allocations: 1.255 MB / 0.7892 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000489/0.2655, allocations: 137.5 kB / 0.7894 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.937e-05/0.2656, allocations: 0 / 0.7894 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.111e-05/0.2656, allocations: 0 / 0.7894 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.841e-05/0.2657, allocations: 7.922 kB / 0.7894 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000303/0.266, allocations: 27.97 kB / 0.7894 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.633e-05/0.2661, allocations: 35.86 kB / 0.7894 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.2662, allocations: 12 kB / 0.7894 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.665e-05/0.2662, allocations: 15.97 kB / 0.7894 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.563e-05/0.2663, allocations: 11.92 kB / 0.7895 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.438e-05/0.2663, allocations: 0 / 0.7895 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.061e-05/0.2664, allocations: 19.98 kB / 0.7895 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.668e-05/0.2664, allocations: 7.938 kB / 0.7895 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.372e-05/0.2665, allocations: 37.64 kB / 0.7895 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001151/0.2666, allocations: 39.86 kB / 0.7896 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.2666, allocations: 4 kB / 0.7896 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.693e-06/0.2666, allocations: 0 / 0.7896 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.2666, allocations: 0 / 0.7896 GB, free: 9.867 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.0004563/0.2671, allocations: 355.7 kB / 0.7899 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.2671, allocations: 8.031 kB / 0.7899 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.306e-05/0.2672, allocations: 30.75 kB / 0.7899 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.588e-05/0.2672, allocations: 8.875 kB / 0.7899 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001177/0.2673, allocations: 176.2 kB / 0.7901 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.232e-05/0.2674, allocations: 4.375 kB / 0.7901 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.05e-05/0.2674, allocations: 384 / 0.7901 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002078/0.2676, allocations: 70.22 kB / 0.7902 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.2676, allocations: 3.938 kB / 0.7902 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.2676, allocations: 0 / 0.7902 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.2676, allocations: 0 / 0.7902 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002016/0.2679, allocations: 59.95 kB / 0.7902 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003985/0.2683, allocations: 284.6 kB / 0.7905 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003374/0.2686, allocations: 70.52 kB / 0.7906 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001053/0.2687, allocations: 36.89 kB / 0.7906 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003065/0.269, allocations: 393.5 kB / 0.791 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.082e-05/0.2691, allocations: 38.56 kB / 0.791 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.362e-06/0.2691, allocations: 0 / 0.791 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0004313/0.2695, allocations: 113.6 kB / 0.7911 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.783e-05/0.2696, allocations: 55.41 kB / 0.7912 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.479e-05/0.2697, allocations: 105.8 kB / 0.7913 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.436e-05/0.2697, allocations: 25.7 kB / 0.7913 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.368e-05/0.2697, allocations: 88.14 kB / 0.7914 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.601e-05/0.2698, allocations: 3.906 kB / 0.7914 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.77e-05/0.2698, allocations: 17.66 kB / 0.7914 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.2699, allocations: 322.8 kB / 0.7917 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.567e-05/0.27, allocations: 27.98 kB / 0.7918 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.752e-05/0.2701, allocations: 27.97 kB / 0.7918 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001791/0.2703, allocations: 52.83 kB / 0.7918 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.2703, allocations: 0 / 0.7918 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002267/0.2705, allocations: 93.48 kB / 0.7919 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.2706, allocations: 4 kB / 0.7919 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.2706, allocations: 0 / 0.7919 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.2706, allocations: 4 kB / 0.7919 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.301e-05/0.2707, allocations: 15.98 kB / 0.7919 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.2707, allocations: 0 / 0.7919 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.979e-05/0.2708, allocations: 11.94 kB / 0.792 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/0.2708, allocations: 4 kB / 0.792 GB, free: 7.078 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 (falFac.y,rea2Int.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 7.668e-05/0.2708, allocations: 113.8 kB / 0.7921 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.31e-05/0.2709, allocations: 8 kB / 0.7921 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002699/0.2712, allocations: 97.48 kB / 0.7922 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.2712, allocations: 4 kB / 0.7922 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.2712, allocations: 0 / 0.7922 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.2712, allocations: 0 / 0.7922 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001581/0.2713, allocations: 169.6 kB / 0.7923 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.2714, allocations: 0 / 0.7923 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.507e-05/0.2714, allocations: 15.98 kB / 0.7924 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.2714, allocations: 0 / 0.7924 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.2715, allocations: 0 / 0.7924 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.2715, allocations: 0 / 0.7924 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2715, allocations: 0 / 0.7924 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002693/0.2717, allocations: 199.7 kB / 0.7925 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.888e-05/0.2718, allocations: 81.09 kB / 0.7926 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.896e-05/0.2718, allocations: 3.984 kB / 0.7926 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.431e-05/0.2719, allocations: 11.98 kB / 0.7926 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.922e-05/0.272, allocations: 15.98 kB / 0.7927 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.272, allocations: 0 / 0.7927 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.798e-05/0.272, allocations: 79.28 kB / 0.7927 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.272, allocations: 4 kB / 0.7927 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000223/0.2722, allocations: 12 kB / 0.7927 GB, free: 6.172 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 (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.0005932/0.2728, allocations: 0.7201 MB / 0.7934 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002336/0.2731, allocations: 59.89 kB / 0.7935 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.2731, allocations: 4 kB / 0.7935 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001038/0.2732, allocations: 27.97 kB / 0.7935 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002811/0.2735, allocations: 8.016 kB / 0.7935 GB, free: 5.328 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001445/0.275, allocations: 1.329 MB / 0.7948 GB, free: 3.926 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002243/0.2752, allocations: 0.6848 MB / 0.7955 GB, free: 3.215 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.506e-05/0.2752, allocations: 4.547 kB / 0.7955 GB, free: 3.211 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.04e-05/0.2753, allocations: 11.42 kB / 0.7955 GB, free: 3.199 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.2753, allocations: 0 / 0.7955 GB, free: 3.199 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01117/0.2865, allocations: 1.412 MB / 0.7969 GB, free: 1.906 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002173/0.2867, allocations: 200.9 kB / 0.7971 GB, free: 1.652 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.66/1.947, allocations: 0 / 0.7971 GB, free: 1.652 MB / 0.6075 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Examples_FallingFactorial_fmu --startTime=0 --stopTime=11 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Examples_FallingFactorial.fmu > Buildings_8_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1)