Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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: "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.FallingFactorial,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.FallingFactorial,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006931/0.0006958, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.004146/0.004146, allocations: 170.7 kB / 16.26 MB, free: 6.676 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.203/1.203, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6912/0.6912, allocations: 132.3 MB / 423.8 MB, free: 1.996 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002668/0.0002668, allocations: 12 kB / 0.5041 GB, free: 3.785 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3246/0.3249, allocations: 81.56 MB / 0.5837 GB, free: 4.047 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.FallingFactorial): time 0.001168/0.3261, allocations: 1.253 MB / 0.585 GB, free: 3.137 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002656/0.3263, allocations: 133.7 kB / 0.5851 GB, free: 3.043 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.145e-05/0.3264, allocations: 1.719 kB / 0.5851 GB, free: 3.043 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.435e-05/0.3264, allocations: 8.047 kB / 0.5851 GB, free: 3.039 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.938e-05/0.3264, allocations: 0.8438 kB / 0.5851 GB, free: 3.039 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001959/0.3266, allocations: 27.92 kB / 0.5851 GB, free: 3.023 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.332e-05/0.3267, allocations: 30.89 kB / 0.5852 GB, free: 3.012 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.617e-05/0.3268, allocations: 16.92 kB / 0.5852 GB, free: 3.004 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.455e-05/0.3268, allocations: 14.92 kB / 0.5852 GB, free: 2.996 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.7e-05/0.3269, allocations: 12.89 kB / 0.5852 GB, free: 2.992 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.118e-05/0.3269, allocations: 1.094 kB / 0.5852 GB, free: 2.992 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.574e-05/0.3269, allocations: 15.64 kB / 0.5852 GB, free: 2.988 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.242e-05/0.327, allocations: 12.23 kB / 0.5852 GB, free: 2.98 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.588e-05/0.327, allocations: 39.27 kB / 0.5853 GB, free: 2.941 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 9.114e-05/0.3271, allocations: 38.2 kB / 0.5853 GB, free: 2.93 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.3271, allocations: 0 / 0.5853 GB, free: 2.93 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3271, allocations: 0 / 0.5853 GB, free: 2.93 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.086e-06/0.3271, allocations: 2.031 kB / 0.5853 GB, free: 2.93 MB / 430.1 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.0003282/0.3274, allocations: 353.7 kB / 0.5856 GB, free: 2.562 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.3275, allocations: 14.95 kB / 0.5857 GB, free: 2.559 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.186e-05/0.3275, allocations: 32.56 kB / 0.5857 GB, free: 2.52 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.059e-05/0.3275, allocations: 6.625 kB / 0.5857 GB, free: 2.516 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.153e-05/0.3276, allocations: 167.6 kB / 0.5858 GB, free: 2.316 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.945e-05/0.3276, allocations: 5.969 kB / 0.5859 GB, free: 2.312 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.155e-05/0.3276, allocations: 2.531 kB / 0.5859 GB, free: 2.312 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001768/0.3278, allocations: 83.56 kB / 0.5859 GB, free: 2.258 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.3278, allocations: 7.875 kB / 0.5859 GB, free: 2.25 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.875e-06/0.3278, allocations: 0.9688 kB / 0.5859 GB, free: 2.25 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.3279, allocations: 1.5 kB / 0.5859 GB, free: 2.25 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001902/0.3281, allocations: 53.73 kB / 0.586 GB, free: 2.242 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002687/0.3283, allocations: 284.3 kB / 0.5863 GB, free: 1.949 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002873/0.3286, allocations: 70.66 kB / 0.5863 GB, free: 1.91 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/0.3287, allocations: 34.98 kB / 0.5864 GB, free: 1.895 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001513/0.3289, allocations: 398.1 kB / 0.5867 GB, free: 1.426 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.069e-05/0.3289, allocations: 32.11 kB / 0.5868 GB, free: 1.387 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.3289, allocations: 0 / 0.5868 GB, free: 1.387 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003586/0.3293, allocations: 116.2 kB / 0.5869 GB, free: 1.336 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.867e-05/0.3293, allocations: 52.56 kB / 0.5869 GB, free: 1.273 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.761e-05/0.3294, allocations: 111.1 kB / 0.587 GB, free: 1.168 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.003e-06/0.3294, allocations: 25.7 kB / 0.5871 GB, free: 1.137 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.306e-05/0.3294, allocations: 90.78 kB / 0.5872 GB, free: 1.047 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.135e-05/0.3294, allocations: 6.281 kB / 0.5872 GB, free: 1.043 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.032e-05/0.3294, allocations: 16.16 kB / 0.5872 GB, free: 1.023 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.433e-05/0.3295, allocations: 316.9 kB / 0.5875 GB, free: 0.707 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.998e-05/0.3296, allocations: 25.33 kB / 0.5875 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.313e-05/0.3297, allocations: 29.03 kB / 0.5875 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001692/0.3298, allocations: 51.94 kB / 0.5876 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.3299, allocations: 0.7812 kB / 0.5876 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002047/0.3301, allocations: 91.3 kB / 0.5877 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/0.3301, allocations: 7.641 kB / 0.5877 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.3301, allocations: 0.625 kB / 0.5877 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.889e-06/0.3301, allocations: 3.938 kB / 0.5877 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.642e-05/0.3302, allocations: 18.34 kB / 0.5877 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.3302, allocations: 0 / 0.5877 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.779e-05/0.3303, allocations: 17.62 kB / 0.5877 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-06/0.3303, allocations: 1.094 kB / 0.5877 GB, free: 0.6211 MB / 430.1 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.49e-05/0.3303, allocations: 118.3 kB / 0.5878 GB, free: 0.5 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.34e-05/0.3304, allocations: 2.656 kB / 0.5878 GB, free: 0.5 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002433/0.3306, allocations: 97.86 kB / 0.5879 GB, free: 452 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.3306, allocations: 1.219 kB / 0.5879 GB, free: 452 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.3306, allocations: 0 / 0.5879 GB, free: 452 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.3306, allocations: 0.75 kB / 0.5879 GB, free: 452 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001082/0.3307, allocations: 173.2 kB / 0.5881 GB, free: 244 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-07/0.3307, allocations: 1 kB / 0.5881 GB, free: 244 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.244e-05/0.3308, allocations: 17.3 kB / 0.5881 GB, free: 240 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.3308, allocations: 2.234 kB / 0.5881 GB, free: 240 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.561e-06/0.3308, allocations: 4 kB / 0.5881 GB, free: 236 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3308, allocations: 0.6562 kB / 0.5881 GB, free: 236 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.3309, allocations: 5.156 kB / 0.5881 GB, free: 232 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002218/0.3311, allocations: 187.1 kB / 0.5883 GB, free: 80 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.605e-05/0.3311, allocations: 79.08 kB / 0.5884 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.177e-05/0.3311, allocations: 1.641 kB / 0.5884 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.317e-05/0.3312, allocations: 8.422 kB / 0.5884 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.052e-05/0.3313, allocations: 5.844 kB / 0.5884 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.03e-06/0.3313, allocations: 5.828 kB / 0.5884 GB, free: 15.98 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.525e-05/0.3313, allocations: 83.16 kB / 0.5885 GB, free: 15.91 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3313, allocations: 0.6562 kB / 0.5885 GB, free: 15.91 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002104/0.3316, allocations: 16.77 kB / 0.5885 GB, free: 15.9 MB / 446.1 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 0.0005095/0.3321, allocations: 0.7269 MB / 0.5892 GB, free: 15.21 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002185/0.3323, allocations: 54.83 kB / 0.5893 GB, free: 15.21 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.3323, allocations: 0.7188 kB / 0.5893 GB, free: 15.21 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001014/0.3324, allocations: 38.97 kB / 0.5893 GB, free: 15.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000226/0.3327, allocations: 6.266 kB / 0.5893 GB, free: 15.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00129/0.334, allocations: 1.319 MB / 0.5906 GB, free: 13.99 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002094/0.3342, allocations: 0.6794 MB / 0.5912 GB, free: 13.29 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.035e-05/0.3342, allocations: 12.2 kB / 0.5913 GB, free: 13.29 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.268e-05/0.3342, allocations: 11.73 kB / 0.5913 GB, free: 13.28 MB / 446.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3343, allocations: 0 / 0.5913 GB, free: 13.28 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.207/0.5413, allocations: 1.403 MB / 0.5926 GB, free: 13.12 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001971/0.5415, allocations: 191.2 kB / 0.5928 GB, free: 12.86 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.618/2.16, allocations: 0 / 0.5928 GB, free: 12.86 MB / 446.1 MB (rm -f IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_FallingFactorial_fmu --startTime=0 --stopTime=11 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_FallingFactorial.fmu > IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe 2>&1)