Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.FallingFactorial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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) 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 Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.FallingFactorial,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.FallingFactorial,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.532/1.532, allocations: 288.4 MB / 303.6 MB, free: 8.059 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001039/0.001039, allocations: 183.5 kB / 372.3 MB, free: 10.12 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.213/1.213, allocations: 205.4 MB / 0.631 GB, free: 9.883 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006711/0.0006711, allocations: 78.39 kB / 0.7444 GB, free: 5.805 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003263/0.0003263, allocations: 16.44 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.146/0.1463, allocations: 115.3 MB / 0.9802 GB, free: 27.24 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.001136/0.1475, allocations: 1.24 MB / 0.9814 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0002525/0.1477, allocations: 124.5 kB / 0.9815 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.829e-05/0.1478, allocations: 0 / 0.9815 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.46e-05/0.1478, allocations: 11.94 kB / 0.9815 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.464e-05/0.1478, allocations: 3.984 kB / 0.9815 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001999/0.1481, allocations: 15.98 kB / 0.9815 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.16e-05/0.1481, allocations: 31.86 kB / 0.9816 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.486e-05/0.1482, allocations: 15.98 kB / 0.9816 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.236e-05/0.1482, allocations: 11.98 kB / 0.9816 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.34e-05/0.1483, allocations: 15.92 kB / 0.9816 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.126e-05/0.1483, allocations: 8 kB / 0.9816 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.257e-05/0.1483, allocations: 11.98 kB / 0.9816 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.01e-05/0.1484, allocations: 11.92 kB / 0.9817 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.467e-05/0.1484, allocations: 41.58 kB / 0.9817 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 6.596e-05/0.1485, allocations: 31.94 kB / 0.9817 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1485, allocations: 0 / 0.9817 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.603e-06/0.1485, allocations: 0 / 0.9817 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.357e-06/0.1485, allocations: 0 / 0.9817 GB, free: 25.64 MB / 0.6198 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.0003357/0.1488, allocations: 351.7 kB / 0.9821 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/0.1489, allocations: 8.031 kB / 0.9821 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.298e-05/0.1489, allocations: 38.75 kB / 0.9821 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.965e-05/0.1489, allocations: 0.9375 kB / 0.9821 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.818e-05/0.149, allocations: 168.3 kB / 0.9823 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.149, allocations: 384 / 0.9823 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.162e-05/0.149, allocations: 8.375 kB / 0.9823 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001629/0.1492, allocations: 67.09 kB / 0.9823 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.1492, allocations: 7.875 kB / 0.9823 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.196e-06/0.1492, allocations: 4 kB / 0.9823 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.1492, allocations: 4 kB / 0.9823 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001687/0.1494, allocations: 47.95 kB / 0.9824 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000267/0.1497, allocations: 296.6 kB / 0.9827 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000276/0.15, allocations: 62.47 kB / 0.9827 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.862e-05/0.1501, allocations: 36.89 kB / 0.9828 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001456/0.1502, allocations: 401.5 kB / 0.9832 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.267e-06/0.1502, allocations: 30.56 kB / 0.9832 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.1502, allocations: 0 / 0.9832 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0003242/0.1506, allocations: 113.6 kB / 0.9833 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.485e-05/0.1506, allocations: 55.41 kB / 0.9833 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.527e-05/0.1506, allocations: 113.8 kB / 0.9835 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.943e-06/0.1506, allocations: 25.7 kB / 0.9835 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.104e-05/0.1507, allocations: 92.08 kB / 0.9836 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.498e-06/0.1507, allocations: 3.906 kB / 0.9836 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.256e-06/0.1507, allocations: 4 kB / 0.9836 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.42e-05/0.1507, allocations: 326.8 kB / 0.9839 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.905e-05/0.1508, allocations: 15.98 kB / 0.9839 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.289e-05/0.1509, allocations: 23.98 kB / 0.9839 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001519/0.1511, allocations: 60.81 kB / 0.984 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.1511, allocations: 0 / 0.984 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001833/0.1513, allocations: 93.56 kB / 0.9841 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.927e-06/0.1513, allocations: 4 kB / 0.9841 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.1513, allocations: 3.984 kB / 0.9841 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.1513, allocations: 0 / 0.9841 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.169e-05/0.1514, allocations: 15.94 kB / 0.9841 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.1514, allocations: 3.984 kB / 0.9841 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.27e-05/0.1514, allocations: 8 kB / 0.9841 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.58e-06/0.1515, allocations: 4 kB / 0.9841 GB, free: 22.88 MB / 0.6198 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 4.227e-05/0.1515, allocations: 115.1 kB / 0.9842 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.213e-05/0.1515, allocations: 7.984 kB / 0.9842 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002118/0.1517, allocations: 97.55 kB / 0.9843 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.1518, allocations: 0 / 0.9843 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.1518, allocations: 0 / 0.9843 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-06/0.1518, allocations: 0 / 0.9843 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.79e-05/0.1519, allocations: 169.6 kB / 0.9845 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.1519, allocations: 0 / 0.9845 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.877e-05/0.1519, allocations: 19.92 kB / 0.9845 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.152, allocations: 4 kB / 0.9845 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.091e-06/0.152, allocations: 0 / 0.9845 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.152, allocations: 4 kB / 0.9845 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.152, allocations: 0 / 0.9845 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001946/0.1522, allocations: 187.3 kB / 0.9847 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.465e-05/0.1522, allocations: 81.05 kB / 0.9848 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.098e-05/0.1522, allocations: 4 kB / 0.9848 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.75e-05/0.1523, allocations: 15.92 kB / 0.9848 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.783e-05/0.1523, allocations: 4.422 kB / 0.9848 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.498e-06/0.1524, allocations: 4 kB / 0.9848 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.073e-05/0.1524, allocations: 91.2 kB / 0.9849 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1524, allocations: 0 / 0.9849 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001952/0.1526, allocations: 12 kB / 0.9849 GB, free: 21.98 MB / 0.6198 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.0003411/0.1529, allocations: 0.7318 MB / 0.9856 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001854/0.1531, allocations: 55.95 kB / 0.9857 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1531, allocations: 0 / 0.9857 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.571e-05/0.1532, allocations: 35.91 kB / 0.9857 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002193/0.1535, allocations: 8 kB / 0.9857 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006274/0.1541, allocations: 458.4 kB / 0.9861 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.502e-05/0.1542, allocations: 0.677 MB / 0.9868 GB, free: 19.92 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.64e-05/0.1542, allocations: 4 kB / 0.9868 GB, free: 19.92 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.999e-05/0.1542, allocations: 23.42 kB / 0.9868 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of SimCode: time 2.1e-07/0.1542, allocations: 0 / 0.9868 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.976/2.13, allocations: 1.391 MB / 0.9882 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001552/2.13, allocations: 193.1 kB / 0.9884 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.709/3.839, allocations: 3.938 kB / 0.9884 GB, free: 18.4 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.FallingFactorial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_FallingFactorial_fmu --startTime=0 --stopTime=11 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_FallingFactorial.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1)