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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00163/0.00163, allocations: 102.5 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001949/0.001949, allocations: 212.9 kB / 19.43 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.499/1.499, allocations: 230.6 MB / 252.8 MB, free: 8.957 MB / 206.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.8353/0.8353, allocations: 134 MB / 442.8 MB, free: 11.31 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001857/0.001857, allocations: 63.78 kB / 0.6134 GB, free: 8.875 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1712/0.1731, allocations: 85.86 MB / 0.6973 GB, free: 3.094 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.FallingFactorial): time 0.00299/0.1761, allocations: 1.541 MB / 0.6988 GB, free: 1.543 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0004094/0.1765, allocations: 152.3 kB / 0.6989 GB, free: 1.391 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.366e-05/0.1765, allocations: 0 / 0.6989 GB, free: 1.391 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.153e-05/0.1766, allocations: 3.938 kB / 0.6989 GB, free: 1.387 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 3.972e-05/0.1766, allocations: 3.938 kB / 0.6989 GB, free: 1.383 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002754/0.1769, allocations: 27.97 kB / 0.699 GB, free: 1.355 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.973e-05/0.177, allocations: 39.91 kB / 0.699 GB, free: 1.316 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 9.21e-05/0.1771, allocations: 11.98 kB / 0.699 GB, free: 1.305 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 2.963e-05/0.1771, allocations: 11.94 kB / 0.699 GB, free: 1.293 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.541e-05/0.1771, allocations: 19.92 kB / 0.699 GB, free: 1.273 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.265e-05/0.1771, allocations: 0 / 0.699 GB, free: 1.273 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 7.287e-05/0.1772, allocations: 27.97 kB / 0.6991 GB, free: 1.246 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.69e-05/0.1772, allocations: 11.92 kB / 0.6991 GB, free: 1.234 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.86e-05/0.1773, allocations: 15.94 kB / 0.6991 GB, free: 1.219 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001384/0.1774, allocations: 52.02 kB / 0.6991 GB, free: 1.168 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.1774, allocations: 0 / 0.6991 GB, free: 1.168 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.203e-06/0.1774, allocations: 0 / 0.6991 GB, free: 1.168 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.04e-06/0.1774, allocations: 0 / 0.6991 GB, free: 1.168 MB / 0.5137 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.0005209/0.1779, allocations: 355.3 kB / 0.6995 GB, free: 0.7695 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.178, allocations: 9.109 kB / 0.6995 GB, free: 0.7617 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.421e-05/0.178, allocations: 42.73 kB / 0.6995 GB, free: 0.7109 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.337e-05/0.178, allocations: 4.875 kB / 0.6995 GB, free: 0.707 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001277/0.1782, allocations: 168.3 kB / 0.6997 GB, free: 0.5039 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.255e-05/0.1782, allocations: 8.375 kB / 0.6997 GB, free: 0.4961 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.084e-05/0.1782, allocations: 4.375 kB / 0.6997 GB, free: 0.4922 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001989/0.1784, allocations: 62.22 kB / 0.6998 GB, free: 436 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.1784, allocations: 3.938 kB / 0.6998 GB, free: 432 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.1784, allocations: 0 / 0.6998 GB, free: 432 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.1784, allocations: 3.938 kB / 0.6998 GB, free: 428 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002202/0.1787, allocations: 47.95 kB / 0.6998 GB, free: 380 kB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004162/0.1791, allocations: 276.8 kB / 0.7001 GB, free: 52 kB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003707/0.1795, allocations: 62.62 kB / 0.7001 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000108/0.1796, allocations: 28.89 kB / 0.7002 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000342/0.1799, allocations: 397.5 kB / 0.7005 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.448e-05/0.1799, allocations: 30.56 kB / 0.7006 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.1799, allocations: 0 / 0.7006 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0004246/0.1804, allocations: 101.6 kB / 0.7007 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.225e-05/0.1804, allocations: 51.41 kB / 0.7007 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.138e-05/0.1805, allocations: 113.8 kB / 0.7008 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.707e-05/0.1805, allocations: 25.7 kB / 0.7009 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.036e-05/0.1806, allocations: 92.05 kB / 0.7009 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.384e-05/0.1806, allocations: 7.891 kB / 0.701 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.981e-05/0.1806, allocations: 21.66 kB / 0.701 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.1808, allocations: 318.8 kB / 0.7013 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.63e-05/0.1809, allocations: 19.98 kB / 0.7013 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.156e-05/0.1809, allocations: 27.97 kB / 0.7013 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001837/0.1811, allocations: 36.83 kB / 0.7014 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.1811, allocations: 0 / 0.7014 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002329/0.1814, allocations: 81.59 kB / 0.7014 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.1814, allocations: 8 kB / 0.7014 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.1814, allocations: 0 / 0.7014 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.1814, allocations: 0 / 0.7014 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.539e-05/0.1815, allocations: 19.92 kB / 0.7015 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.1815, allocations: 0 / 0.7015 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.169e-05/0.1815, allocations: 15.86 kB / 0.7015 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.1816, allocations: 0 / 0.7015 GB, free: 14.45 MB / 0.5294 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 9.598e-05/0.1817, allocations: 118.1 kB / 0.7016 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.463e-05/0.1817, allocations: 0 / 0.7016 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002822/0.182, allocations: 93.53 kB / 0.7017 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.182, allocations: 0 / 0.7017 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.182, allocations: 0 / 0.7017 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.182, allocations: 0 / 0.7017 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001913/0.1822, allocations: 165.6 kB / 0.7018 GB, free: 14 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1822, allocations: 0 / 0.7018 GB, free: 14 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.033e-05/0.1822, allocations: 11.98 kB / 0.7018 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.1822, allocations: 3.938 kB / 0.7019 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.1822, allocations: 0 / 0.7019 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1822, allocations: 0 / 0.7019 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.1823, allocations: 12 kB / 0.7019 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003144/0.1826, allocations: 179.4 kB / 0.702 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.78e-05/0.1826, allocations: 77.11 kB / 0.7021 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.331e-05/0.1826, allocations: 0 / 0.7021 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.858e-05/0.1827, allocations: 7.984 kB / 0.7021 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.452e-05/0.1828, allocations: 11.98 kB / 0.7021 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-06/0.1828, allocations: 4 kB / 0.7021 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.371e-05/0.1828, allocations: 87.28 kB / 0.7022 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1828, allocations: 0 / 0.7022 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002295/0.1831, allocations: 8 kB / 0.7022 GB, free: 13.57 MB / 0.5294 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.0006766/0.1837, allocations: 0.7123 MB / 0.7029 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000246/0.184, allocations: 43.95 kB / 0.703 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.184, allocations: 0 / 0.703 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001099/0.1841, allocations: 31.91 kB / 0.703 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002917/0.1844, allocations: 9.969 kB / 0.703 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001571/0.186, allocations: 1.28 MB / 0.7043 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003953/0.1864, allocations: 0.6805 MB / 0.7049 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.9e-05/0.1864, allocations: 8 kB / 0.7049 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.308e-05/0.1864, allocations: 19.38 kB / 0.7049 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of SimCode: time 2.9e-07/0.1864, allocations: 0 / 0.7049 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03029/0.2167, allocations: 1.702 MB / 0.7066 GB, free: 9.047 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.965/8.182, allocations: 6.328 kB / 0.7066 GB, free: 9.043 MB / 0.5294 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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial_res.csv --start-time 0 --stop-time 11 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0044 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.930333650001558] Failed to read output from testmodel.py, exit status != 0: 8.261959081995883 8.288640369 8.106465966 Calling exit ...