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.001329/0.001329, 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.001491/0.001491, allocations: 217.9 kB / 22.25 MB, free: 5.121 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.481/1.481, allocations: 230.6 MB / 256 MB, free: 8 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.8799/0.8799, allocations: 134 MB / 446.4 MB, free: 10.24 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.001953/0.001953, allocations: 67.36 kB / 0.6186 GB, free: 7.18 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1648/0.1667, allocations: 85.91 MB / 0.7024 GB, free: 1.352 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.FallingFactorial): time 0.003207/0.1699, allocations: 1.563 MB / 0.704 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0004136/0.1703, allocations: 132.5 kB / 0.7041 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.343e-05/0.1704, allocations: 0 / 0.7041 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.324e-05/0.1704, allocations: 7.938 kB / 0.7041 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.965e-05/0.1705, allocations: 3.938 kB / 0.7041 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003362/0.1708, allocations: 43.89 kB / 0.7042 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.726e-05/0.1709, allocations: 27.92 kB / 0.7042 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.896e-05/0.171, allocations: 12.27 kB / 0.7042 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.071e-05/0.171, allocations: 19.92 kB / 0.7042 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.325e-05/0.1711, allocations: 23.91 kB / 0.7042 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.497e-05/0.1711, allocations: 4 kB / 0.7042 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.869e-05/0.1712, allocations: 19.98 kB / 0.7043 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.524e-05/0.1712, allocations: 11.88 kB / 0.7043 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.315e-05/0.1712, allocations: 19.92 kB / 0.7043 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001349/0.1714, allocations: 47.81 kB / 0.7043 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.1714, allocations: 0 / 0.7043 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.744e-06/0.1714, allocations: 0 / 0.7043 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.65e-06/0.1714, allocations: 0 / 0.7043 GB, free: 15.41 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.0004926/0.1719, allocations: 282.2 kB / 0.7046 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.1719, allocations: 11.97 kB / 0.7046 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.011e-05/0.172, allocations: 30.75 kB / 0.7046 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.785e-05/0.172, allocations: 4.938 kB / 0.7046 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001126/0.1721, allocations: 110.5 kB / 0.7048 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.41e-05/0.1721, allocations: 12.31 kB / 0.7048 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.165e-05/0.1721, allocations: 4.375 kB / 0.7048 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002135/0.1723, allocations: 66.2 kB / 0.7048 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.1724, allocations: 3.938 kB / 0.7048 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.346e-06/0.1724, allocations: 0 / 0.7048 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.1724, allocations: 0 / 0.7048 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001929/0.1726, allocations: 47.95 kB / 0.7049 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004391/0.173, allocations: 251.8 kB / 0.7051 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003272/0.1733, allocations: 58.53 kB / 0.7052 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.636e-05/0.1734, allocations: 28.89 kB / 0.7052 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001268/0.1736, allocations: 15.98 kB / 0.7052 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.875e-05/0.1736, allocations: 34.56 kB / 0.7053 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.593e-06/0.1736, allocations: 0 / 0.7053 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0004407/0.174, allocations: 97.53 kB / 0.7053 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.595e-05/0.1741, allocations: 59.39 kB / 0.7054 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.133e-05/0.1742, allocations: 101.9 kB / 0.7055 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/0.1742, allocations: 25.7 kB / 0.7055 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.675e-05/0.1742, allocations: 96.12 kB / 0.7056 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.447e-05/0.1742, allocations: 3.953 kB / 0.7056 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.032e-05/0.1743, allocations: 17.72 kB / 0.7056 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.1744, allocations: 318.8 kB / 0.7059 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.815e-05/0.1745, allocations: 19.98 kB / 0.706 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.593e-05/0.1746, allocations: 19.98 kB / 0.706 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001721/0.1748, allocations: 48.81 kB / 0.706 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1748, allocations: 0 / 0.706 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000221/0.175, allocations: 81.53 kB / 0.7061 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.175, allocations: 4 kB / 0.7061 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.175, allocations: 0 / 0.7061 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.175, allocations: 336 / 0.7061 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.101e-05/0.1751, allocations: 19.92 kB / 0.7061 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.1751, allocations: 4 kB / 0.7061 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.89e-05/0.1752, allocations: 15.88 kB / 0.7061 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-06/0.1752, allocations: 0 / 0.7061 GB, free: 13.35 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.728e-05/0.1753, allocations: 117.8 kB / 0.7063 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.845e-05/0.1753, allocations: 4 kB / 0.7063 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002608/0.1756, allocations: 85.58 kB / 0.7063 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.1756, allocations: 4 kB / 0.7063 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.1756, allocations: 4 kB / 0.7063 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.197e-06/0.1756, allocations: 4 kB / 0.7064 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001701/0.1757, allocations: 140.7 kB / 0.7065 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.1757, allocations: 0 / 0.7065 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.534e-05/0.1758, allocations: 11.98 kB / 0.7065 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.1758, allocations: 0 / 0.7065 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-06/0.1758, allocations: 0 / 0.7065 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.1758, allocations: 0 / 0.7065 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1758, allocations: 0 / 0.7065 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002738/0.1761, allocations: 179.4 kB / 0.7067 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.148e-05/0.1761, allocations: 4 kB / 0.7067 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.337e-05/0.1761, allocations: 3.938 kB / 0.7067 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.756e-05/0.1762, allocations: 7.984 kB / 0.7067 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.886e-05/0.1763, allocations: 8 kB / 0.7067 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.038e-06/0.1763, allocations: 0 / 0.7067 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.382e-05/0.1763, allocations: 87.27 kB / 0.7068 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.1763, allocations: 8 kB / 0.7068 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000232/0.1765, allocations: 8 kB / 0.7068 GB, free: 12.61 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.0006242/0.1772, allocations: 0.7085 MB / 0.7075 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002317/0.1774, allocations: 51.89 kB / 0.7075 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1774, allocations: 4 kB / 0.7075 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 9.372e-05/0.1775, allocations: 19.97 kB / 0.7076 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002885/0.1778, allocations: 12.91 kB / 0.7076 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001569/0.1794, allocations: 1.292 MB / 0.7088 GB, free: 10.42 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003099/0.1797, allocations: 0.6844 MB / 0.7095 GB, free: 9.711 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 3.066e-05/0.1797, allocations: 4 kB / 0.7095 GB, free: 9.707 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.462e-05/0.1797, allocations: 15.44 kB / 0.7095 GB, free: 9.691 MB / 0.5294 GB Notification: Performance of SimCode: time 3.01e-07/0.1797, allocations: 0 / 0.7095 GB, free: 9.691 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02829/0.208, allocations: 1.815 MB / 0.7113 GB, free: 8.008 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.83/11.04, allocations: 16.42 kB / 0.7113 GB, free: 7.996 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 & /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: 14.722453859169036] Failed to read output from testmodel.py, exit status != 0: 11.14797724597156 11.177087585 11.000604025 Calling exit ...