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/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 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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: translateModel(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.FallingFactorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006757/0.0006757, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.003687/0.003687, allocations: 169 kB / 16.26 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.18/1.18, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.325/1.325, allocations: 252 MB / 0.5105 GB, free: 4.656 MB / 414.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.0004575/0.0004576, allocations: 16.56 kB / 0.6249 GB, free: 0.6992 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3871/0.3875, allocations: 106.3 MB / 0.7287 GB, free: 11.51 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.001581/0.3891, allocations: 1.252 MB / 0.7299 GB, free: 10.25 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.000366/0.3895, allocations: 132.4 kB / 0.7301 GB, free: 10.11 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.705e-05/0.3896, allocations: 4 kB / 0.7301 GB, free: 10.11 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.977e-05/0.3896, allocations: 3.938 kB / 0.7301 GB, free: 10.11 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.288e-05/0.3897, allocations: 0 / 0.7301 GB, free: 10.11 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002176/0.3899, allocations: 23.97 kB / 0.7301 GB, free: 10.08 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.925e-05/0.39, allocations: 39.91 kB / 0.7301 GB, free: 10.04 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 7.784e-05/0.3901, allocations: 8 kB / 0.7301 GB, free: 10.04 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.837e-05/0.3901, allocations: 15.92 kB / 0.7302 GB, free: 10.02 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.693e-05/0.3901, allocations: 15.92 kB / 0.7302 GB, free: 10 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.138e-05/0.3902, allocations: 0 / 0.7302 GB, free: 10 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 6.279e-05/0.3902, allocations: 19.98 kB / 0.7302 GB, free: 9.984 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.321e-05/0.3902, allocations: 11.92 kB / 0.7302 GB, free: 9.973 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.472e-05/0.3903, allocations: 41.58 kB / 0.7302 GB, free: 9.926 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001009/0.3904, allocations: 39.88 kB / 0.7303 GB, free: 9.887 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.3904, allocations: 0 / 0.7303 GB, free: 9.887 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3904, allocations: 0 / 0.7303 GB, free: 9.887 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.078e-06/0.3904, allocations: 0 / 0.7303 GB, free: 9.887 MB / 0.545 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.0004095/0.3908, allocations: 361.5 kB / 0.7306 GB, free: 9.484 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.3909, allocations: 12.03 kB / 0.7306 GB, free: 9.473 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.904e-05/0.3909, allocations: 8.844 kB / 0.7306 GB, free: 9.465 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001007/0.391, allocations: 172.3 kB / 0.7308 GB, free: 9.258 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.034e-05/0.391, allocations: 384 / 0.7308 GB, free: 9.258 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.344e-05/0.3911, allocations: 4.375 kB / 0.7308 GB, free: 9.254 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001916/0.3913, allocations: 66.22 kB / 0.7309 GB, free: 9.184 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.282e-06/0.3913, allocations: 192 / 0.7309 GB, free: 9.184 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.3913, allocations: 3.938 kB / 0.7309 GB, free: 9.18 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.3913, allocations: 8 kB / 0.7309 GB, free: 9.172 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001843/0.3915, allocations: 55.89 kB / 0.7309 GB, free: 9.117 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003426/0.3918, allocations: 276.8 kB / 0.7312 GB, free: 8.797 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002967/0.3922, allocations: 70.53 kB / 0.7313 GB, free: 8.719 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.507e-05/0.3923, allocations: 32.84 kB / 0.7313 GB, free: 8.684 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002441/0.3925, allocations: 401.5 kB / 0.7317 GB, free: 8.199 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.968e-05/0.3925, allocations: 38.56 kB / 0.7317 GB, free: 8.152 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.3925, allocations: 0 / 0.7317 GB, free: 8.152 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0003724/0.3929, allocations: 109.6 kB / 0.7318 GB, free: 8.039 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.255e-05/0.393, allocations: 51.41 kB / 0.7319 GB, free: 7.977 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.834e-05/0.393, allocations: 117.8 kB / 0.732 GB, free: 7.852 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.222e-05/0.3931, allocations: 25.7 kB / 0.732 GB, free: 7.82 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.148e-05/0.3931, allocations: 84.05 kB / 0.7321 GB, free: 7.734 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.866e-05/0.3931, allocations: 11.92 kB / 0.7321 GB, free: 7.723 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.236e-05/0.3932, allocations: 13.72 kB / 0.7321 GB, free: 7.703 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.853e-05/0.3933, allocations: 318.8 kB / 0.7324 GB, free: 7.383 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.119e-05/0.3933, allocations: 31.92 kB / 0.7325 GB, free: 7.352 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.122e-05/0.3934, allocations: 23.98 kB / 0.7325 GB, free: 7.328 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001719/0.3936, allocations: 60.81 kB / 0.7325 GB, free: 7.266 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3936, allocations: 0 / 0.7325 GB, free: 7.266 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002115/0.3938, allocations: 77.66 kB / 0.7326 GB, free: 7.184 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.3939, allocations: 8 kB / 0.7326 GB, free: 7.176 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.3939, allocations: 7.984 kB / 0.7326 GB, free: 7.168 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.548e-06/0.3939, allocations: 0 / 0.7326 GB, free: 7.168 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.555e-05/0.394, allocations: 12 kB / 0.7326 GB, free: 7.156 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.394, allocations: 3.984 kB / 0.7326 GB, free: 7.152 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.401e-05/0.394, allocations: 11.94 kB / 0.7327 GB, free: 7.141 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-06/0.3941, allocations: 0 / 0.7327 GB, free: 7.141 MB / 0.545 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 (falFac.y,rea2Int.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.121e-05/0.3941, allocations: 118.1 kB / 0.7328 GB, free: 7.016 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.498e-05/0.3942, allocations: 7.891 kB / 0.7328 GB, free: 7.008 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002466/0.3944, allocations: 97.53 kB / 0.7329 GB, free: 6.902 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.3944, allocations: 4 kB / 0.7329 GB, free: 6.898 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.3944, allocations: 0 / 0.7329 GB, free: 6.898 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.3944, allocations: 7.938 kB / 0.7329 GB, free: 6.891 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001433/0.3946, allocations: 173.6 kB / 0.733 GB, free: 6.672 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.3946, allocations: 0 / 0.733 GB, free: 6.672 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.885e-05/0.3947, allocations: 11.98 kB / 0.7331 GB, free: 6.66 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.3947, allocations: 0 / 0.7331 GB, free: 6.66 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.663e-06/0.3947, allocations: 4 kB / 0.7331 GB, free: 6.656 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.3947, allocations: 0 / 0.7331 GB, free: 6.656 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3947, allocations: 3.938 kB / 0.7331 GB, free: 6.652 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002431/0.395, allocations: 183.4 kB / 0.7332 GB, free: 6.457 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.6e-05/0.395, allocations: 85.02 kB / 0.7333 GB, free: 6.355 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.362e-05/0.395, allocations: 0 / 0.7333 GB, free: 6.355 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.2e-05/0.3951, allocations: 11.92 kB / 0.7333 GB, free: 6.344 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.596e-05/0.3952, allocations: 12 kB / 0.7333 GB, free: 6.332 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.661e-06/0.3952, allocations: 4 kB / 0.7333 GB, free: 6.328 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.855e-05/0.3952, allocations: 91.27 kB / 0.7334 GB, free: 6.238 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3952, allocations: 0 / 0.7334 GB, free: 6.238 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002122/0.3954, allocations: 8 kB / 0.7334 GB, free: 6.23 MB / 0.545 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 (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.0001393/0.3956, allocations: 99.25 kB / 0.7335 GB, free: 6.125 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002283/0.3958, allocations: 67.88 kB / 0.7336 GB, free: 6.059 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3958, allocations: 0 / 0.7336 GB, free: 6.059 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.582e-05/0.3959, allocations: 27.98 kB / 0.7336 GB, free: 6.031 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002433/0.3962, allocations: 10.75 kB / 0.7336 GB, free: 6.023 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002835/0.3965, allocations: 136.6 kB / 0.7338 GB, free: 5.867 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002239/0.3967, allocations: 0.6848 MB / 0.7344 GB, free: 5.156 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.75e-05/0.3967, allocations: 0 / 0.7344 GB, free: 5.156 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.412e-05/0.3968, allocations: 11.44 kB / 0.7344 GB, free: 5.145 MB / 0.545 GB Notification: Performance of SimCode: time 3.8e-07/0.3968, allocations: 4 kB / 0.7345 GB, free: 5.141 MB / 0.545 GB Notification: Performance of Templates: time 0.002518/0.3993, allocations: 0.6678 MB / 0.7351 GB, free: 4.477 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.FallingFactorial.makefile Environment - environmentSimulation: (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 & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) Environment - environmentSimulation: