Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.FallingFactorial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.FallingFactorial,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.FallingFactorial,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.419/1.419, allocations: 251.9 MB / 266.9 MB, free: 11.06 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001082/0.001082, allocations: 176.6 kB / 326.5 MB, free: 2.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.764/1.764, allocations: 205.4 MB / 0.5775 GB, free: 20.25 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000863/0.000863, allocations: 83.69 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004429/0.0004429, allocations: 11.09 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2925/0.293, allocations: 106.3 MB / 0.9001 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.001604/0.2946, allocations: 1.248 MB / 0.9014 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003035/0.295, allocations: 128.5 kB / 0.9015 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.635e-05/0.295, allocations: 4 kB / 0.9015 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.831e-05/0.295, allocations: 7.922 kB / 0.9015 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.461e-05/0.2951, allocations: 0 / 0.9015 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002496/0.2954, allocations: 27.91 kB / 0.9015 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.76e-05/0.2954, allocations: 19.97 kB / 0.9015 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.268e-05/0.2955, allocations: 11.94 kB / 0.9016 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.617e-05/0.2955, allocations: 15.98 kB / 0.9016 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.593e-05/0.2956, allocations: 15.92 kB / 0.9016 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.346e-05/0.2956, allocations: 0 / 0.9016 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.004e-05/0.2957, allocations: 11.98 kB / 0.9016 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.397e-06/0.2957, allocations: 7.984 kB / 0.9016 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.286e-05/0.2957, allocations: 33.64 kB / 0.9016 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.481e-05/0.2958, allocations: 23.95 kB / 0.9017 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.2958, allocations: 0 / 0.9017 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.823e-06/0.2958, allocations: 0 / 0.9017 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.2958, allocations: 4 kB / 0.9017 GB, free: 62.22 MB / 0.6042 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.0003852/0.2962, allocations: 353.5 kB / 0.902 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.2963, allocations: 8.031 kB / 0.902 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.021e-05/0.2963, allocations: 34.56 kB / 0.902 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.449e-05/0.2963, allocations: 3.906 kB / 0.902 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.078e-05/0.2964, allocations: 167 kB / 0.9022 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.28e-05/0.2964, allocations: 4 kB / 0.9022 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.135e-05/0.2965, allocations: 11.98 kB / 0.9022 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001774/0.2966, allocations: 69.59 kB / 0.9023 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.2967, allocations: 0 / 0.9023 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.2967, allocations: 0 / 0.9023 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.2967, allocations: 4 kB / 0.9023 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001776/0.2969, allocations: 59.89 kB / 0.9023 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003226/0.2972, allocations: 280.7 kB / 0.9026 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003221/0.2975, allocations: 70.48 kB / 0.9027 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002087/0.2978, allocations: 397.7 kB / 0.9031 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.695e-05/0.2978, allocations: 34.56 kB / 0.9031 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.362e-06/0.2978, allocations: 0 / 0.9031 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0003634/0.2982, allocations: 109.6 kB / 0.9032 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.732e-05/0.2982, allocations: 59.34 kB / 0.9033 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.937e-05/0.2983, allocations: 105.8 kB / 0.9034 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.048e-05/0.2983, allocations: 25.7 kB / 0.9034 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.423e-05/0.2983, allocations: 96.03 kB / 0.9035 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.37e-05/0.2983, allocations: 7.844 kB / 0.9035 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.117e-06/0.2983, allocations: 7.938 kB / 0.9035 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.375e-05/0.2984, allocations: 314.8 kB / 0.9038 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.796e-05/0.2985, allocations: 27.97 kB / 0.9038 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.604e-05/0.2986, allocations: 19.98 kB / 0.9038 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.511e-05/0.2987, allocations: 27.98 kB / 0.9039 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.2987, allocations: 0 / 0.9039 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001932/0.2989, allocations: 85.64 kB / 0.9039 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.2989, allocations: 12 kB / 0.904 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.2989, allocations: 0 / 0.904 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.2989, allocations: 0 / 0.904 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.746e-05/0.299, allocations: 11.98 kB / 0.904 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.299, allocations: 7.938 kB / 0.904 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.661e-05/0.2991, allocations: 11.94 kB / 0.904 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-06/0.2991, allocations: 0 / 0.904 GB, free: 59.53 MB / 0.6042 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 6.198e-05/0.2992, allocations: 117.8 kB / 0.9041 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.302e-05/0.2992, allocations: 3.906 kB / 0.9041 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000239/0.2995, allocations: 89.55 kB / 0.9042 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.2995, allocations: 4 kB / 0.9042 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.2995, allocations: 0 / 0.9042 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.2995, allocations: 4.375 kB / 0.9042 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001215/0.2996, allocations: 169.6 kB / 0.9044 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.2996, allocations: 0 / 0.9044 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.833e-05/0.2997, allocations: 19.92 kB / 0.9044 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.2997, allocations: 0 / 0.9044 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.2997, allocations: 7.984 kB / 0.9044 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.2997, allocations: 3.938 kB / 0.9044 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2997, allocations: 0 / 0.9044 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002156/0.3, allocations: 187.5 kB / 0.9046 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.549e-05/0.3, allocations: 85.02 kB / 0.9046 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.456e-05/0.3, allocations: 0 / 0.9046 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.961e-05/0.3001, allocations: 11.98 kB / 0.9047 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.244e-05/0.3002, allocations: 7.984 kB / 0.9047 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-06/0.3002, allocations: 0 / 0.9047 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.596e-05/0.3002, allocations: 87.28 kB / 0.9048 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3002, allocations: 0 / 0.9048 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002166/0.3004, allocations: 8 kB / 0.9048 GB, free: 58.63 MB / 0.6042 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.0004806/0.3009, allocations: 0.7281 MB / 0.9055 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002146/0.3011, allocations: 63.94 kB / 0.9055 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3011, allocations: 0 / 0.9055 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.198e-05/0.3012, allocations: 27.98 kB / 0.9056 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002505/0.3015, allocations: 3.938 kB / 0.9056 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007857/0.3023, allocations: 458.3 kB / 0.906 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000135/0.3024, allocations: 0.6848 MB / 0.9067 GB, free: 56.58 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.223e-05/0.3025, allocations: 4 kB / 0.9067 GB, free: 56.58 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.741e-05/0.3025, allocations: 15.44 kB / 0.9067 GB, free: 56.56 MB / 0.6042 GB Notification: Performance of SimCode: time 7.22e-07/0.3025, allocations: 3.938 kB / 0.9067 GB, free: 56.56 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01114/0.3137, allocations: 1.394 MB / 0.908 GB, free: 55.3 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001285/0.3138, allocations: 191.2 kB / 0.9082 GB, free: 55.06 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.467/1.781, allocations: 0 / 0.9082 GB, free: 55.06 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.FallingFactorial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_FallingFactorial_fmu --startTime=0 --stopTime=11 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_FallingFactorial.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1)