Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 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.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.000973/0.0009729, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001205/0.001205, allocations: 193.4 kB / 16.13 MB, free: 6.66 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.199/1.199, allocations: 205.1 MB / 222 MB, free: 4.734 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.337/1.337, allocations: 251.7 MB / 0.5088 GB, free: 3.34 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.001175/0.001175, allocations: 63.92 kB / 0.6216 GB, free: 2.004 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3892/0.3904, allocations: 104.7 MB / 0.7238 GB, free: 13.2 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001545/0.392, allocations: 0.6481 MB / 0.7244 GB, free: 12.55 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0002425/0.3923, allocations: 59.83 kB / 0.7245 GB, free: 12.49 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.086e-05/0.3923, allocations: 0 / 0.7245 GB, free: 12.49 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.594e-05/0.3923, allocations: 7.938 kB / 0.7245 GB, free: 12.48 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.448e-06/0.3923, allocations: 0 / 0.7245 GB, free: 12.48 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001915/0.3925, allocations: 15.92 kB / 0.7245 GB, free: 12.46 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.637e-05/0.3926, allocations: 35.91 kB / 0.7246 GB, free: 12.43 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.224e-05/0.3926, allocations: 0 / 0.7246 GB, free: 12.43 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.793e-05/0.3927, allocations: 11.98 kB / 0.7246 GB, free: 12.42 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 2.272e-05/0.3927, allocations: 11.98 kB / 0.7246 GB, free: 12.41 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.111e-05/0.3927, allocations: 4 kB / 0.7246 GB, free: 12.4 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 6.579e-05/0.3928, allocations: 15.98 kB / 0.7246 GB, free: 12.39 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.16e-05/0.3928, allocations: 4 kB / 0.7246 GB, free: 12.38 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.442e-05/0.3928, allocations: 19.86 kB / 0.7246 GB, free: 12.36 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 8.197e-05/0.3929, allocations: 35.95 kB / 0.7247 GB, free: 12.33 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.395e-06/0.3929, allocations: 3.938 kB / 0.7247 GB, free: 12.32 MB / 0.545 GB Notification: Performance of FrontEnd: time 6.31e-07/0.3929, allocations: 0 / 0.7247 GB, free: 12.32 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.735e-06/0.393, allocations: 0 / 0.7247 GB, free: 12.32 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0002659/0.3932, allocations: 333.5 kB / 0.725 GB, free: 11.95 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 2.987e-05/0.3933, allocations: 12.03 kB / 0.725 GB, free: 11.94 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.681e-05/0.3933, allocations: 4.938 kB / 0.725 GB, free: 11.93 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.256e-05/0.3934, allocations: 168.3 kB / 0.7252 GB, free: 11.73 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.164e-06/0.3934, allocations: 4.375 kB / 0.7252 GB, free: 11.73 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.318e-05/0.3934, allocations: 8.375 kB / 0.7252 GB, free: 11.72 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001235/0.3935, allocations: 65.03 kB / 0.7252 GB, free: 11.65 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.25e-06/0.3935, allocations: 192 / 0.7252 GB, free: 11.65 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.3936, allocations: 7.938 kB / 0.7252 GB, free: 11.64 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.3936, allocations: 4 kB / 0.7252 GB, free: 11.64 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001225/0.3937, allocations: 99.86 kB / 0.7253 GB, free: 11.54 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001476/0.3938, allocations: 181.5 kB / 0.7255 GB, free: 11.32 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001035/0.394, allocations: 78.53 kB / 0.7256 GB, free: 11.23 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.444e-05/0.394, allocations: 32.84 kB / 0.7256 GB, free: 11.2 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003345/0.3943, allocations: 401.5 kB / 0.726 GB, free: 10.71 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.96e-05/0.3944, allocations: 30.56 kB / 0.726 GB, free: 10.67 MB / 0.545 GB Notification: Performance of pre-optimization done (n=11): time 1.032e-06/0.3944, allocations: 0 / 0.726 GB, free: 10.67 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.000205/0.3946, allocations: 113.6 kB / 0.7261 GB, free: 10.55 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.092e-05/0.3946, allocations: 59.41 kB / 0.7262 GB, free: 10.48 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.85e-05/0.3947, allocations: 97.7 kB / 0.7263 GB, free: 10.38 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.329e-05/0.3947, allocations: 25.92 kB / 0.7263 GB, free: 10.35 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.412e-05/0.3947, allocations: 88.14 kB / 0.7264 GB, free: 10.26 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.048e-05/0.3948, allocations: 19.69 kB / 0.7264 GB, free: 10.24 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.872e-05/0.3948, allocations: 33.7 kB / 0.7265 GB, free: 10.2 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.07e-05/0.3949, allocations: 322.8 kB / 0.7268 GB, free: 9.875 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.259e-05/0.3949, allocations: 15.98 kB / 0.7268 GB, free: 9.859 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.184e-05/0.395, allocations: 27.92 kB / 0.7268 GB, free: 9.832 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.514e-05/0.3951, allocations: 52.84 kB / 0.7269 GB, free: 9.777 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.3951, allocations: 0 / 0.7269 GB, free: 9.777 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001222/0.3952, allocations: 98.16 kB / 0.7269 GB, free: 9.676 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.3952, allocations: 12 kB / 0.727 GB, free: 9.664 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.3952, allocations: 3.938 kB / 0.727 GB, free: 9.66 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.3952, allocations: 0 / 0.727 GB, free: 9.66 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.151e-05/0.3953, allocations: 23.92 kB / 0.727 GB, free: 9.637 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.3953, allocations: 0 / 0.727 GB, free: 9.637 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.649e-05/0.3954, allocations: 0 / 0.727 GB, free: 9.637 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.754e-06/0.3954, allocations: 4 kB / 0.727 GB, free: 9.633 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: 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.0001239/0.3955, allocations: 125.8 kB / 0.7271 GB, free: 9.5 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.131e-05/0.3955, allocations: 7.906 kB / 0.7271 GB, free: 9.492 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001931/0.3957, allocations: 129.5 kB / 0.7272 GB, free: 9.355 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.3957, allocations: 0 / 0.7272 GB, free: 9.355 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.3957, allocations: 0 / 0.7272 GB, free: 9.355 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.125e-06/0.3958, allocations: 7.922 kB / 0.7272 GB, free: 9.348 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001369/0.3959, allocations: 181.6 kB / 0.7274 GB, free: 9.121 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.3959, allocations: 0 / 0.7274 GB, free: 9.121 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.966e-05/0.396, allocations: 15.98 kB / 0.7274 GB, free: 9.105 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.396, allocations: 11.94 kB / 0.7274 GB, free: 9.094 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.724e-06/0.396, allocations: 4 kB / 0.7274 GB, free: 9.09 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.396, allocations: 0 / 0.7274 GB, free: 9.09 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.396, allocations: 0 / 0.7274 GB, free: 9.09 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001394/0.3961, allocations: 124.9 kB / 0.7276 GB, free: 8.949 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.904e-05/0.3962, allocations: 81.05 kB / 0.7276 GB, free: 8.852 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.444e-05/0.3962, allocations: 4 kB / 0.7276 GB, free: 8.848 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.582e-05/0.3962, allocations: 4 kB / 0.7277 GB, free: 8.844 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.21e-05/0.3963, allocations: 11.98 kB / 0.7277 GB, free: 8.832 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.941e-06/0.3963, allocations: 4 kB / 0.7277 GB, free: 8.828 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.191e-05/0.3963, allocations: 75.28 kB / 0.7277 GB, free: 8.754 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3963, allocations: 7.938 kB / 0.7277 GB, free: 8.746 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001762/0.3965, allocations: 8 kB / 0.7278 GB, free: 8.738 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: 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.0001403/0.3967, allocations: 119.2 kB / 0.7279 GB, free: 8.613 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001088/0.3968, allocations: 55.91 kB / 0.7279 GB, free: 8.559 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.3968, allocations: 4 kB / 0.7279 GB, free: 8.555 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.645e-05/0.3968, allocations: 39.92 kB / 0.728 GB, free: 8.516 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001189/0.397, allocations: 8.5 kB / 0.728 GB, free: 8.508 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002275/0.3972, allocations: 158.6 kB / 0.7281 GB, free: 8.328 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003013/0.3975, allocations: 0.6848 MB / 0.7288 GB, free: 7.617 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.7e-05/0.3976, allocations: 43.73 kB / 0.7288 GB, free: 7.574 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.227e-05/0.3976, allocations: 15.44 kB / 0.7288 GB, free: 7.559 MB / 0.545 GB Notification: Performance of SimCode: time 2.3e-07/0.3976, allocations: 0 / 0.7288 GB, free: 7.559 MB / 0.545 GB Notification: Performance of Templates: time 0.00238/0.4, allocations: 0.5867 MB / 0.7294 GB, free: 6.973 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1)