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.001198/0.001198, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001506/0.001505, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.843/1.843, allocations: 205.4 MB / 222.1 MB, free: 5.52 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.713/1.713, allocations: 251.9 MB / 0.51 GB, free: 4.855 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.0005383/0.0005383, allocations: 23.22 kB / 0.6241 GB, free: 1.188 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6362/0.6367, allocations: 106.3 MB / 0.728 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.001605/0.6384, allocations: 1.247 MB / 0.7292 GB, free: 10.2 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0002859/0.6387, allocations: 128.5 kB / 0.7293 GB, free: 10.07 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.446e-05/0.6387, allocations: 0 / 0.7293 GB, free: 10.07 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.402e-05/0.6387, allocations: 0 / 0.7293 GB, free: 10.07 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.589e-05/0.6388, allocations: 3.984 kB / 0.7293 GB, free: 10.06 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001853/0.639, allocations: 23.92 kB / 0.7293 GB, free: 10.04 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 4.85e-05/0.639, allocations: 19.97 kB / 0.7294 GB, free: 10.02 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 7.125e-05/0.6391, allocations: 15.98 kB / 0.7294 GB, free: 10 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.02e-05/0.6391, allocations: 15.86 kB / 0.7294 GB, free: 9.988 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.304e-05/0.6392, allocations: 15.92 kB / 0.7294 GB, free: 9.973 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.36e-05/0.6392, allocations: 4 kB / 0.7294 GB, free: 9.969 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 5.498e-05/0.6392, allocations: 11.98 kB / 0.7294 GB, free: 9.957 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.18e-05/0.6393, allocations: 4 kB / 0.7294 GB, free: 9.953 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.985e-05/0.6393, allocations: 25.7 kB / 0.7294 GB, free: 9.922 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 7.025e-05/0.6394, allocations: 35.92 kB / 0.7295 GB, free: 9.887 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.6394, allocations: 4 kB / 0.7295 GB, free: 9.883 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.122e-06/0.6394, allocations: 0 / 0.7295 GB, free: 9.883 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.6394, allocations: 0 / 0.7295 GB, free: 9.883 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.0004024/0.6398, allocations: 345.3 kB / 0.7298 GB, free: 9.5 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.199e-05/0.6398, allocations: 12.03 kB / 0.7298 GB, free: 9.488 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.6e-05/0.6399, allocations: 3.906 kB / 0.7298 GB, free: 9.484 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001227/0.64, allocations: 178.9 kB / 0.73 GB, free: 9.27 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.185e-05/0.64, allocations: 8 kB / 0.73 GB, free: 9.262 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.769e-06/0.64, allocations: 7.938 kB / 0.73 GB, free: 9.254 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000194/0.6402, allocations: 65.66 kB / 0.7301 GB, free: 9.184 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.261e-06/0.6403, allocations: 0 / 0.7301 GB, free: 9.184 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-06/0.6403, allocations: 0 / 0.7301 GB, free: 9.184 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.6403, allocations: 0 / 0.7301 GB, free: 9.184 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001974/0.6405, allocations: 59.95 kB / 0.7301 GB, free: 9.125 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000363/0.6408, allocations: 280.7 kB / 0.7304 GB, free: 8.801 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002953/0.6412, allocations: 66.61 kB / 0.7305 GB, free: 8.727 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002922/0.6415, allocations: 397.6 kB / 0.7308 GB, free: 8.246 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.456e-05/0.6415, allocations: 34.56 kB / 0.7309 GB, free: 8.203 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.6415, allocations: 0 / 0.7309 GB, free: 8.203 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0003805/0.6419, allocations: 109.6 kB / 0.731 GB, free: 8.09 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.249e-05/0.6419, allocations: 63.33 kB / 0.731 GB, free: 8.016 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.932e-05/0.642, allocations: 110.1 kB / 0.7311 GB, free: 7.898 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.529e-05/0.6421, allocations: 25.7 kB / 0.7312 GB, free: 7.867 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.951e-05/0.6421, allocations: 100 kB / 0.7313 GB, free: 7.766 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.181e-05/0.6421, allocations: 3.938 kB / 0.7313 GB, free: 7.762 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.276e-06/0.6421, allocations: 0 / 0.7313 GB, free: 7.762 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.6423, allocations: 318.8 kB / 0.7316 GB, free: 7.441 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.282e-05/0.6424, allocations: 27.97 kB / 0.7316 GB, free: 7.414 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.333e-05/0.6425, allocations: 23.98 kB / 0.7316 GB, free: 7.391 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.737e-05/0.6426, allocations: 23.98 kB / 0.7316 GB, free: 7.367 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.6426, allocations: 0 / 0.7316 GB, free: 7.367 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002386/0.6428, allocations: 97.48 kB / 0.7317 GB, free: 7.266 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.6428, allocations: 8 kB / 0.7317 GB, free: 7.258 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.676e-06/0.6429, allocations: 0 / 0.7317 GB, free: 7.258 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.598e-06/0.6429, allocations: 0 / 0.7317 GB, free: 7.258 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.936e-05/0.6429, allocations: 11.98 kB / 0.7318 GB, free: 7.246 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.643, allocations: 4.062 kB / 0.7318 GB, free: 7.242 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.056e-05/0.643, allocations: 15.94 kB / 0.7318 GB, free: 7.227 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.159e-06/0.643, allocations: 336 / 0.7318 GB, free: 7.227 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 (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 8.425e-05/0.6431, allocations: 117.8 kB / 0.7319 GB, free: 7.102 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.44e-05/0.6432, allocations: 3.984 kB / 0.7319 GB, free: 7.098 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002592/0.6434, allocations: 97.39 kB / 0.732 GB, free: 6.992 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.982e-06/0.6434, allocations: 8 kB / 0.732 GB, free: 6.984 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.6435, allocations: 0 / 0.732 GB, free: 6.984 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.663e-06/0.6435, allocations: 0 / 0.732 GB, free: 6.984 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00018/0.6436, allocations: 169.6 kB / 0.7322 GB, free: 6.77 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.6437, allocations: 0 / 0.7322 GB, free: 6.77 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.341e-05/0.6437, allocations: 11.98 kB / 0.7322 GB, free: 6.758 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.6437, allocations: 0 / 0.7322 GB, free: 6.758 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.695e-05/0.6438, allocations: 4 kB / 0.7322 GB, free: 6.754 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.6438, allocations: 3.938 kB / 0.7322 GB, free: 6.75 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.6438, allocations: 0 / 0.7322 GB, free: 6.75 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002688/0.6441, allocations: 187.5 kB / 0.7323 GB, free: 6.551 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.403e-05/0.6441, allocations: 81.11 kB / 0.7324 GB, free: 6.453 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.249e-05/0.6441, allocations: 7.875 kB / 0.7324 GB, free: 6.445 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.384e-05/0.6442, allocations: 11.98 kB / 0.7324 GB, free: 6.434 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.583e-05/0.6443, allocations: 7.984 kB / 0.7325 GB, free: 6.426 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-06/0.6443, allocations: 4 kB / 0.7325 GB, free: 6.422 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.814e-05/0.6443, allocations: 87.28 kB / 0.7325 GB, free: 6.336 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6443, allocations: 0 / 0.7325 GB, free: 6.336 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002142/0.6445, allocations: 11.91 kB / 0.7326 GB, free: 6.324 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 (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.0001406/0.6447, allocations: 107.2 kB / 0.7327 GB, free: 6.211 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002199/0.6449, allocations: 55.95 kB / 0.7327 GB, free: 6.156 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.6449, allocations: 0 / 0.7327 GB, free: 6.156 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.971e-05/0.645, allocations: 31.92 kB / 0.7327 GB, free: 6.125 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001675/0.6452, allocations: 15.03 kB / 0.7328 GB, free: 6.113 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00024/0.6455, allocations: 132.6 kB / 0.7329 GB, free: 5.961 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002496/0.6457, allocations: 0.6809 MB / 0.7335 GB, free: 5.254 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.072e-05/0.6458, allocations: 11.98 kB / 0.7336 GB, free: 5.242 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.425e-05/0.6458, allocations: 11.44 kB / 0.7336 GB, free: 5.23 MB / 0.545 GB Notification: Performance of SimCode: time 2.3e-07/0.6458, allocations: 0 / 0.7336 GB, free: 5.23 MB / 0.545 GB Notification: Performance of Templates: time 0.002434/0.6482, allocations: 0.6344 MB / 0.7342 GB, free: 4.598 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: