Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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: "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.FallingFactorial,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.FallingFactorial,fileNamePrefix="IDEAS_dev_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.0009026/0.0009027, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008697/0.0008697, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.147/1.147, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8233/0.8233, allocations: 135.1 MB / 425.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00112/0.00112, allocations: 68.83 kB / 0.5054 GB, free: 5.219 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1165, allocations: 80.92 MB / 0.5845 GB, free: 4.461 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.FallingFactorial): time 0.002379/0.1189, allocations: 1.52 MB / 0.586 GB, free: 2.922 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003123/0.1192, allocations: 142 kB / 0.5861 GB, free: 2.781 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.151e-05/0.1193, allocations: 0 / 0.5861 GB, free: 2.781 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.568e-05/0.1193, allocations: 3.938 kB / 0.5861 GB, free: 2.777 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.131e-05/0.1193, allocations: 0 / 0.5861 GB, free: 2.777 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002406/0.1196, allocations: 31.91 kB / 0.5861 GB, free: 2.746 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.305e-05/0.1197, allocations: 39.86 kB / 0.5862 GB, free: 2.707 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.183e-05/0.1197, allocations: 19.98 kB / 0.5862 GB, free: 2.688 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.565e-05/0.1198, allocations: 11.98 kB / 0.5862 GB, free: 2.676 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.766e-05/0.1198, allocations: 15.92 kB / 0.5862 GB, free: 2.66 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.529e-05/0.1198, allocations: 4 kB / 0.5862 GB, free: 2.656 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.206e-05/0.1199, allocations: 23.92 kB / 0.5862 GB, free: 2.633 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.438e-05/0.1199, allocations: 7.984 kB / 0.5862 GB, free: 2.625 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.609e-05/0.12, allocations: 15.92 kB / 0.5863 GB, free: 2.609 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001009/0.1201, allocations: 43.89 kB / 0.5863 GB, free: 2.566 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.1201, allocations: 0 / 0.5863 GB, free: 2.566 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1201, allocations: 4 kB / 0.5863 GB, free: 2.562 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.568e-06/0.1201, allocations: 0 / 0.5863 GB, free: 2.562 MB / 494.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.00039/0.1205, allocations: 355.6 kB / 0.5866 GB, free: 2.164 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.343e-05/0.1205, allocations: 8.031 kB / 0.5866 GB, free: 2.156 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.089e-05/0.1206, allocations: 34.75 kB / 0.5867 GB, free: 2.113 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.722e-05/0.1206, allocations: 8.844 kB / 0.5867 GB, free: 2.105 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.902e-05/0.1207, allocations: 176.3 kB / 0.5869 GB, free: 1.895 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/0.1207, allocations: 4.375 kB / 0.5869 GB, free: 1.891 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.155e-06/0.1207, allocations: 384 / 0.5869 GB, free: 1.891 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001693/0.1209, allocations: 66.23 kB / 0.5869 GB, free: 1.82 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.1209, allocations: 3.938 kB / 0.5869 GB, free: 1.816 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.905e-06/0.1209, allocations: 0 / 0.5869 GB, free: 1.816 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.121, allocations: 0 / 0.5869 GB, free: 1.816 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001771/0.1211, allocations: 43.95 kB / 0.587 GB, free: 1.773 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003268/0.1215, allocations: 292.6 kB / 0.5872 GB, free: 1.438 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002815/0.1218, allocations: 54.61 kB / 0.5873 GB, free: 1.375 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.407e-05/0.1219, allocations: 24.83 kB / 0.5873 GB, free: 1.348 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002248/0.1221, allocations: 397.5 kB / 0.5877 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.775e-05/0.1221, allocations: 34.56 kB / 0.5877 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 2.154e-06/0.1221, allocations: 8 kB / 0.5877 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003384/0.1225, allocations: 93.75 kB / 0.5878 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.545e-05/0.1225, allocations: 51.41 kB / 0.5879 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.144e-05/0.1226, allocations: 109.8 kB / 0.588 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.161e-05/0.1226, allocations: 25.7 kB / 0.588 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.525e-05/0.1226, allocations: 91.98 kB / 0.5881 GB, free: 424 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.267e-05/0.1226, allocations: 11.91 kB / 0.5881 GB, free: 412 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.286e-05/0.1227, allocations: 17.7 kB / 0.5881 GB, free: 388 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.846e-05/0.1228, allocations: 318.8 kB / 0.5884 GB, free: 60 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.394e-05/0.1229, allocations: 19.97 kB / 0.5885 GB, free: 40 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.982e-05/0.123, allocations: 23.97 kB / 0.5885 GB, free: 16 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000172/0.1231, allocations: 52.75 kB / 0.5885 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.1231, allocations: 0 / 0.5885 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001994/0.1233, allocations: 73.66 kB / 0.5886 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.1234, allocations: 8 kB / 0.5886 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.367e-06/0.1234, allocations: 3.938 kB / 0.5886 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.1234, allocations: 0 / 0.5886 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.159e-05/0.1235, allocations: 11.98 kB / 0.5886 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.1235, allocations: 320 / 0.5886 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.045e-05/0.1236, allocations: 11.98 kB / 0.5886 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-06/0.1236, allocations: 0 / 0.5886 GB, free: 15.85 MB / 0.4981 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.817e-05/0.1236, allocations: 117.8 kB / 0.5887 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.543e-05/0.1237, allocations: 3.906 kB / 0.5887 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002361/0.1239, allocations: 85.48 kB / 0.5888 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.1239, allocations: 0 / 0.5888 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.1239, allocations: 0 / 0.5888 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-06/0.1239, allocations: 4 kB / 0.5888 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001398/0.1241, allocations: 177.6 kB / 0.589 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.1241, allocations: 0 / 0.589 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.158e-05/0.1242, allocations: 11.98 kB / 0.589 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.1242, allocations: 0 / 0.589 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-06/0.1242, allocations: 0 / 0.589 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.367e-06/0.1242, allocations: 7.984 kB / 0.589 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1242, allocations: 4 kB / 0.589 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002284/0.1244, allocations: 175.4 kB / 0.5892 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.269e-05/0.1245, allocations: 81.09 kB / 0.5893 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.345e-05/0.1245, allocations: 4 kB / 0.5893 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.773e-05/0.1246, allocations: 4 kB / 0.5893 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.894e-05/0.1246, allocations: 7.984 kB / 0.5893 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.1246, allocations: 0 / 0.5893 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.861e-05/0.1247, allocations: 91.27 kB / 0.5894 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1247, allocations: 0 / 0.5894 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002135/0.1249, allocations: 19.84 kB / 0.5894 GB, free: 14.96 MB / 0.4981 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.000481/0.1254, allocations: 0.716 MB / 0.5901 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002044/0.1256, allocations: 59.94 kB / 0.5901 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.1256, allocations: 3.938 kB / 0.5901 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.883e-05/0.1257, allocations: 23.97 kB / 0.5902 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000217/0.1259, allocations: 6.5 kB / 0.5902 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001163/0.1271, allocations: 1.292 MB / 0.5914 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001775/0.1273, allocations: 0.6807 MB / 0.5921 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.552e-05/0.1273, allocations: 0 / 0.5921 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.659e-05/0.1273, allocations: 19.42 kB / 0.5921 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.1273, allocations: 0 / 0.5921 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.62/1.748, allocations: 1.644 MB / 0.5937 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.42/14.17, allocations: 8 kB / 0.5937 GB, free: 10.46 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_FallingFactorial_fmu --startTime=0 --stopTime=11 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_FallingFactorial.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe 2>&1)