Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial") translateModel(BuildingSystems.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.004824/0.004824, allocations: 101.7 kB / 15.73 MB, free: 5.59 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.001056/0.001056, allocations: 191.7 kB / 16.67 MB, free: 5.523 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.318/1.318, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002143/0.002143, allocations: 294.2 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9642/0.9642, allocations: 169.3 MB / 0.4983 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001637/0.001637, allocations: 96.27 kB / 0.6815 GB, free: 6.996 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3971/0.3987, allocations: 86.98 MB / 0.7664 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.FallingFactorial): time 0.002701/0.4014, allocations: 1.524 MB / 0.7679 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003636/0.4018, allocations: 136.5 kB / 0.768 GB, free: 2.273 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.848e-05/0.4019, allocations: 4 kB / 0.768 GB, free: 2.27 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.861e-05/0.4019, allocations: 7.922 kB / 0.768 GB, free: 2.262 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.815e-05/0.402, allocations: 3.938 kB / 0.768 GB, free: 2.258 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002532/0.4022, allocations: 27.91 kB / 0.7681 GB, free: 2.23 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.652e-05/0.4023, allocations: 43.84 kB / 0.7681 GB, free: 2.188 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.245e-05/0.4024, allocations: 8 kB / 0.7681 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.802e-05/0.4024, allocations: 11.98 kB / 0.7681 GB, free: 2.168 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.211e-05/0.4025, allocations: 27.92 kB / 0.7681 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.333e-05/0.4025, allocations: 7.938 kB / 0.7681 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.044e-05/0.4026, allocations: 15.98 kB / 0.7682 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.85e-05/0.4026, allocations: 15.97 kB / 0.7682 GB, free: 2.102 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.518e-05/0.4026, allocations: 7.938 kB / 0.7682 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001337/0.4028, allocations: 55.45 kB / 0.7682 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.4028, allocations: 0 / 0.7682 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.022e-06/0.4028, allocations: 4 kB / 0.7682 GB, free: 2.039 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.4028, allocations: 0 / 0.7682 GB, free: 2.039 MB / 0.5294 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.0004336/0.4032, allocations: 347.5 kB / 0.7686 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.4033, allocations: 8.031 kB / 0.7686 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.072e-05/0.4033, allocations: 4.938 kB / 0.7686 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000111/0.4034, allocations: 174.8 kB / 0.7688 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/0.4034, allocations: 4.375 kB / 0.7688 GB, free: 1.426 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.263e-05/0.4035, allocations: 384 / 0.7688 GB, free: 1.426 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001988/0.4037, allocations: 62.23 kB / 0.7688 GB, free: 1.359 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.702e-06/0.4037, allocations: 192 / 0.7688 GB, free: 1.359 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.4037, allocations: 7.938 kB / 0.7688 GB, free: 1.352 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.127e-06/0.4037, allocations: 4 kB / 0.7688 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001928/0.4039, allocations: 43.95 kB / 0.7689 GB, free: 1.305 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003689/0.4043, allocations: 288.7 kB / 0.7691 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000316/0.4046, allocations: 50.55 kB / 0.7692 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001061/0.4047, allocations: 32.89 kB / 0.7692 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002554/0.405, allocations: 397.5 kB / 0.7696 GB, free: 408 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.982e-05/0.405, allocations: 34.56 kB / 0.7696 GB, free: 364 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.405, allocations: 0 / 0.7696 GB, free: 364 kB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0003777/0.4054, allocations: 93.56 kB / 0.7697 GB, free: 264 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.811e-05/0.4054, allocations: 55.41 kB / 0.7698 GB, free: 196 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.89e-05/0.4055, allocations: 117.8 kB / 0.7699 GB, free: 68 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.215e-05/0.4056, allocations: 29.7 kB / 0.7699 GB, free: 32 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.114e-05/0.4056, allocations: 88.2 kB / 0.77 GB, free: 15.94 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.511e-05/0.4056, allocations: 11.83 kB / 0.77 GB, free: 15.93 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.59e-05/0.4057, allocations: 13.72 kB / 0.77 GB, free: 15.91 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.775e-05/0.4058, allocations: 326.7 kB / 0.7703 GB, free: 15.58 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.612e-05/0.4059, allocations: 23.97 kB / 0.7704 GB, free: 15.56 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.365e-05/0.406, allocations: 15.98 kB / 0.7704 GB, free: 15.54 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001716/0.4062, allocations: 48.81 kB / 0.7704 GB, free: 15.49 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.4062, allocations: 0 / 0.7704 GB, free: 15.49 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002279/0.4064, allocations: 77.83 kB / 0.7705 GB, free: 15.41 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.4064, allocations: 8 kB / 0.7705 GB, free: 15.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.4064, allocations: 7.984 kB / 0.7705 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.4065, allocations: 0 / 0.7705 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.363e-05/0.4065, allocations: 11.98 kB / 0.7705 GB, free: 15.38 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.4066, allocations: 0 / 0.7705 GB, free: 15.38 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.983e-05/0.4066, allocations: 7.984 kB / 0.7705 GB, free: 15.38 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-06/0.4066, allocations: 0 / 0.7705 GB, free: 15.38 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 8.407e-05/0.4067, allocations: 120.2 kB / 0.7706 GB, free: 15.25 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.642e-05/0.4068, allocations: 0 / 0.7706 GB, free: 15.25 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002643/0.407, allocations: 89.48 kB / 0.7707 GB, free: 15.15 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.407, allocations: 0 / 0.7707 GB, free: 15.15 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.4071, allocations: 0 / 0.7707 GB, free: 15.15 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.4071, allocations: 3.984 kB / 0.7707 GB, free: 15.15 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001585/0.4072, allocations: 169.6 kB / 0.7709 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.4072, allocations: 0 / 0.7709 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.63e-05/0.4073, allocations: 11.98 kB / 0.7709 GB, free: 14.92 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.4073, allocations: 0 / 0.7709 GB, free: 14.92 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.4073, allocations: 4 kB / 0.7709 GB, free: 14.92 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.4073, allocations: 4 kB / 0.7709 GB, free: 14.91 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.4073, allocations: 0 / 0.7709 GB, free: 14.91 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000255/0.4076, allocations: 179.3 kB / 0.7711 GB, free: 14.72 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.332e-05/0.4076, allocations: 81.09 kB / 0.7712 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.433e-05/0.4077, allocations: 0 / 0.7712 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.727e-05/0.4078, allocations: 8 kB / 0.7712 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.426e-05/0.4078, allocations: 7.984 kB / 0.7712 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.18e-06/0.4078, allocations: 4 kB / 0.7712 GB, free: 14.61 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.764e-05/0.4079, allocations: 91.27 kB / 0.7713 GB, free: 14.52 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.2e-07/0.4079, allocations: 0 / 0.7713 GB, free: 14.52 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002331/0.4081, allocations: 16 kB / 0.7713 GB, free: 14.5 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.000128/0.4083, allocations: 103.2 kB / 0.7714 GB, free: 14.39 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002246/0.4085, allocations: 47.95 kB / 0.7714 GB, free: 14.34 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.4085, allocations: 3.938 kB / 0.7714 GB, free: 14.34 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001062/0.4086, allocations: 27.91 kB / 0.7715 GB, free: 14.31 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002602/0.4089, allocations: 11.94 kB / 0.7715 GB, free: 14.3 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002821/0.4092, allocations: 119.3 kB / 0.7716 GB, free: 14.16 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002169/0.4094, allocations: 0.6807 MB / 0.7723 GB, free: 13.45 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.134e-05/0.4094, allocations: 7.984 kB / 0.7723 GB, free: 13.45 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.749e-05/0.4095, allocations: 15.44 kB / 0.7723 GB, free: 13.43 MB / 0.545 GB Notification: Performance of SimCode: time 2.41e-07/0.4095, allocations: 0 / 0.7723 GB, free: 13.43 MB / 0.545 GB Notification: Performance of Templates: time 0.002784/0.4123, allocations: 0.7626 MB / 0.773 GB, free: 12.67 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial.pipe 2>&1)