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.00148/0.00148, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001701/0.001701, allocations: 187.5 kB / 16.25 MB, free: 6.637 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.581/1.581, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9/0.9, allocations: 135.1 MB / 425.2 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 60.62 kB / 0.5049 GB, free: 5.555 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1211, allocations: 80.94 MB / 0.584 GB, free: 4.785 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.FallingFactorial): time 0.002153/0.1233, allocations: 1.58 MB / 0.5855 GB, free: 3.184 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002793/0.1236, allocations: 132.5 kB / 0.5857 GB, free: 3.051 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.739e-05/0.1236, allocations: 0 / 0.5857 GB, free: 3.051 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.075e-05/0.1237, allocations: 7.922 kB / 0.5857 GB, free: 3.043 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.644e-05/0.1237, allocations: 0 / 0.5857 GB, free: 3.043 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002194/0.124, allocations: 27.92 kB / 0.5857 GB, free: 3.016 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.573e-05/0.124, allocations: 43.84 kB / 0.5857 GB, free: 2.973 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.317e-05/0.1241, allocations: 19.98 kB / 0.5858 GB, free: 2.953 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.351e-05/0.1241, allocations: 8 kB / 0.5858 GB, free: 2.945 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.381e-05/0.1242, allocations: 19.86 kB / 0.5858 GB, free: 2.926 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.156e-05/0.1242, allocations: 7.938 kB / 0.5858 GB, free: 2.918 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.784e-05/0.1242, allocations: 19.98 kB / 0.5858 GB, free: 2.898 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.259e-05/0.1243, allocations: 11.97 kB / 0.5858 GB, free: 2.887 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.119e-05/0.1243, allocations: 11.94 kB / 0.5858 GB, free: 2.875 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.981e-05/0.1244, allocations: 43.88 kB / 0.5859 GB, free: 2.832 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1244, allocations: 7.984 kB / 0.5859 GB, free: 2.824 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1244, allocations: 0 / 0.5859 GB, free: 2.824 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.647e-06/0.1244, allocations: 0 / 0.5859 GB, free: 2.824 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.0003599/0.1248, allocations: 351.6 kB / 0.5862 GB, free: 2.43 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.127e-05/0.1248, allocations: 12.03 kB / 0.5862 GB, free: 2.418 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.703e-05/0.1248, allocations: 34.75 kB / 0.5863 GB, free: 2.375 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.3e-05/0.1249, allocations: 8.844 kB / 0.5863 GB, free: 2.367 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8e-05/0.125, allocations: 164.4 kB / 0.5864 GB, free: 2.168 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/0.125, allocations: 4.375 kB / 0.5864 GB, free: 2.164 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.228e-06/0.125, allocations: 4.375 kB / 0.5864 GB, free: 2.16 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001603/0.1252, allocations: 58.23 kB / 0.5865 GB, free: 2.098 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.1252, allocations: 15.86 kB / 0.5865 GB, free: 2.082 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.554e-06/0.1252, allocations: 0 / 0.5865 GB, free: 2.082 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.1252, allocations: 0 / 0.5865 GB, free: 2.082 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001735/0.1254, allocations: 43.95 kB / 0.5865 GB, free: 2.039 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002977/0.1257, allocations: 280.7 kB / 0.5868 GB, free: 1.715 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002756/0.126, allocations: 66.53 kB / 0.5869 GB, free: 1.641 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.315e-05/0.1261, allocations: 20.84 kB / 0.5869 GB, free: 1.617 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002077/0.1263, allocations: 397.5 kB / 0.5873 GB, free: 1.137 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.848e-05/0.1263, allocations: 42.55 kB / 0.5873 GB, free: 1.086 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.1263, allocations: 0 / 0.5873 GB, free: 1.086 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003179/0.1266, allocations: 93.81 kB / 0.5874 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.356e-05/0.1267, allocations: 51.41 kB / 0.5875 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.951e-05/0.1267, allocations: 113.8 kB / 0.5876 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.06e-05/0.1267, allocations: 25.7 kB / 0.5876 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.81e-05/0.1268, allocations: 100.1 kB / 0.5877 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.147e-05/0.1268, allocations: 7.906 kB / 0.5877 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.954e-05/0.1268, allocations: 13.72 kB / 0.5877 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.552e-05/0.1269, allocations: 318.8 kB / 0.588 GB, free: 332 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.058e-05/0.127, allocations: 19.97 kB / 0.588 GB, free: 312 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.199e-05/0.1271, allocations: 19.98 kB / 0.588 GB, free: 292 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001466/0.1272, allocations: 48.81 kB / 0.5881 GB, free: 240 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.1272, allocations: 0 / 0.5881 GB, free: 240 kB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001893/0.1274, allocations: 77.59 kB / 0.5882 GB, free: 156 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.137e-06/0.1275, allocations: 7.938 kB / 0.5882 GB, free: 148 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.036e-06/0.1275, allocations: 4 kB / 0.5882 GB, free: 144 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/0.1275, allocations: 3.984 kB / 0.5882 GB, free: 140 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.055e-05/0.1276, allocations: 11.94 kB / 0.5882 GB, free: 128 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.249e-06/0.1276, allocations: 4 kB / 0.5882 GB, free: 124 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.284e-05/0.1276, allocations: 11.98 kB / 0.5882 GB, free: 112 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.059e-06/0.1276, allocations: 0 / 0.5882 GB, free: 112 kB / 494.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 6.902e-05/0.1277, allocations: 117.8 kB / 0.5883 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.374e-05/0.1277, allocations: 3.906 kB / 0.5883 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002223/0.128, allocations: 85.53 kB / 0.5884 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.128, allocations: 0 / 0.5884 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.128, allocations: 4 kB / 0.5884 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.128, allocations: 0 / 0.5884 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001335/0.1281, allocations: 169.6 kB / 0.5886 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.1281, allocations: 0 / 0.5886 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.987e-05/0.1282, allocations: 15.92 kB / 0.5886 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.1282, allocations: 0 / 0.5886 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.311e-06/0.1282, allocations: 0 / 0.5886 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.1282, allocations: 0 / 0.5886 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1282, allocations: 0 / 0.5886 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002177/0.1285, allocations: 179.4 kB / 0.5888 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.173e-05/0.1285, allocations: 77.11 kB / 0.5888 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.248e-05/0.1285, allocations: 0 / 0.5888 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.141e-05/0.1286, allocations: 11.98 kB / 0.5888 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.766e-05/0.1286, allocations: 4 kB / 0.5888 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-06/0.1287, allocations: 0 / 0.5888 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.73e-05/0.1287, allocations: 91.27 kB / 0.5889 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1287, allocations: 4 kB / 0.5889 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002087/0.1289, allocations: 15.84 kB / 0.589 GB, free: 15.24 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.0004465/0.1294, allocations: 0.7126 MB / 0.5897 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001911/0.1296, allocations: 47.95 kB / 0.5897 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.1296, allocations: 4 kB / 0.5897 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.635e-05/0.1297, allocations: 27.91 kB / 0.5897 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002198/0.1299, allocations: 6.188 kB / 0.5897 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001117/0.131, allocations: 1.298 MB / 0.591 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001709/0.1312, allocations: 0.6807 MB / 0.5917 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.864e-05/0.1312, allocations: 4 kB / 0.5917 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.321e-05/0.1313, allocations: 19.42 kB / 0.5917 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.1313, allocations: 0 / 0.5917 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8707/1.002, allocations: 1.516 MB / 0.5932 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003089/1.002, allocations: 195.1 kB / 0.5934 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.249/3.251, allocations: 0 / 0.5934 GB, free: 10.66 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)