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.001564/0.001563, allocations: 99.7 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.001572/0.001572, allocations: 177.3 kB / 15.95 MB, free: 216 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.878/1.878, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.611/1.611, allocations: 251.9 MB / 0.51 GB, free: 4.836 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.0005425/0.0005426, allocations: 24 kB / 0.6241 GB, free: 1.168 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5618/0.5624, allocations: 106.3 MB / 0.728 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.0007295/0.5632, allocations: 325.3 kB / 0.7283 GB, free: 11.1 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0002252/0.5634, allocations: 54.36 kB / 0.7283 GB, free: 11.05 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.823e-05/0.5634, allocations: 0 / 0.7283 GB, free: 11.05 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.467e-05/0.5635, allocations: 0 / 0.7283 GB, free: 11.05 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.403e-06/0.5635, allocations: 0 / 0.7283 GB, free: 11.05 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000266/0.5638, allocations: 15.97 kB / 0.7284 GB, free: 11.03 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.492e-05/0.5639, allocations: 19.98 kB / 0.7284 GB, free: 11.01 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.02e-05/0.5639, allocations: 3.984 kB / 0.7284 GB, free: 11.01 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.963e-05/0.5639, allocations: 12 kB / 0.7284 GB, free: 11 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.362e-05/0.564, allocations: 7.984 kB / 0.7284 GB, free: 10.99 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.243e-05/0.564, allocations: 4 kB / 0.7284 GB, free: 10.98 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 6.661e-05/0.5641, allocations: 15.98 kB / 0.7284 GB, free: 10.97 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.66e-05/0.5641, allocations: 15.92 kB / 0.7284 GB, free: 10.95 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.116e-05/0.5642, allocations: 29.7 kB / 0.7285 GB, free: 10.92 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 6.815e-05/0.5642, allocations: 19.97 kB / 0.7285 GB, free: 10.9 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.5642, allocations: 0 / 0.7285 GB, free: 10.9 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.663e-06/0.5642, allocations: 0 / 0.7285 GB, free: 10.9 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.436e-06/0.5643, allocations: 3.938 kB / 0.7285 GB, free: 10.89 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.000304/0.5646, allocations: 333.3 kB / 0.7288 GB, free: 10.52 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.189e-05/0.5646, allocations: 15.97 kB / 0.7288 GB, free: 10.51 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.064e-05/0.5646, allocations: 4 kB / 0.7288 GB, free: 10.5 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.307e-05/0.5647, allocations: 167 kB / 0.729 GB, free: 10.3 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.5648, allocations: 4 kB / 0.729 GB, free: 10.3 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.293e-05/0.5648, allocations: 8 kB / 0.729 GB, free: 10.29 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001344/0.5649, allocations: 61.66 kB / 0.7291 GB, free: 10.22 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.166e-06/0.5649, allocations: 0 / 0.7291 GB, free: 10.22 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.5649, allocations: 0 / 0.7291 GB, free: 10.22 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.565, allocations: 0 / 0.7291 GB, free: 10.22 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001398/0.5651, allocations: 99.88 kB / 0.7291 GB, free: 10.12 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001727/0.5653, allocations: 185.5 kB / 0.7293 GB, free: 9.895 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001279/0.5654, allocations: 74.48 kB / 0.7294 GB, free: 9.812 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003345/0.5658, allocations: 405.5 kB / 0.7298 GB, free: 9.324 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.101e-05/0.5658, allocations: 34.89 kB / 0.7298 GB, free: 9.281 MB / 0.545 GB Notification: Performance of pre-optimization done (n=11): time 1.212e-06/0.5658, allocations: 0 / 0.7298 GB, free: 9.281 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.0002566/0.5661, allocations: 109.6 kB / 0.7299 GB, free: 9.168 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.93e-05/0.5661, allocations: 51.41 kB / 0.73 GB, free: 9.105 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.442e-05/0.5662, allocations: 105.8 kB / 0.7301 GB, free: 8.992 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.5662, allocations: 29.64 kB / 0.7301 GB, free: 8.957 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.883e-05/0.5662, allocations: 80.33 kB / 0.7302 GB, free: 8.871 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.66e-05/0.5663, allocations: 23.73 kB / 0.7302 GB, free: 8.848 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.378e-06/0.5663, allocations: 0 / 0.7302 GB, free: 8.848 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.5664, allocations: 314.8 kB / 0.7305 GB, free: 8.531 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.036e-05/0.5665, allocations: 19.98 kB / 0.7305 GB, free: 8.512 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.219e-05/0.5665, allocations: 23.92 kB / 0.7305 GB, free: 8.488 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.962e-05/0.5666, allocations: 27.98 kB / 0.7306 GB, free: 8.461 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.5666, allocations: 4 kB / 0.7306 GB, free: 8.457 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001256/0.5667, allocations: 94.19 kB / 0.7307 GB, free: 8.359 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.5667, allocations: 4 kB / 0.7307 GB, free: 8.355 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.5668, allocations: 0 / 0.7307 GB, free: 8.355 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.5668, allocations: 0 / 0.7307 GB, free: 8.355 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/0.5669, allocations: 23.92 kB / 0.7307 GB, free: 8.332 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.5669, allocations: 0 / 0.7307 GB, free: 8.332 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.122e-05/0.5669, allocations: 8 kB / 0.7307 GB, free: 8.324 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.173e-06/0.5669, allocations: 0 / 0.7307 GB, free: 8.324 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 (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 initialization (11): * Single equations (assignments): 11 * 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 0.0001472/0.5671, allocations: 128.6 kB / 0.7308 GB, free: 8.191 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.549e-05/0.5671, allocations: 19.78 kB / 0.7308 GB, free: 8.172 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002043/0.5673, allocations: 125.7 kB / 0.731 GB, free: 8.039 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.5673, allocations: 0 / 0.731 GB, free: 8.039 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.5673, allocations: 3.984 kB / 0.731 GB, free: 8.035 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.5673, allocations: 0 / 0.731 GB, free: 8.035 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001457/0.5675, allocations: 181.5 kB / 0.7311 GB, free: 7.809 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.5675, allocations: 0 / 0.7311 GB, free: 7.809 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.656e-05/0.5676, allocations: 23.98 kB / 0.7312 GB, free: 7.785 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.5676, allocations: 3.953 kB / 0.7312 GB, free: 7.781 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.5676, allocations: 4 kB / 0.7312 GB, free: 7.777 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.5676, allocations: 0 / 0.7312 GB, free: 7.777 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.5676, allocations: 4 kB / 0.7312 GB, free: 7.773 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000164/0.5678, allocations: 128.2 kB / 0.7313 GB, free: 7.633 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.322e-05/0.5678, allocations: 81.02 kB / 0.7314 GB, free: 7.535 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.571e-05/0.5679, allocations: 3.953 kB / 0.7314 GB, free: 7.531 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.448e-05/0.5679, allocations: 8 kB / 0.7314 GB, free: 7.523 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.782e-05/0.5679, allocations: 11.98 kB / 0.7314 GB, free: 7.512 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.039e-06/0.5679, allocations: 0 / 0.7314 GB, free: 7.512 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.716e-05/0.568, allocations: 79.28 kB / 0.7315 GB, free: 7.434 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.568, allocations: 0 / 0.7315 GB, free: 7.434 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001976/0.5682, allocations: 15.98 kB / 0.7315 GB, free: 7.418 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 (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.0001846/0.5684, allocations: 107.2 kB / 0.7316 GB, free: 7.305 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001367/0.5685, allocations: 67.84 kB / 0.7316 GB, free: 7.238 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.5686, allocations: 0 / 0.7316 GB, free: 7.238 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.054e-05/0.5686, allocations: 35.97 kB / 0.7317 GB, free: 7.203 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.405e-05/0.5687, allocations: 0 / 0.7317 GB, free: 7.203 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002728/0.569, allocations: 146.7 kB / 0.7318 GB, free: 7.035 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002594/0.5693, allocations: 0.6925 MB / 0.7325 GB, free: 6.316 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.861e-05/0.5694, allocations: 43.8 kB / 0.7325 GB, free: 6.273 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.302e-05/0.5694, allocations: 11.44 kB / 0.7326 GB, free: 6.262 MB / 0.545 GB Notification: Performance of SimCode: time 2.31e-07/0.5694, allocations: 0 / 0.7326 GB, free: 6.262 MB / 0.545 GB Notification: Performance of Templates: time 0.002557/0.5719, allocations: 0.5588 MB / 0.7331 GB, free: 5.703 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: