Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 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: translateModel(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001528/0.001528, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001816/0.001817, allocations: 192.3 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 222.9 MB / 240.2 MB, free: 4.258 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.848/2.848, allocations: 472.6 MB / 0.7451 GB, free: 4.637 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 66.17 kB / 0.912 GB, free: 33.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3057/0.307, allocations: 159.9 MB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001767/0.3089, allocations: 0.5777 MB / 1.069 GB, free: 9.789 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0002667/0.3091, allocations: 63.72 kB / 1.069 GB, free: 9.727 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.892e-05/0.3092, allocations: 0 / 1.069 GB, free: 9.727 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.984e-05/0.3092, allocations: 3.938 kB / 1.069 GB, free: 9.723 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.721e-06/0.3092, allocations: 4 kB / 1.069 GB, free: 9.719 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002749/0.3095, allocations: 15.98 kB / 1.069 GB, free: 9.703 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.221e-05/0.3096, allocations: 31.95 kB / 1.069 GB, free: 9.672 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.941e-05/0.3097, allocations: 8 kB / 1.069 GB, free: 9.664 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.879e-05/0.3097, allocations: 4 kB / 1.069 GB, free: 9.66 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.268e-05/0.3097, allocations: 19.97 kB / 1.069 GB, free: 9.641 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.34e-05/0.3097, allocations: 0 / 1.069 GB, free: 9.641 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.9e-05/0.3098, allocations: 12 kB / 1.069 GB, free: 9.629 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.271e-05/0.3099, allocations: 15.92 kB / 1.069 GB, free: 9.613 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.708e-05/0.3099, allocations: 15.92 kB / 1.069 GB, free: 9.598 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.865e-05/0.31, allocations: 39.89 kB / 1.069 GB, free: 9.559 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.31, allocations: 0 / 1.069 GB, free: 9.559 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.627e-06/0.31, allocations: 0 / 1.069 GB, free: 9.559 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.514e-06/0.31, allocations: 3.938 kB / 1.069 GB, free: 9.555 MB / 0.8262 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.0004314/0.3105, allocations: 335.6 kB / 1.069 GB, free: 9.176 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.3105, allocations: 8.031 kB / 1.069 GB, free: 9.168 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.291e-05/0.3106, allocations: 8.844 kB / 1.069 GB, free: 9.16 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.544e-05/0.3107, allocations: 164.6 kB / 1.069 GB, free: 8.961 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.3107, allocations: 4.375 kB / 1.069 GB, free: 8.957 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.234e-05/0.3107, allocations: 4.375 kB / 1.069 GB, free: 8.953 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001433/0.3108, allocations: 70.22 kB / 1.07 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.3109, allocations: 192 / 1.07 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.3109, allocations: 3.938 kB / 1.07 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.79e-06/0.3109, allocations: 0 / 1.07 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001387/0.311, allocations: 107.8 kB / 1.07 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002466/0.3113, allocations: 169.7 kB / 1.07 GB, free: 8.555 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001876/0.3115, allocations: 70.55 kB / 1.07 GB, free: 8.477 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.489e-05/0.3115, allocations: 28.84 kB / 1.07 GB, free: 8.445 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003704/0.3119, allocations: 409.5 kB / 1.07 GB, free: 7.953 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.319e-05/0.3119, allocations: 30.56 kB / 1.07 GB, free: 7.914 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=11): time 1.192e-06/0.3119, allocations: 0 / 1.07 GB, free: 7.914 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11): time 0.0002326/0.3122, allocations: 125.7 kB / 1.07 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.174e-05/0.3122, allocations: 55.41 kB / 1.07 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.955e-05/0.3123, allocations: 93.84 kB / 1.071 GB, free: 7.617 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/0.3123, allocations: 29.7 kB / 1.071 GB, free: 7.582 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 2.983e-05/0.3123, allocations: 80.14 kB / 1.071 GB, free: 7.5 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.851e-05/0.3124, allocations: 35.58 kB / 1.071 GB, free: 7.465 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.243e-05/0.3124, allocations: 29.7 kB / 1.071 GB, free: 7.43 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.3125, allocations: 314.8 kB / 1.071 GB, free: 7.113 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.935e-05/0.3126, allocations: 19.98 kB / 1.071 GB, free: 7.094 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.085e-05/0.3126, allocations: 19.98 kB / 1.071 GB, free: 7.074 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.189e-05/0.3127, allocations: 61.48 kB / 1.071 GB, free: 7.012 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.3127, allocations: 0 / 1.071 GB, free: 7.012 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001349/0.3129, allocations: 101.5 kB / 1.071 GB, free: 6.906 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.3129, allocations: 8 kB / 1.071 GB, free: 6.898 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.3129, allocations: 7.938 kB / 1.071 GB, free: 6.891 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.3129, allocations: 0 / 1.071 GB, free: 6.891 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.698e-05/0.313, allocations: 19.98 kB / 1.071 GB, free: 6.871 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.313, allocations: 0 / 1.071 GB, free: 6.871 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.024e-05/0.313, allocations: 3.906 kB / 1.071 GB, free: 6.867 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.69e-05/0.3131, allocations: 8 kB / 1.071 GB, free: 6.859 MB / 0.8262 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 (n,falFac[10],falFac[9],falFac[8],falFac[7],falFac[6],falFac[5],falFac[4],falFac[3],falFac[2],falFac[1]) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000132/0.3132, allocations: 126.3 kB / 1.071 GB, free: 6.727 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.156e-05/0.3132, allocations: 4 kB / 1.071 GB, free: 6.723 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002239/0.3134, allocations: 125.4 kB / 1.072 GB, free: 6.59 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.3135, allocations: 4 kB / 1.072 GB, free: 6.586 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.3135, allocations: 0 / 1.072 GB, free: 6.586 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.3135, allocations: 3.984 kB / 1.072 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000195/0.3137, allocations: 173.6 kB / 1.072 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3137, allocations: 0 / 1.072 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.677e-05/0.3138, allocations: 23.92 kB / 1.072 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.3138, allocations: 7.938 kB / 1.072 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.353e-06/0.3138, allocations: 4 kB / 1.072 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.3138, allocations: 0 / 1.072 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3138, allocations: 0 / 1.072 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001515/0.3139, allocations: 121 kB / 1.072 GB, free: 6.191 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.813e-05/0.314, allocations: 88.95 kB / 1.072 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.388e-05/0.314, allocations: 0 / 1.072 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.47e-05/0.314, allocations: 0 / 1.072 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.175e-05/0.3141, allocations: 15.98 kB / 1.072 GB, free: 6.07 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.029e-06/0.3141, allocations: 4 kB / 1.072 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.559e-05/0.3141, allocations: 77.45 kB / 1.072 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3141, allocations: 0 / 1.072 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002207/0.3144, allocations: 12 kB / 1.072 GB, free: 5.98 MB / 0.8262 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 (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.0001827/0.3146, allocations: 119.1 kB / 1.072 GB, free: 5.855 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.00016/0.3147, allocations: 75.95 kB / 1.072 GB, free: 5.781 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.3147, allocations: 7.938 kB / 1.072 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.257e-05/0.3148, allocations: 35.92 kB / 1.072 GB, free: 5.738 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001357/0.3149, allocations: 7.938 kB / 1.072 GB, free: 5.73 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003205/0.3153, allocations: 152.8 kB / 1.072 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002853/0.3156, allocations: 0.6807 MB / 1.073 GB, free: 4.848 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.725e-05/0.3156, allocations: 43.59 kB / 1.073 GB, free: 4.805 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.808e-05/0.3157, allocations: 19.42 kB / 1.073 GB, free: 4.785 MB / 0.8262 GB Notification: Performance of SimCode: time 2.61e-07/0.3157, allocations: 3.938 kB / 1.073 GB, free: 4.781 MB / 0.8262 GB Notification: Performance of Templates: time 0.002759/0.3184, allocations: 0.6004 MB / 1.074 GB, free: 4.184 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1)