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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.8893/0.8893, allocations: 143.4 MB / 159.2 MB, free: 4.844 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 184.5 kB / 191.9 MB, free: 5.719 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 222.9 MB / 447.4 MB, free: 5.859 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001029/0.001029, allocations: 91.77 kB / 0.517 GB, free: 3.727 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001863/0.001863, allocations: 277.8 kB / 0.5973 GB, free: 49.39 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 87.86 kB / 0.6885 GB, free: 3.859 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3515/0.353, allocations: 81.3 MB / 0.7679 GB, free: 27.68 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.FallingFactorial): time 0.002331/0.3554, allocations: 1.597 MB / 0.7695 GB, free: 26.08 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003131/0.3557, allocations: 127.6 kB / 0.7696 GB, free: 25.95 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.281e-05/0.3557, allocations: 4 kB / 0.7696 GB, free: 25.95 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 3.048e-05/0.3558, allocations: 7.875 kB / 0.7696 GB, free: 25.94 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 4.47e-05/0.3558, allocations: 0 / 0.7696 GB, free: 25.94 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002357/0.3561, allocations: 23.98 kB / 0.7697 GB, free: 25.92 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 5.972e-05/0.3562, allocations: 35.91 kB / 0.7697 GB, free: 25.88 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.872e-05/0.3562, allocations: 19.92 kB / 0.7697 GB, free: 25.86 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.463e-05/0.3563, allocations: 7.984 kB / 0.7697 GB, free: 25.86 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.495e-05/0.3563, allocations: 19.92 kB / 0.7697 GB, free: 25.84 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.368e-05/0.3563, allocations: 4 kB / 0.7697 GB, free: 25.83 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.777e-05/0.3564, allocations: 11.98 kB / 0.7698 GB, free: 25.82 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.414e-05/0.3564, allocations: 15.92 kB / 0.7698 GB, free: 25.8 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 2.374e-05/0.3564, allocations: 11.94 kB / 0.7698 GB, free: 25.79 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 9.616e-05/0.3565, allocations: 50.53 kB / 0.7698 GB, free: 25.75 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.3566, allocations: 0 / 0.7698 GB, free: 25.75 MB / 458.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.3566, allocations: 0 / 0.7698 GB, free: 25.75 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.176e-06/0.3566, allocations: 0 / 0.7698 GB, free: 25.75 MB / 458.7 MB 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.0003899/0.357, allocations: 351.5 kB / 0.7702 GB, free: 25.35 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.226e-05/0.357, allocations: 11.97 kB / 0.7702 GB, free: 25.34 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.374e-05/0.357, allocations: 8.922 kB / 0.7702 GB, free: 25.33 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.828e-05/0.3571, allocations: 168.2 kB / 0.7703 GB, free: 25.13 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.045e-05/0.3571, allocations: 8.375 kB / 0.7704 GB, free: 25.12 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.147e-06/0.3572, allocations: 4.312 kB / 0.7704 GB, free: 25.12 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001635/0.3573, allocations: 66.22 kB / 0.7704 GB, free: 25.05 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.3573, allocations: 192 / 0.7704 GB, free: 25.05 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.3574, allocations: 7.938 kB / 0.7704 GB, free: 25.04 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.3574, allocations: 0 / 0.7704 GB, free: 25.04 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001719/0.3575, allocations: 39.95 kB / 0.7705 GB, free: 25 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000288/0.3578, allocations: 284.8 kB / 0.7707 GB, free: 24.67 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002751/0.3581, allocations: 54.59 kB / 0.7708 GB, free: 24.61 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.652e-05/0.3582, allocations: 20.84 kB / 0.7708 GB, free: 24.59 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001721/0.3584, allocations: 405.5 kB / 0.7712 GB, free: 24.1 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.266e-05/0.3584, allocations: 38.5 kB / 0.7712 GB, free: 24.05 MB / 458.7 MB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/0.3584, allocations: 0 / 0.7712 GB, free: 24.05 MB / 458.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003384/0.3588, allocations: 97.53 kB / 0.7713 GB, free: 23.95 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.687e-05/0.3588, allocations: 51.41 kB / 0.7714 GB, free: 23.89 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.248e-05/0.3589, allocations: 109.8 kB / 0.7715 GB, free: 23.77 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 6.983e-06/0.3589, allocations: 25.7 kB / 0.7715 GB, free: 23.74 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.569e-05/0.3589, allocations: 96.12 kB / 0.7716 GB, free: 23.64 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.18e-05/0.3589, allocations: 11.91 kB / 0.7716 GB, free: 23.63 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.78e-05/0.3589, allocations: 13.72 kB / 0.7716 GB, free: 23.61 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 3.726e-05/0.359, allocations: 322.8 kB / 0.7719 GB, free: 23.29 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.519e-05/0.3591, allocations: 19.98 kB / 0.7719 GB, free: 23.27 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.41e-05/0.3592, allocations: 15.98 kB / 0.772 GB, free: 23.25 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001517/0.3593, allocations: 56.69 kB / 0.772 GB, free: 23.19 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3593, allocations: 0 / 0.772 GB, free: 23.19 MB / 458.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001837/0.3595, allocations: 77.56 kB / 0.7721 GB, free: 23.11 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.3595, allocations: 11.98 kB / 0.7721 GB, free: 23.1 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.3595, allocations: 0 / 0.7721 GB, free: 23.1 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.3596, allocations: 0 / 0.7721 GB, free: 23.1 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.189e-05/0.3596, allocations: 11.98 kB / 0.7721 GB, free: 23.09 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.3596, allocations: 4 kB / 0.7721 GB, free: 23.08 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.141e-05/0.3597, allocations: 4 kB / 0.7721 GB, free: 23.08 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-06/0.3597, allocations: 0 / 0.7721 GB, free: 23.08 MB / 458.7 MB 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 4.914e-05/0.3598, allocations: 122.3 kB / 0.7722 GB, free: 22.95 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.423e-05/0.3598, allocations: 0 / 0.7722 GB, free: 22.95 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002175/0.36, allocations: 89.42 kB / 0.7723 GB, free: 22.85 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.36, allocations: 4 kB / 0.7723 GB, free: 22.85 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.327e-06/0.36, allocations: 0 / 0.7723 GB, free: 22.85 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.36, allocations: 0 / 0.7723 GB, free: 22.85 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001076/0.3602, allocations: 169.6 kB / 0.7725 GB, free: 22.63 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.3602, allocations: 0 / 0.7725 GB, free: 22.63 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.673e-05/0.3602, allocations: 11.98 kB / 0.7725 GB, free: 22.62 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.3602, allocations: 0 / 0.7725 GB, free: 22.62 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.3603, allocations: 4 kB / 0.7725 GB, free: 22.62 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.3603, allocations: 0 / 0.7725 GB, free: 22.62 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3603, allocations: 4 kB / 0.7725 GB, free: 22.61 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003946/0.3607, allocations: 0.7434 MB / 0.7732 GB, free: 21.81 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.741e-05/0.3607, allocations: 77.11 kB / 0.7733 GB, free: 21.72 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.195e-05/0.3607, allocations: 432 / 0.7733 GB, free: 21.72 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.069e-05/0.3608, allocations: 7.984 kB / 0.7733 GB, free: 21.71 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.438e-05/0.3609, allocations: 23.86 kB / 0.7733 GB, free: 21.69 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-06/0.3609, allocations: 0 / 0.7733 GB, free: 21.69 MB / 458.7 MB Notification: Performance of sorting global known variables: time 2.268e-05/0.3609, allocations: 87.58 kB / 0.7734 GB, free: 21.6 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3609, allocations: 0 / 0.7734 GB, free: 21.6 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003047/0.3612, allocations: 12 kB / 0.7734 GB, free: 21.59 MB / 458.7 MB 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 9.938e-05/0.3613, allocations: 111.2 kB / 0.7735 GB, free: 21.47 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002031/0.3615, allocations: 47.95 kB / 0.7736 GB, free: 21.43 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.3615, allocations: 4 kB / 0.7736 GB, free: 21.42 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 8.52e-05/0.3616, allocations: 15.98 kB / 0.7736 GB, free: 21.41 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002334/0.3619, allocations: 11.98 kB / 0.7736 GB, free: 21.39 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002563/0.3621, allocations: 234.1 kB / 0.7738 GB, free: 21.12 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.741e-05/0.3622, allocations: 0.6887 MB / 0.7745 GB, free: 20.41 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.366e-05/0.3623, allocations: 7.938 kB / 0.7745 GB, free: 20.4 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.081e-05/0.3623, allocations: 7.438 kB / 0.7745 GB, free: 20.39 MB / 458.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3623, allocations: 0 / 0.7745 GB, free: 20.39 MB / 458.7 MB Notification: Performance of Templates: time 0.002223/0.3645, allocations: 0.6913 MB / 0.7752 GB, free: 19.71 MB / 458.7 MB 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)