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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001379/0.001379, allocations: 105.6 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001433/0.001433, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 225.6 MB / 247.8 MB, free: 3.727 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.861/0.861, allocations: 133.9 MB / 436.6 MB, free: 13.78 MB / 350.1 MB " [Timeout remaining time 179] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001906/0.001906, allocations: 67.88 kB / 0.6051 GB, free: 8.23 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3973/0.3992, allocations: 84.67 MB / 0.6878 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.FallingFactorial): time 0.002255/0.4014, allocations: 1.539 MB / 0.6893 GB, free: 0.6328 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003127/0.4017, allocations: 135.7 kB / 0.6894 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.524e-05/0.4018, allocations: 0 / 0.6894 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.943e-05/0.4018, allocations: 4.938 kB / 0.6894 GB, free: 0.5234 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.057e-05/0.4018, allocations: 15.91 kB / 0.6894 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002466/0.4021, allocations: 20.92 kB / 0.6895 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.274e-05/0.4022, allocations: 41.97 kB / 0.6895 GB, free: 480 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.313e-05/0.4022, allocations: 9.531 kB / 0.6895 GB, free: 476 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.491e-05/0.4023, allocations: 20.31 kB / 0.6895 GB, free: 460 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.509e-05/0.4023, allocations: 17.45 kB / 0.6896 GB, free: 448 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.262e-05/0.4023, allocations: 3.625 kB / 0.6896 GB, free: 448 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.776e-05/0.4024, allocations: 18.45 kB / 0.6896 GB, free: 440 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.226e-05/0.4024, allocations: 8.969 kB / 0.6896 GB, free: 432 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.477e-05/0.4024, allocations: 19.91 kB / 0.6896 GB, free: 416 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001085/0.4025, allocations: 50.55 kB / 0.6897 GB, free: 376 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.4025, allocations: 1.188 kB / 0.6897 GB, free: 376 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.413e-06/0.4025, allocations: 0 / 0.6897 GB, free: 376 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.4025, allocations: 0 / 0.6897 GB, free: 376 kB / 0.4981 GB 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.0003989/0.4029, allocations: 353.1 kB / 0.69 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.403, allocations: 9.844 kB / 0.69 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.958e-05/0.403, allocations: 40 kB / 0.69 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.814e-05/0.403, allocations: 7.641 kB / 0.69 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001321/0.4032, allocations: 169.5 kB / 0.6902 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.181e-05/0.4032, allocations: 5.594 kB / 0.6902 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.307e-05/0.4032, allocations: 6.562 kB / 0.6902 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001894/0.4034, allocations: 63.72 kB / 0.6903 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.4034, allocations: 3.938 kB / 0.6903 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.4034, allocations: 5.281 kB / 0.6903 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.4034, allocations: 0 / 0.6903 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001813/0.4036, allocations: 44.42 kB / 0.6903 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003895/0.404, allocations: 286.4 kB / 0.6906 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003014/0.4043, allocations: 58.44 kB / 0.6907 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.332e-05/0.4044, allocations: 23.97 kB / 0.6907 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002986/0.4047, allocations: 400.1 kB / 0.6911 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.833e-05/0.4047, allocations: 35.72 kB / 0.6911 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 1.253e-06/0.4047, allocations: 0 / 0.6911 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.0003579/0.4051, allocations: 91.19 kB / 0.6912 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.675e-05/0.4051, allocations: 51.41 kB / 0.6912 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.833e-05/0.4052, allocations: 116.2 kB / 0.6913 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.46e-05/0.4052, allocations: 25.7 kB / 0.6914 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.283e-05/0.4053, allocations: 93.09 kB / 0.6915 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.447e-05/0.4053, allocations: 10.34 kB / 0.6915 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.368e-05/0.4053, allocations: 12.84 kB / 0.6915 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.4055, allocations: 319.8 kB / 0.6918 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001141/0.4056, allocations: 23.22 kB / 0.6918 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.902e-05/0.4056, allocations: 14.2 kB / 0.6918 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001668/0.4058, allocations: 50.91 kB / 0.6919 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.4058, allocations: 1.25 kB / 0.6919 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002072/0.406, allocations: 76.28 kB / 0.6919 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.406, allocations: 6.156 kB / 0.6919 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.406, allocations: 0 / 0.6919 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.4061, allocations: 0 / 0.6919 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.802e-05/0.4061, allocations: 15.55 kB / 0.692 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.4061, allocations: 1.156 kB / 0.692 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.824e-05/0.4062, allocations: 11.98 kB / 0.692 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.4062, allocations: 5.062 kB / 0.692 GB, free: 13.94 MB / 0.5137 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 8.373e-05/0.4063, allocations: 119.8 kB / 0.6921 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.003e-05/0.4063, allocations: 5.984 kB / 0.6921 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002556/0.4066, allocations: 80.27 kB / 0.6922 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.4066, allocations: 0 / 0.6922 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.4066, allocations: 9.078 kB / 0.6922 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.4066, allocations: 0 / 0.6922 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001913/0.4068, allocations: 169.4 kB / 0.6923 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.4068, allocations: 0 / 0.6923 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.918e-05/0.4069, allocations: 20.23 kB / 0.6924 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.4069, allocations: 0 / 0.6924 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.867e-06/0.4069, allocations: 0.9062 kB / 0.6924 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.4069, allocations: 0 / 0.6924 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.4069, allocations: 1.156 kB / 0.6924 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000265/0.4071, allocations: 175.7 kB / 0.6925 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.202e-05/0.4072, allocations: 90.05 kB / 0.6926 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.426e-05/0.4072, allocations: 1.156 kB / 0.6926 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.275e-05/0.4073, allocations: 2.625 kB / 0.6926 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.331e-05/0.4073, allocations: 7.641 kB / 0.6926 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-06/0.4073, allocations: 1.188 kB / 0.6926 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.678e-05/0.4074, allocations: 96.88 kB / 0.6927 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.4074, allocations: 5.188 kB / 0.6927 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000227/0.4076, allocations: 7.906 kB / 0.6927 GB, free: 13.15 MB / 0.5137 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.0005925/0.4082, allocations: 0.7099 MB / 0.6934 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002175/0.4084, allocations: 47.89 kB / 0.6935 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.4084, allocations: 1 kB / 0.6935 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001005/0.4085, allocations: 30.41 kB / 0.6935 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002716/0.4088, allocations: 2.406 kB / 0.6935 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001453/0.4103, allocations: 1.293 MB / 0.6948 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002802/0.4105, allocations: 0.6795 MB / 0.6954 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.24e-05/0.4106, allocations: 6.328 kB / 0.6954 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.044e-05/0.4106, allocations: 14.59 kB / 0.6955 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of SimCode: time 3.21e-07/0.4106, allocations: 3.938 kB / 0.6955 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02198/0.4326, allocations: 1.686 MB / 0.6971 GB, free: 9.543 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.981/8.413, allocations: 2.938 kB / 0.6971 GB, free: 9.543 MB / 0.5137 GB " [Timeout remaining time 652] (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 --stepSize=0.0044 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_FallingFactorial.fmu > IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.834818257018924] Failed to read output from testmodel.py, exit status != 0: 8.481602166313678 8.503617569 8.097194311 Calling exit ...