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.001308/0.001308, allocations: 116.8 kB / 16.42 MB, free: 6.492 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.001518/0.001519, allocations: 186.6 kB / 17.35 MB, free: 5.762 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.234/1.234, allocations: 222.9 MB / 241.1 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.001986/0.001986, allocations: 288.3 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8949/0.8949, allocations: 169.3 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00189/0.00189, allocations: 99.84 kB / 0.6821 GB, free: 6.992 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3589/0.3608, allocations: 86.98 MB / 0.7671 GB, free: 3.957 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.FallingFactorial): time 0.002397/0.3632, allocations: 1.525 MB / 0.7686 GB, free: 2.418 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.000325/0.3635, allocations: 132.5 kB / 0.7687 GB, free: 2.285 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.07e-05/0.3636, allocations: 0 / 0.7687 GB, free: 2.285 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.667e-05/0.3636, allocations: 3.938 kB / 0.7687 GB, free: 2.281 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.886e-05/0.3637, allocations: 3.938 kB / 0.7687 GB, free: 2.277 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002447/0.3639, allocations: 35.89 kB / 0.7687 GB, free: 2.242 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.347e-05/0.364, allocations: 35.86 kB / 0.7688 GB, free: 2.207 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.029e-05/0.3641, allocations: 19.98 kB / 0.7688 GB, free: 2.188 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.535e-05/0.3641, allocations: 11.94 kB / 0.7688 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.132e-05/0.3641, allocations: 27.83 kB / 0.7688 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.352e-05/0.3642, allocations: 4 kB / 0.7688 GB, free: 2.145 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.621e-05/0.3642, allocations: 19.98 kB / 0.7688 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.347e-05/0.3643, allocations: 4 kB / 0.7688 GB, free: 2.121 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.532e-05/0.3643, allocations: 11.94 kB / 0.7689 GB, free: 2.109 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001147/0.3644, allocations: 59.45 kB / 0.7689 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.3644, allocations: 0 / 0.7689 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.262e-06/0.3644, allocations: 0 / 0.7689 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.3644, allocations: 4 kB / 0.7689 GB, free: 2.051 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.0004282/0.3649, allocations: 343.5 kB / 0.7692 GB, free: 1.664 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.172e-05/0.3649, allocations: 8.031 kB / 0.7692 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.167e-05/0.3649, allocations: 4.922 kB / 0.7693 GB, free: 1.652 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.845e-05/0.365, allocations: 174.8 kB / 0.7694 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.154e-05/0.3651, allocations: 4.375 kB / 0.7694 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.007e-05/0.3651, allocations: 4.375 kB / 0.7694 GB, free: 1.438 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001824/0.3653, allocations: 66.22 kB / 0.7695 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.132e-06/0.3653, allocations: 192 / 0.7695 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.3653, allocations: 3.938 kB / 0.7695 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.3653, allocations: 4 kB / 0.7695 GB, free: 1.359 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001788/0.3655, allocations: 43.95 kB / 0.7695 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000338/0.3658, allocations: 284.7 kB / 0.7698 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002996/0.3661, allocations: 62.53 kB / 0.7699 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.162e-05/0.3662, allocations: 24.91 kB / 0.7699 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002501/0.3665, allocations: 401.5 kB / 0.7703 GB, free: 416 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.777e-05/0.3665, allocations: 30.56 kB / 0.7703 GB, free: 376 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 2.565e-06/0.3665, allocations: 3.984 kB / 0.7703 GB, free: 372 kB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0003577/0.3669, allocations: 97.58 kB / 0.7704 GB, free: 268 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.359e-05/0.3669, allocations: 59.39 kB / 0.7705 GB, free: 196 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.245e-05/0.367, allocations: 101.9 kB / 0.7706 GB, free: 84 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.313e-05/0.367, allocations: 25.7 kB / 0.7706 GB, free: 52 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.444e-05/0.3671, allocations: 88.12 kB / 0.7707 GB, free: 15.96 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.263e-05/0.3671, allocations: 15.78 kB / 0.7707 GB, free: 15.95 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.222e-05/0.3671, allocations: 17.72 kB / 0.7707 GB, free: 15.92 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.435e-05/0.3672, allocations: 318.8 kB / 0.771 GB, free: 15.6 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.056e-05/0.3673, allocations: 19.98 kB / 0.771 GB, free: 15.58 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.688e-05/0.3674, allocations: 15.98 kB / 0.771 GB, free: 15.57 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001635/0.3676, allocations: 52.75 kB / 0.7711 GB, free: 15.51 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3676, allocations: 0 / 0.7711 GB, free: 15.51 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002147/0.3678, allocations: 85.48 kB / 0.7712 GB, free: 15.42 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.3678, allocations: 4 kB / 0.7712 GB, free: 15.42 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.3678, allocations: 0 / 0.7712 GB, free: 15.42 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.035e-05/0.3679, allocations: 0 / 0.7712 GB, free: 15.42 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.648e-05/0.3679, allocations: 15.92 kB / 0.7712 GB, free: 15.4 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.368, allocations: 0 / 0.7712 GB, free: 15.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.805e-05/0.368, allocations: 8 kB / 0.7712 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.368, allocations: 4 kB / 0.7712 GB, free: 15.39 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 6.868e-05/0.3681, allocations: 120.2 kB / 0.7713 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.616e-05/0.3681, allocations: 4 kB / 0.7713 GB, free: 15.26 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002384/0.3684, allocations: 85.48 kB / 0.7714 GB, free: 15.17 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.3684, allocations: 0 / 0.7714 GB, free: 15.17 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.3684, allocations: 4 kB / 0.7714 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.056e-05/0.3684, allocations: 81.02 kB / 0.7715 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.286e-05/0.3685, allocations: 0 / 0.7715 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.007e-05/0.3685, allocations: 11.98 kB / 0.7715 GB, free: 15.05 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.113e-05/0.3686, allocations: 11.94 kB / 0.7715 GB, free: 15.04 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002686/0.3689, allocations: 156.9 kB / 0.7717 GB, free: 14.88 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002581/0.3691, allocations: 243.2 kB / 0.7719 GB, free: 14.63 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.662e-05/0.3692, allocations: 32 kB / 0.7719 GB, free: 14.6 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.127e-05/0.3693, allocations: 87.28 kB / 0.772 GB, free: 14.51 MB / 0.545 GB Notification: Performance of Backend: time 3.41e-07/0.3693, allocations: 0 / 0.772 GB, free: 14.51 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004124/0.3697, allocations: 116.1 kB / 0.7721 GB, free: 14.39 MB / 0.545 GB Notification: Performance of SimCode: time 0.0004444/0.3702, allocations: 0.5688 MB / 0.7727 GB, free: 13.78 MB / 0.545 GB Notification: Performance of Templates: time 0.002787/0.373, allocations: 0.8777 MB / 0.7735 GB, free: 12.9 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)