Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.conf.json 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/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001164/0.001164, allocations: 183 kB / 15.76 MB, free: 6.359 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.51/0.51, allocations: 91.98 MB / 108.5 MB, free: 13.07 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.638/1.638, allocations: 223.2 MB / 354.3 MB, free: 12.14 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001106/0.001105, allocations: 88.3 kB / 427.4 MB, free: 3.91 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003939/0.0003936, allocations: 12 kB / 0.4983 GB, free: 42.16 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1862/0.1866, allocations: 72.31 MB / 0.5689 GB, free: 1.781 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5621/0.7487, allocations: 100.8 MB / 0.6674 GB, free: 3.504 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002769/0.7491, allocations: 71.95 kB / 0.6675 GB, free: 3.434 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002035/0.7511, allocations: 0.8355 MB / 0.6683 GB, free: 2.609 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.066e-06/0.7511, allocations: 3.984 kB / 0.6683 GB, free: 2.605 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.692e-06/0.7511, allocations: 4 kB / 0.6683 GB, free: 2.602 MB / 458.7 MB 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.0003378/0.7515, allocations: 338.5 kB / 0.6686 GB, free: 2.227 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/0.7515, allocations: 8.031 kB / 0.6686 GB, free: 2.219 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.804e-05/0.7516, allocations: 38.56 kB / 0.6687 GB, free: 2.172 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.464e-05/0.7516, allocations: 3.953 kB / 0.6687 GB, free: 2.168 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001072/0.7517, allocations: 167.1 kB / 0.6688 GB, free: 1.965 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.7518, allocations: 2.75 kB / 0.6688 GB, free: 1.965 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.508e-05/0.7518, allocations: 11.98 kB / 0.6688 GB, free: 1.953 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001507/0.7519, allocations: 65.55 kB / 0.6689 GB, free: 1.883 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.752, allocations: 0 / 0.6689 GB, free: 1.883 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.752, allocations: 0 / 0.6689 GB, free: 1.883 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.752, allocations: 4 kB / 0.6689 GB, free: 1.879 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001504/0.7521, allocations: 103.8 kB / 0.669 GB, free: 1.777 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002/0.7523, allocations: 169.6 kB / 0.6692 GB, free: 1.562 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000113/0.7525, allocations: 78.53 kB / 0.6692 GB, free: 1.477 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003672/0.7528, allocations: 401.5 kB / 0.6696 GB, free: 0.9922 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.287e-05/0.7529, allocations: 38.5 kB / 0.6697 GB, free: 0.9453 MB / 458.7 MB Notification: Performance of pre-optimization done (n=11): time 1.182e-06/0.7529, allocations: 336 / 0.6697 GB, free: 0.9453 MB / 458.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002563/0.7532, allocations: 112.1 kB / 0.6698 GB, free: 0.832 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.128e-05/0.7532, allocations: 59.39 kB / 0.6698 GB, free: 0.7617 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.671e-05/0.7533, allocations: 89 kB / 0.6699 GB, free: 0.668 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.9e-05/0.7533, allocations: 25.7 kB / 0.6699 GB, free: 0.6367 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.844e-05/0.7533, allocations: 84.33 kB / 0.67 GB, free: 0.5469 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.687e-05/0.7534, allocations: 23.66 kB / 0.67 GB, free: 0.5234 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.178e-06/0.7534, allocations: 0 / 0.67 GB, free: 0.5234 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.7535, allocations: 326.8 kB / 0.6704 GB, free: 200 kB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.725e-05/0.7536, allocations: 19.98 kB / 0.6704 GB, free: 180 kB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.225e-05/0.7536, allocations: 19.98 kB / 0.6704 GB, free: 160 kB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.027e-05/0.7537, allocations: 16 kB / 0.6704 GB, free: 144 kB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.7537, allocations: 7.875 kB / 0.6704 GB, free: 136 kB / 458.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001399/0.7538, allocations: 106.2 kB / 0.6705 GB, free: 24 kB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.7539, allocations: 5.406 kB / 0.6705 GB, free: 20 kB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.7539, allocations: 0 / 0.6705 GB, free: 20 kB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/0.7539, allocations: 4 kB / 0.6705 GB, free: 16 kB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001166/0.754, allocations: 15.98 kB / 0.6705 GB, free: 0 / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.501e-05/0.7541, allocations: 4.828 kB / 0.6705 GB, free: 15.99 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.873e-05/0.7541, allocations: 0 / 0.6705 GB, free: 15.99 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.26e-05/0.7541, allocations: 8 kB / 0.6706 GB, free: 15.98 MB / 474.7 MB 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.0001285/0.7542, allocations: 130.8 kB / 0.6707 GB, free: 15.85 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.737e-06/0.7542, allocations: 4 kB / 0.6707 GB, free: 15.85 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002517/0.7545, allocations: 122.2 kB / 0.6708 GB, free: 15.72 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.7545, allocations: 4 kB / 0.6708 GB, free: 15.71 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.7545, allocations: 0 / 0.6708 GB, free: 15.71 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.7545, allocations: 0 / 0.6708 GB, free: 15.71 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001669/0.7547, allocations: 177.5 kB / 0.671 GB, free: 15.49 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.7547, allocations: 0 / 0.671 GB, free: 15.49 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.057e-05/0.7548, allocations: 23.92 kB / 0.671 GB, free: 15.47 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.7548, allocations: 4 kB / 0.671 GB, free: 15.46 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.313e-05/0.7548, allocations: 3.938 kB / 0.671 GB, free: 15.46 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.7548, allocations: 7.938 kB / 0.671 GB, free: 15.46 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.7549, allocations: 0 / 0.671 GB, free: 15.46 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001625/0.755, allocations: 118.3 kB / 0.6711 GB, free: 15.32 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.913e-05/0.7551, allocations: 85.02 kB / 0.6712 GB, free: 15.22 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.745e-05/0.7551, allocations: 4 kB / 0.6712 GB, free: 15.22 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.67e-05/0.7551, allocations: 0 / 0.6712 GB, free: 15.22 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.877e-05/0.7552, allocations: 15.92 kB / 0.6712 GB, free: 15.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.959e-06/0.7552, allocations: 8 kB / 0.6712 GB, free: 15.2 MB / 474.7 MB Notification: Performance of sorting global known variables: time 4.192e-05/0.7552, allocations: 75.28 kB / 0.6713 GB, free: 15.12 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7552, allocations: 0 / 0.6713 GB, free: 15.12 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002118/0.7555, allocations: 15.94 kB / 0.6713 GB, free: 15.11 MB / 474.7 MB 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.0005909/0.7561, allocations: 0.6865 MB / 0.672 GB, free: 14.39 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.000146/0.7562, allocations: 59.91 kB / 0.672 GB, free: 14.33 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.7562, allocations: 0 / 0.672 GB, free: 14.33 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 4.821e-05/0.7563, allocations: 31.98 kB / 0.6721 GB, free: 14.3 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001037/0.7564, allocations: 4 kB / 0.6721 GB, free: 14.3 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000445/0.7568, allocations: 196.7 kB / 0.6723 GB, free: 14.06 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003142/0.7572, allocations: 0.6809 MB / 0.6729 GB, free: 13.36 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 9.133e-05/0.7573, allocations: 43.86 kB / 0.673 GB, free: 13.31 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.277e-05/0.7573, allocations: 15.44 kB / 0.673 GB, free: 13.3 MB / 474.7 MB Notification: Performance of SimCode: time 2.4e-07/0.7573, allocations: 4 kB / 0.673 GB, free: 13.3 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01297/0.7703, allocations: 1.311 MB / 0.6743 GB, free: 12.12 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001974/0.7706, allocations: 185.2 kB / 0.6745 GB, free: 11.88 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.537/2.308, allocations: 3.938 kB / 0.6745 GB, free: 11.87 MB / 474.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_FallingFactorial_fmu --startTime=0 --stopTime=13.9 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_FallingFactorial.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1)