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.001274/0.001274, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001531/0.001531, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.551/1.551, allocations: 230.6 MB / 256 MB, free: 7.988 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.9397/0.9397, allocations: 134 MB / 446.4 MB, free: 10.28 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.001987/0.001987, allocations: 62.69 kB / 0.6185 GB, free: 7.203 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1713/0.1732, allocations: 85.91 MB / 0.7024 GB, free: 1.371 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.FallingFactorial): time 0.002774/0.176, allocations: 1.558 MB / 0.704 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003867/0.1764, allocations: 144.4 kB / 0.7041 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.407e-05/0.1764, allocations: 0 / 0.7041 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.48e-05/0.1765, allocations: 0 / 0.7041 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.195e-05/0.1765, allocations: 3.938 kB / 0.7041 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002944/0.1768, allocations: 43.84 kB / 0.7041 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.502e-05/0.1769, allocations: 27.92 kB / 0.7042 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.412e-05/0.177, allocations: 16.25 kB / 0.7042 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.502e-05/0.177, allocations: 19.94 kB / 0.7042 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.761e-05/0.1771, allocations: 15.92 kB / 0.7042 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.386e-05/0.1771, allocations: 8 kB / 0.7042 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.629e-05/0.1772, allocations: 27.95 kB / 0.7043 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.441e-05/0.1772, allocations: 7.938 kB / 0.7043 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.221e-05/0.1772, allocations: 19.92 kB / 0.7043 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001266/0.1773, allocations: 43.81 kB / 0.7043 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.1773, allocations: 0 / 0.7043 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.182e-06/0.1773, allocations: 0 / 0.7043 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.1773, allocations: 0 / 0.7043 GB, free: 15.43 MB / 0.5294 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.0004692/0.1778, allocations: 282.2 kB / 0.7046 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.1778, allocations: 12.03 kB / 0.7046 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.823e-05/0.1779, allocations: 34.75 kB / 0.7046 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.443e-05/0.1779, allocations: 4.875 kB / 0.7046 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001072/0.178, allocations: 114.4 kB / 0.7048 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.262e-05/0.178, allocations: 4.375 kB / 0.7048 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.081e-05/0.1781, allocations: 4.375 kB / 0.7048 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001955/0.1782, allocations: 62.22 kB / 0.7048 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.1783, allocations: 3.938 kB / 0.7048 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.1783, allocations: 3.984 kB / 0.7048 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.808e-06/0.1783, allocations: 4 kB / 0.7048 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001935/0.1785, allocations: 51.94 kB / 0.7049 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003931/0.1789, allocations: 247.8 kB / 0.7051 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003227/0.1792, allocations: 58.53 kB / 0.7052 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.655e-05/0.1793, allocations: 28.91 kB / 0.7052 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001215/0.1794, allocations: 15.98 kB / 0.7052 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.963e-05/0.1794, allocations: 30.56 kB / 0.7052 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.1794, allocations: 0 / 0.7052 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0003836/0.1798, allocations: 101.5 kB / 0.7053 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.293e-05/0.1799, allocations: 59.41 kB / 0.7054 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.67e-05/0.1799, allocations: 109.9 kB / 0.7055 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.127e-05/0.18, allocations: 29.7 kB / 0.7055 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.04e-05/0.18, allocations: 84.14 kB / 0.7056 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.687e-05/0.18, allocations: 7.938 kB / 0.7056 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.777e-05/0.1801, allocations: 17.72 kB / 0.7056 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.1802, allocations: 314.8 kB / 0.7059 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.482e-05/0.1803, allocations: 27.97 kB / 0.706 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.05e-05/0.1804, allocations: 19.98 kB / 0.706 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001665/0.1806, allocations: 48.75 kB / 0.706 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1806, allocations: 3.938 kB / 0.706 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002198/0.1808, allocations: 77.61 kB / 0.7061 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.1808, allocations: 4 kB / 0.7061 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.536e-06/0.1808, allocations: 4 kB / 0.7061 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.1808, allocations: 4 kB / 0.7061 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.92e-05/0.1809, allocations: 7.984 kB / 0.7061 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.1809, allocations: 4 kB / 0.7061 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.122e-05/0.181, allocations: 15.86 kB / 0.7061 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-06/0.181, allocations: 0 / 0.7061 GB, free: 13.37 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 8.681e-05/0.1811, allocations: 109.8 kB / 0.7063 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.688e-05/0.1811, allocations: 4 kB / 0.7063 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002754/0.1814, allocations: 93.58 kB / 0.7063 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.1814, allocations: 4 kB / 0.7063 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.1814, allocations: 0 / 0.7063 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.191e-06/0.1814, allocations: 4.359 kB / 0.7064 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001724/0.1815, allocations: 140.7 kB / 0.7065 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1815, allocations: 0 / 0.7065 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.218e-05/0.1816, allocations: 11.98 kB / 0.7065 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.1816, allocations: 0 / 0.7065 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.1816, allocations: 7.984 kB / 0.7065 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.1816, allocations: 0 / 0.7065 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1816, allocations: 0 / 0.7065 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002689/0.1819, allocations: 175.3 kB / 0.7067 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.021e-05/0.1819, allocations: 7.984 kB / 0.7067 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.373e-05/0.1819, allocations: 0 / 0.7067 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.182, allocations: 12 kB / 0.7067 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.655e-05/0.1821, allocations: 7.984 kB / 0.7067 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-06/0.1821, allocations: 0 / 0.7067 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.044e-05/0.1821, allocations: 87.27 kB / 0.7068 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.1821, allocations: 4 kB / 0.7068 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002307/0.1824, allocations: 8 kB / 0.7068 GB, free: 12.62 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.000647/0.183, allocations: 0.7123 MB / 0.7075 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002332/0.1833, allocations: 47.95 kB / 0.7075 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1833, allocations: 0 / 0.7075 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 9.884e-05/0.1834, allocations: 19.97 kB / 0.7076 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003146/0.1837, allocations: 9.094 kB / 0.7076 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001603/0.1853, allocations: 1.292 MB / 0.7088 GB, free: 10.44 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003249/0.1856, allocations: 0.6805 MB / 0.7095 GB, free: 9.734 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 3.399e-05/0.1856, allocations: 7.984 kB / 0.7095 GB, free: 9.727 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.507e-05/0.1857, allocations: 23.38 kB / 0.7095 GB, free: 9.703 MB / 0.5294 GB Notification: Performance of SimCode: time 3.3e-07/0.1857, allocations: 0 / 0.7095 GB, free: 9.703 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02826/0.2139, allocations: 1.815 MB / 0.7113 GB, free: 8.02 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.9/11.12, allocations: 3.281 kB / 0.7113 GB, free: 8.02 MB / 0.5294 GB " [Timeout remaining time 649] (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: 15.06979849999334] Failed to read output from testmodel.py, exit status != 0: 11.224563566000143 11.250827101 11.069021292 Calling exit ...