Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.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.Functions.Examples.FallingFactorial,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_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.001373/0.001374, allocations: 99.94 kB / 15.05 MB, free: 1.113 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.001702/0.001702, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.356/3.356, allocations: 205.4 MB / 222.1 MB, free: 5.652 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 3.405/3.405, allocations: 292.6 MB / 0.5497 GB, free: 14.61 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.001157/0.001157, allocations: 15.97 kB / 0.6737 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5476/0.5488, allocations: 116.3 MB / 0.7872 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001333/0.5502, allocations: 317.9 kB / 0.7875 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0005007/0.5508, allocations: 53.55 kB / 0.7876 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.478e-05/0.5508, allocations: 0 / 0.7876 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 7.423e-05/0.5509, allocations: 0 / 0.7876 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 1.212e-05/0.5509, allocations: 0 / 0.7876 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004912/0.5515, allocations: 15.98 kB / 0.7876 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000147/0.5516, allocations: 23.97 kB / 0.7876 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.992e-05/0.5517, allocations: 0 / 0.7876 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.918e-05/0.5518, allocations: 15.94 kB / 0.7876 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.389e-05/0.5519, allocations: 11.97 kB / 0.7877 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.351e-05/0.5519, allocations: 4 kB / 0.7877 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001269/0.552, allocations: 15.92 kB / 0.7877 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.036e-05/0.5521, allocations: 12 kB / 0.7877 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.476e-05/0.5522, allocations: 25.7 kB / 0.7877 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001399/0.5523, allocations: 23.95 kB / 0.7877 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/0.5523, allocations: 0 / 0.7877 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.266e-06/0.5524, allocations: 4 kB / 0.7877 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.003e-06/0.5524, allocations: 0 / 0.7877 GB, free: 11.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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006599/0.5531, allocations: 331.5 kB / 0.7881 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 8.804e-05/0.5532, allocations: 12.03 kB / 0.7881 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.115e-05/0.5533, allocations: 38.5 kB / 0.7881 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.21e-05/0.5533, allocations: 4 kB / 0.7881 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002041/0.5536, allocations: 171 kB / 0.7883 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.396e-05/0.5536, allocations: 4 kB / 0.7883 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.122e-05/0.5536, allocations: 0 / 0.7883 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002851/0.5539, allocations: 61.67 kB / 0.7883 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.554, allocations: 4 kB / 0.7883 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.089e-05/0.554, allocations: 4 kB / 0.7883 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/0.554, allocations: 0 / 0.7883 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003194/0.5543, allocations: 107.8 kB / 0.7884 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000347/0.5547, allocations: 177.5 kB / 0.7886 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002166/0.5549, allocations: 70.55 kB / 0.7887 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006363/0.5556, allocations: 405.5 kB / 0.7891 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.428e-05/0.5557, allocations: 34.56 kB / 0.7891 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=11): time 2.224e-06/0.5557, allocations: 0 / 0.7891 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.0004779/0.5562, allocations: 121.8 kB / 0.7892 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.69e-05/0.5563, allocations: 55.34 kB / 0.7893 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.39e-05/0.5564, allocations: 93.86 kB / 0.7894 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.342e-05/0.5564, allocations: 29.7 kB / 0.7894 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.392e-05/0.5565, allocations: 80.33 kB / 0.7895 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 7.249e-05/0.5566, allocations: 23.66 kB / 0.7895 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.754e-06/0.5566, allocations: 0 / 0.7895 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000208/0.5568, allocations: 322.8 kB / 0.7898 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.81e-05/0.5569, allocations: 19.98 kB / 0.7898 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.248e-05/0.557, allocations: 19.98 kB / 0.7898 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000117/0.5571, allocations: 23.98 kB / 0.7899 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.5572, allocations: 0 / 0.7899 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003047/0.5575, allocations: 106.2 kB / 0.79 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.345e-05/0.5575, allocations: 4 kB / 0.79 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.829e-06/0.5575, allocations: 0 / 0.79 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.456e-05/0.5576, allocations: 0 / 0.79 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002234/0.5578, allocations: 23.98 kB / 0.79 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/0.5578, allocations: 0 / 0.79 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.456e-05/0.5579, allocations: 3.906 kB / 0.79 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.943e-05/0.5579, allocations: 4 kB / 0.79 GB, free: 8.727 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: 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 0.0003066/0.5583, allocations: 125.8 kB / 0.7901 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.356e-05/0.5583, allocations: 7.953 kB / 0.7901 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004459/0.5588, allocations: 133.7 kB / 0.7902 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.5588, allocations: 0 / 0.7902 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.206e-06/0.5588, allocations: 0 / 0.7902 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.174e-05/0.5588, allocations: 0 / 0.7902 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002576/0.5591, allocations: 185.5 kB / 0.7904 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.5591, allocations: 0 / 0.7904 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001351/0.5593, allocations: 15.98 kB / 0.7904 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.298e-05/0.5593, allocations: 7.953 kB / 0.7904 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.5593, allocations: 0 / 0.7904 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.5593, allocations: 0 / 0.7904 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.5593, allocations: 0 / 0.7904 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003466/0.5597, allocations: 125.3 kB / 0.7906 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.577e-05/0.5598, allocations: 85.05 kB / 0.7906 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.407e-05/0.5599, allocations: 7.953 kB / 0.7907 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.938e-05/0.5599, allocations: 0 / 0.7907 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.714e-05/0.56, allocations: 7.984 kB / 0.7907 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.128e-05/0.56, allocations: 4 kB / 0.7907 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.247e-05/0.5601, allocations: 79.28 kB / 0.7907 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of sort global known variables: time 3.286e-06/0.5601, allocations: 4 kB / 0.7907 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004125/0.5605, allocations: 15.94 kB / 0.7908 GB, free: 7.832 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: 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.0009725/0.5615, allocations: 0.6709 MB / 0.7914 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002513/0.5618, allocations: 59.91 kB / 0.7915 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.5618, allocations: 4 kB / 0.7915 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001039/0.5619, allocations: 35.92 kB / 0.7915 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001725/0.5621, allocations: 3.953 kB / 0.7915 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007137/0.5629, allocations: 180.4 kB / 0.7917 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004379/0.5633, allocations: 0.6848 MB / 0.7924 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001692/0.5635, allocations: 43.92 kB / 0.7924 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.831e-05/0.5636, allocations: 16.2 kB / 0.7924 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of SimCode: time 8.11e-07/0.5636, allocations: 0 / 0.7924 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02654/0.5902, allocations: 1.33 MB / 0.7937 GB, free: 4.852 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003687/0.5906, allocations: 189.9 kB / 0.7939 GB, free: 4.617 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.045/3.636, allocations: 0 / 0.7939 GB, free: 4.617 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_FallingFactorial_fmu --startTime=0 --stopTime=13.9 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Functions_Examples_FallingFactorial.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) Environment - environmentSimulation: