Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.00125/0.00125, allocations: 109 kB / 20.48 MB, free: 1.473 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.001627/0.001627, allocations: 210.7 kB / 23.79 MB, free: 4.684 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.514/1.514, allocations: 230.6 MB / 257.6 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9573/0.9573, allocations: 150 MB / 464 MB, free: 10.46 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Utilities.Math.Examples.FallingFactorial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_FallingFactorial",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.FallingFactorial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_FallingFactorial",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002041/0.002041, allocations: 66.06 kB / 0.642 GB, free: 10.37 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1774/0.1794, allocations: 89.19 MB / 0.7291 GB, free: 1.238 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.FallingFactorial): time 0.00288/0.1823, allocations: 1.551 MB / 0.7306 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0004278/0.1827, allocations: 143.6 kB / 0.7308 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.838e-05/0.1828, allocations: 4 kB / 0.7308 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.243e-05/0.1828, allocations: 3.938 kB / 0.7308 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.538e-05/0.1829, allocations: 7.875 kB / 0.7308 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003217/0.1832, allocations: 31.89 kB / 0.7308 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.549e-05/0.1833, allocations: 35.92 kB / 0.7309 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.496e-05/0.1834, allocations: 11.98 kB / 0.7309 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.199e-05/0.1834, allocations: 15.92 kB / 0.7309 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.414e-05/0.1835, allocations: 19.92 kB / 0.7309 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.313e-05/0.1835, allocations: 4 kB / 0.7309 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.724e-05/0.1836, allocations: 27.97 kB / 0.7309 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.703e-05/0.1836, allocations: 8 kB / 0.7309 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.211e-05/0.1836, allocations: 19.84 kB / 0.731 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001427/0.1838, allocations: 40.11 kB / 0.731 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.144e-06/0.1838, allocations: 0 / 0.731 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.697e-06/0.1838, allocations: 4 kB / 0.731 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.161e-06/0.1838, allocations: 0 / 0.731 GB, free: 15.3 MB / 0.5606 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.0005532/0.1843, allocations: 270.3 kB / 0.7313 GB, free: 15 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.453e-05/0.1844, allocations: 20.02 kB / 0.7313 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.938e-05/0.1844, allocations: 192 / 0.7313 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.516e-05/0.1845, allocations: 34.75 kB / 0.7313 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.526e-05/0.1845, allocations: 8.891 kB / 0.7313 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001422/0.1846, allocations: 110.4 kB / 0.7314 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.515e-05/0.1847, allocations: 4.375 kB / 0.7314 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.059e-05/0.1847, allocations: 4.312 kB / 0.7314 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002395/0.1849, allocations: 73.95 kB / 0.7315 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.1849, allocations: 4 kB / 0.7315 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.1849, allocations: 0 / 0.7315 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.1849, allocations: 0 / 0.7315 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002071/0.1852, allocations: 43.95 kB / 0.7316 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004974/0.1857, allocations: 251.8 kB / 0.7318 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003701/0.186, allocations: 58.53 kB / 0.7318 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001058/0.1861, allocations: 24.91 kB / 0.7319 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001401/0.1863, allocations: 23.98 kB / 0.7319 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/0.1863, allocations: 30.56 kB / 0.7319 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.1863, allocations: 0 / 0.7319 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0004461/0.1867, allocations: 97.56 kB / 0.732 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.725e-05/0.1868, allocations: 51.41 kB / 0.7321 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000123/0.1869, allocations: 117.8 kB / 0.7322 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.243e-05/0.1869, allocations: 25.7 kB / 0.7322 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.179e-05/0.187, allocations: 84.14 kB / 0.7323 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.355e-05/0.187, allocations: 11.94 kB / 0.7323 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.95e-05/0.1871, allocations: 9.719 kB / 0.7323 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001727/0.1872, allocations: 322.8 kB / 0.7326 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001071/0.1873, allocations: 23.97 kB / 0.7326 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.234e-05/0.1874, allocations: 19.92 kB / 0.7327 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001784/0.1876, allocations: 48.81 kB / 0.7327 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.1876, allocations: 0 / 0.7327 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002267/0.1878, allocations: 77.88 kB / 0.7328 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.1879, allocations: 8 kB / 0.7328 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.1879, allocations: 0 / 0.7328 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.1879, allocations: 48 / 0.7328 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.463e-05/0.188, allocations: 15.97 kB / 0.7328 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.188, allocations: 320 / 0.7328 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.367e-05/0.188, allocations: 11.92 kB / 0.7328 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-06/0.188, allocations: 0 / 0.7328 GB, free: 13.25 MB / 0.5606 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.826e-05/0.1881, allocations: 117.8 kB / 0.7329 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.146e-05/0.1882, allocations: 11.95 kB / 0.7329 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000271/0.1884, allocations: 85.52 kB / 0.733 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.1884, allocations: 0 / 0.733 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.1884, allocations: 4 kB / 0.733 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.746e-06/0.1885, allocations: 7.984 kB / 0.733 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001862/0.1886, allocations: 140.7 kB / 0.7332 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1886, allocations: 0 / 0.7332 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.48e-05/0.1887, allocations: 11.98 kB / 0.7332 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.1887, allocations: 4 kB / 0.7332 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.243e-06/0.1887, allocations: 0 / 0.7332 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.1887, allocations: 0 / 0.7332 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.1887, allocations: 0 / 0.7332 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002919/0.189, allocations: 179.3 kB / 0.7333 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.167e-05/0.189, allocations: 7.984 kB / 0.7334 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.347e-05/0.189, allocations: 0 / 0.7334 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.546e-05/0.1891, allocations: 8 kB / 0.7334 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.751e-05/0.1892, allocations: 7.984 kB / 0.7334 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.021e-06/0.1892, allocations: 4 kB / 0.7334 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.848e-05/0.1892, allocations: 91.31 kB / 0.7335 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.1892, allocations: 0 / 0.7335 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002535/0.1895, allocations: 12 kB / 0.7335 GB, free: 12.49 MB / 0.5606 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.0006785/0.1902, allocations: 0.7085 MB / 0.7342 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002416/0.1904, allocations: 47.89 kB / 0.7342 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1904, allocations: 0 / 0.7342 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001082/0.1905, allocations: 27.97 kB / 0.7342 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000303/0.1908, allocations: 4 kB / 0.7342 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001667/0.1925, allocations: 1.292 MB / 0.7355 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003725/0.1929, allocations: 0.6768 MB / 0.7362 GB, free: 9.605 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.951e-05/0.1929, allocations: 15.97 kB / 0.7362 GB, free: 9.59 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.612e-05/0.193, allocations: 19.38 kB / 0.7362 GB, free: 9.574 MB / 0.5606 GB Notification: Performance of SimCode: time 4.11e-07/0.193, allocations: 0 / 0.7362 GB, free: 9.574 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02323/0.2162, allocations: 1.833 MB / 0.738 GB, free: 7.891 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.4, allocations: 12.05 kB / 0.738 GB, free: 7.887 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_FallingFactorial_fmu --startTime=0 --stopTime=11 --stepSize=0.0044 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_FallingFactorial.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.220391895971261] Failed to read output from testmodel.py, exit status != 0: 11.566452111990657 11.595205882 11.405866544 Calling exit ...