Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.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.001436/0.001436, allocations: 103.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.001587/0.001587, 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.47/1.47, allocations: 225.6 MB / 247.8 MB, free: 3.738 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.896/0.896, allocations: 134 MB / 436.6 MB, free: 13.69 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.Functions.Examples.FallingFactorial,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001929/0.001929, allocations: 67.89 kB / 0.6052 GB, free: 8.148 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3688/0.3707, allocations: 84.67 MB / 0.6878 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001499/0.3722, allocations: 0.576 MB / 0.6884 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002281/0.3725, allocations: 58.73 kB / 0.6885 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.702e-05/0.3725, allocations: 0 / 0.6885 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.864e-05/0.3725, allocations: 7.875 kB / 0.6885 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.31e-06/0.3725, allocations: 4.906 kB / 0.6885 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002404/0.3728, allocations: 18.03 kB / 0.6885 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.134e-05/0.3728, allocations: 27.62 kB / 0.6885 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.555e-05/0.3729, allocations: 1.344 kB / 0.6885 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.739e-05/0.3729, allocations: 14.55 kB / 0.6885 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.305e-05/0.3729, allocations: 12.92 kB / 0.6885 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.078e-05/0.3729, allocations: 2.406 kB / 0.6885 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.57e-05/0.373, allocations: 15.83 kB / 0.6886 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.367e-05/0.373, allocations: 9.359 kB / 0.6886 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.618e-05/0.373, allocations: 20.19 kB / 0.6886 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.091e-05/0.3731, allocations: 40.47 kB / 0.6886 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.3731, allocations: 4 kB / 0.6886 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.924e-06/0.3731, allocations: 1.594 kB / 0.6886 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.3731, allocations: 0 / 0.6886 GB, free: 1.16 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0002295/0.3734, allocations: 331.3 kB / 0.6889 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.3734, allocations: 8.812 kB / 0.689 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.608e-05/0.3734, allocations: 37.16 kB / 0.689 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.588e-05/0.3734, allocations: 6.078 kB / 0.689 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.397e-05/0.3735, allocations: 169.5 kB / 0.6892 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.3735, allocations: 6.625 kB / 0.6892 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.021e-05/0.3735, allocations: 8.031 kB / 0.6892 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001128/0.3736, allocations: 62.33 kB / 0.6892 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.186e-06/0.3736, allocations: 7.875 kB / 0.6892 GB, free: 500 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.234e-06/0.3736, allocations: 0 / 0.6892 GB, free: 500 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.3736, allocations: 1.531 kB / 0.6892 GB, free: 500 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001224/0.3738, allocations: 102.9 kB / 0.6893 GB, free: 452 kB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001099/0.3739, allocations: 174.1 kB / 0.6895 GB, free: 240 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.111e-05/0.374, allocations: 66.83 kB / 0.6896 GB, free: 196 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.71e-05/0.374, allocations: 29.31 kB / 0.6896 GB, free: 176 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003235/0.3743, allocations: 406.5 kB / 0.69 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.892e-05/0.3744, allocations: 40.36 kB / 0.69 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=11): time 1.142e-06/0.3744, allocations: 0 / 0.69 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11): time 0.0002322/0.3746, allocations: 121 kB / 0.6901 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.86e-05/0.3746, allocations: 52.53 kB / 0.6902 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.185e-05/0.3747, allocations: 91.11 kB / 0.6903 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.477e-05/0.3747, allocations: 31.02 kB / 0.6903 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.45e-05/0.3747, allocations: 84.14 kB / 0.6904 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.371e-05/0.3748, allocations: 27.44 kB / 0.6904 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.983e-05/0.3748, allocations: 24.34 kB / 0.6904 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.375, allocations: 321.3 kB / 0.6907 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.798e-05/0.375, allocations: 19.55 kB / 0.6908 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.042e-05/0.375, allocations: 20.33 kB / 0.6908 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.585e-05/0.3751, allocations: 64.45 kB / 0.6908 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.3751, allocations: 3.984 kB / 0.6908 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001413/0.3753, allocations: 97.03 kB / 0.6909 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.3753, allocations: 8.656 kB / 0.6909 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.177e-06/0.3753, allocations: 0 / 0.6909 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.3753, allocations: 1.031 kB / 0.6909 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.616e-05/0.3754, allocations: 19.77 kB / 0.691 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.3754, allocations: 3.938 kB / 0.691 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.727e-05/0.3754, allocations: 1.875 kB / 0.691 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.338e-06/0.3754, allocations: 10.28 kB / 0.691 GB, free: 14.79 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: 11 (n,falFac[10],falFac[9],falFac[8],falFac[7],falFac[6],falFac[5],falFac[4],falFac[3],falFac[2],falFac[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 0.0001428/0.3756, allocations: 125.7 kB / 0.6911 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.592e-05/0.3756, allocations: 10.67 kB / 0.6911 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002257/0.3758, allocations: 122.6 kB / 0.6912 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.3758, allocations: 4.984 kB / 0.6912 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.3758, allocations: 0 / 0.6912 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.3758, allocations: 1.031 kB / 0.6912 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001548/0.376, allocations: 179.1 kB / 0.6914 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.376, allocations: 0 / 0.6914 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.983e-05/0.3761, allocations: 23.42 kB / 0.6914 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/0.3761, allocations: 7.938 kB / 0.6914 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.3761, allocations: 6.219 kB / 0.6914 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.3761, allocations: 0 / 0.6914 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.3761, allocations: 5.141 kB / 0.6914 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001605/0.3762, allocations: 117.8 kB / 0.6916 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.743e-05/0.3763, allocations: 91.22 kB / 0.6916 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.339e-05/0.3763, allocations: 1.25 kB / 0.6916 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.472e-05/0.3763, allocations: 0 / 0.6916 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.175e-05/0.3764, allocations: 12.89 kB / 0.6917 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.671e-06/0.3764, allocations: 6.438 kB / 0.6917 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.238e-05/0.3764, allocations: 80.38 kB / 0.6917 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of sort global known variables: time 6.1e-08/0.3764, allocations: 0 / 0.6917 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0001957/0.3766, allocations: 17.97 kB / 0.6918 GB, free: 14.03 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: 11 (falFac[1],falFac[2],falFac[3],falFac[4],falFac[5],falFac[6],falFac[7],falFac[8],falFac[9],falFac[10],n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0005759/0.3772, allocations: 0.6704 MB / 0.6924 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000148/0.3773, allocations: 64.03 kB / 0.6925 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3773, allocations: 0 / 0.6925 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 5.047e-05/0.3774, allocations: 33.27 kB / 0.6925 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001592/0.3775, allocations: 5.438 kB / 0.6925 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004009/0.3779, allocations: 180.7 kB / 0.6927 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003199/0.3782, allocations: 0.6817 MB / 0.6933 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 8.004e-05/0.3783, allocations: 42.95 kB / 0.6934 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.424e-05/0.3784, allocations: 21.05 kB / 0.6934 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of SimCode: time 2.91e-07/0.3784, allocations: 0 / 0.6934 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02505/0.4034, allocations: 1.557 MB / 0.6949 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.958/8.361, allocations: 8.438 kB / 0.6949 GB, free: 11.62 MB / 0.5137 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_FallingFactorial_fmu --startTime=0 --stopTime=13.9 --stepSize=0.00556 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_FallingFactorial.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.787762914318591] Failed to read output from testmodel.py, exit status != 0: 8.431871558073908 8.459042088 8.080885171 Calling exit ...