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.0008841/0.0008841, 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.00695/0.00695, allocations: 170 kB / 16.26 MB, free: 6.613 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.271/1.271, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8212/0.8212, allocations: 135.3 MB / 426.7 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002679/0.0002679, allocations: 9.656 kB / 0.5077 GB, free: 4.672 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1224, allocations: 82.32 MB / 0.5881 GB, free: 2.527 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.FallingFactorial): time 0.00131/0.1237, allocations: 1.249 MB / 0.5893 GB, free: 1.262 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003125/0.124, allocations: 136.5 kB / 0.5894 GB, free: 1.125 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.993e-05/0.1241, allocations: 0 / 0.5894 GB, free: 1.125 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.254e-05/0.1241, allocations: 0 / 0.5894 GB, free: 1.125 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.551e-05/0.1241, allocations: 3.938 kB / 0.5894 GB, free: 1.121 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001805/0.1243, allocations: 27.98 kB / 0.5895 GB, free: 1.094 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.012e-05/0.1244, allocations: 31.86 kB / 0.5895 GB, free: 1.062 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.071e-05/0.1245, allocations: 15.98 kB / 0.5895 GB, free: 1.047 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.239e-05/0.1245, allocations: 11.98 kB / 0.5895 GB, free: 1.035 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.638e-05/0.1245, allocations: 11.92 kB / 0.5895 GB, free: 1.023 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.119e-05/0.1245, allocations: 7.938 kB / 0.5895 GB, free: 1.016 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.269e-05/0.1246, allocations: 15.98 kB / 0.5895 GB, free: 1 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.052e-05/0.1246, allocations: 4 kB / 0.5896 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.282e-05/0.1247, allocations: 49.61 kB / 0.5896 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.131e-05/0.1247, allocations: 35.88 kB / 0.5896 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.1248, allocations: 0 / 0.5896 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1248, allocations: 0 / 0.5896 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.755e-06/0.1248, allocations: 0 / 0.5896 GB, free: 0.9062 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.0003498/0.1251, allocations: 355.7 kB / 0.59 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.234e-05/0.1252, allocations: 8.031 kB / 0.59 GB, free: 0.5 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.688e-05/0.1252, allocations: 34.75 kB / 0.59 GB, free: 468 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.041e-05/0.1252, allocations: 4.938 kB / 0.59 GB, free: 464 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.498e-05/0.1253, allocations: 176.2 kB / 0.5902 GB, free: 248 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.701e-05/0.1253, allocations: 4.375 kB / 0.5902 GB, free: 244 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.985e-06/0.1253, allocations: 4.312 kB / 0.5902 GB, free: 240 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001675/0.1255, allocations: 66.23 kB / 0.5903 GB, free: 168 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.533e-06/0.1255, allocations: 7.922 kB / 0.5903 GB, free: 160 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.793e-06/0.1255, allocations: 0 / 0.5903 GB, free: 160 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.577e-06/0.1255, allocations: 4 kB / 0.5903 GB, free: 156 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001824/0.1257, allocations: 59.94 kB / 0.5903 GB, free: 96 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003047/0.126, allocations: 280.6 kB / 0.5906 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002637/0.1263, allocations: 70.59 kB / 0.5907 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.631e-05/0.1264, allocations: 28.84 kB / 0.5907 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002074/0.1266, allocations: 393.5 kB / 0.5911 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.548e-05/0.1267, allocations: 42.55 kB / 0.5911 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.1267, allocations: 0 / 0.5911 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0003448/0.127, allocations: 113.6 kB / 0.5912 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.271e-05/0.1271, allocations: 51.41 kB / 0.5913 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.89e-05/0.1271, allocations: 105.8 kB / 0.5914 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.171e-05/0.1271, allocations: 29.7 kB / 0.5914 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.082e-05/0.1272, allocations: 88.12 kB / 0.5915 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.074e-05/0.1272, allocations: 3.906 kB / 0.5915 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.397e-05/0.1272, allocations: 17.72 kB / 0.5915 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.138e-05/0.1273, allocations: 314.8 kB / 0.5918 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.991e-05/0.1274, allocations: 31.97 kB / 0.5918 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.075e-05/0.1275, allocations: 24.17 kB / 0.5918 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001677/0.1277, allocations: 60.89 kB / 0.5919 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.1277, allocations: 0 / 0.5919 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002103/0.1279, allocations: 89.5 kB / 0.592 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.247e-06/0.1279, allocations: 11.94 kB / 0.592 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.487e-06/0.1279, allocations: 0 / 0.592 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.913e-06/0.1279, allocations: 0 / 0.592 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.22e-05/0.128, allocations: 15.98 kB / 0.592 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.647e-06/0.128, allocations: 0 / 0.592 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.639e-05/0.1281, allocations: 11.98 kB / 0.592 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-06/0.1281, allocations: 4 kB / 0.592 GB, free: 14.12 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 5.905e-05/0.1281, allocations: 117.8 kB / 0.5921 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.149e-05/0.1282, allocations: 0 / 0.5921 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002395/0.1284, allocations: 97.48 kB / 0.5922 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.542e-06/0.1284, allocations: 0 / 0.5922 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.1284, allocations: 0 / 0.5922 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-06/0.1284, allocations: 4 kB / 0.5922 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001316/0.1286, allocations: 173.6 kB / 0.5924 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.1286, allocations: 0 / 0.5924 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.032e-05/0.1287, allocations: 19.92 kB / 0.5924 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.1287, allocations: 0 / 0.5924 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.1287, allocations: 4 kB / 0.5924 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1287, allocations: 0 / 0.5924 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.1287, allocations: 4 kB / 0.5924 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002337/0.1289, allocations: 183.4 kB / 0.5926 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.656e-05/0.129, allocations: 81.09 kB / 0.5927 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.189e-05/0.129, allocations: 4 kB / 0.5927 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.327e-05/0.1291, allocations: 8 kB / 0.5927 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.727e-05/0.1291, allocations: 15.92 kB / 0.5927 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-06/0.1291, allocations: 0 / 0.5927 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.491e-05/0.1292, allocations: 87.27 kB / 0.5928 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1292, allocations: 0 / 0.5928 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002072/0.1294, allocations: 15.94 kB / 0.5928 GB, free: 13.21 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.0004511/0.1298, allocations: 0.7241 MB / 0.5935 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002053/0.13, allocations: 64.06 kB / 0.5936 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.1301, allocations: 0 / 0.5936 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.504e-05/0.1302, allocations: 31.97 kB / 0.5936 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002192/0.1304, allocations: 4 kB / 0.5936 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001157/0.1316, allocations: 1.33 MB / 0.5949 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001619/0.1317, allocations: 0.6809 MB / 0.5956 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.727e-05/0.1318, allocations: 4 kB / 0.5956 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.116e-05/0.1318, allocations: 11.44 kB / 0.5956 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of SimCode: time 2.11e-07/0.1318, allocations: 0 / 0.5956 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.36/1.492, allocations: 1.407 MB / 0.597 GB, free: 8.965 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001884/1.492, allocations: 191.6 kB / 0.5972 GB, free: 8.711 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.69/4.182, allocations: 7.938 kB / 0.5972 GB, free: 8.703 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)