Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.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.00126/0.00126, allocations: 105 kB / 20.48 MB, free: 1.488 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.001645/0.001645, allocations: 215.2 kB / 23.79 MB, free: 4.703 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.504/1.504, allocations: 230.6 MB / 257.5 MB, free: 8.012 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 1.009/1.009, allocations: 150 MB / 464 MB, free: 10.54 MB / 366.1 MB " [Timeout remaining time 178] 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.Functions.Examples.FallingFactorial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_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.001955/0.001955, allocations: 61.17 kB / 0.6421 GB, free: 10.42 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1789/0.1808, allocations: 89.18 MB / 0.7291 GB, free: 1.309 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001598/0.1824, allocations: 0.5935 MB / 0.7297 GB, free: 0.7227 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0002447/0.1827, allocations: 59.77 kB / 0.7298 GB, free: 0.6641 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.557e-05/0.1827, allocations: 3.938 kB / 0.7298 GB, free: 0.6602 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.233e-05/0.1827, allocations: 0 / 0.7298 GB, free: 0.6602 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.979e-06/0.1827, allocations: 0 / 0.7298 GB, free: 0.6602 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002447/0.1829, allocations: 23.92 kB / 0.7298 GB, free: 0.6367 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.479e-05/0.183, allocations: 31.95 kB / 0.7298 GB, free: 0.6055 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.291e-05/0.1831, allocations: 0 / 0.7298 GB, free: 0.6055 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.083e-05/0.1831, allocations: 12 kB / 0.7299 GB, free: 0.5938 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 2.931e-05/0.1831, allocations: 15.97 kB / 0.7299 GB, free: 0.5781 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.958e-06/0.1831, allocations: 4 kB / 0.7299 GB, free: 0.5742 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 7.778e-05/0.1832, allocations: 19.98 kB / 0.7299 GB, free: 0.5547 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.547e-05/0.1832, allocations: 7.984 kB / 0.7299 GB, free: 0.5469 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.102e-05/0.1832, allocations: 19.86 kB / 0.7299 GB, free: 0.5273 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 9.024e-05/0.1833, allocations: 36.11 kB / 0.73 GB, free: 0.4922 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.375e-06/0.1833, allocations: 0 / 0.73 GB, free: 0.4922 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.085e-06/0.1833, allocations: 4 kB / 0.73 GB, free: 500 kB / 0.545 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.1833, allocations: 0 / 0.73 GB, free: 500 kB / 0.545 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.0004151/0.1838, allocations: 266.3 kB / 0.7302 GB, free: 200 kB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.157e-05/0.1838, allocations: 8.031 kB / 0.7302 GB, free: 192 kB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.247e-05/0.1838, allocations: 8.188 kB / 0.7302 GB, free: 184 kB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.062e-05/0.1838, allocations: 34.75 kB / 0.7303 GB, free: 140 kB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.377e-05/0.1839, allocations: 4.938 kB / 0.7303 GB, free: 136 kB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.575e-05/0.1839, allocations: 106.5 kB / 0.7304 GB, free: 4 kB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.648e-06/0.1839, allocations: 4.375 kB / 0.7304 GB, free: 0 / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.924e-05/0.184, allocations: 432 / 0.7304 GB, free: 16 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001562/0.1841, allocations: 69.92 kB / 0.7304 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.1841, allocations: 3.938 kB / 0.7304 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.1842, allocations: 4 kB / 0.7304 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.1842, allocations: 4 kB / 0.7304 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001583/0.1843, allocations: 107.8 kB / 0.7306 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001896/0.1845, allocations: 136.8 kB / 0.7307 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001199/0.1846, allocations: 66.48 kB / 0.7307 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.519e-05/0.1847, allocations: 28.84 kB / 0.7308 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001492/0.1848, allocations: 23.97 kB / 0.7308 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.788e-05/0.1849, allocations: 38.5 kB / 0.7308 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=11): time 1.042e-06/0.1849, allocations: 8 kB / 0.7308 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.0002389/0.1851, allocations: 121.1 kB / 0.731 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.759e-05/0.1851, allocations: 51.41 kB / 0.731 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.773e-05/0.1852, allocations: 93.86 kB / 0.7311 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.599e-05/0.1852, allocations: 25.7 kB / 0.7311 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.112e-05/0.1852, allocations: 80.14 kB / 0.7312 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.353e-05/0.1853, allocations: 31.77 kB / 0.7312 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.499e-05/0.1853, allocations: 33.7 kB / 0.7313 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.1855, allocations: 322.8 kB / 0.7316 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.999e-05/0.1855, allocations: 19.98 kB / 0.7316 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.468e-05/0.1855, allocations: 19.98 kB / 0.7316 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001028/0.1856, allocations: 56.83 kB / 0.7317 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1856, allocations: 0 / 0.7317 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001415/0.1858, allocations: 97.5 kB / 0.7318 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.1858, allocations: 11.94 kB / 0.7318 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.1858, allocations: 0 / 0.7318 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.027e-05/0.1858, allocations: 0 / 0.7318 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.69e-05/0.1859, allocations: 19.98 kB / 0.7318 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.1859, allocations: 4 kB / 0.7318 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.028e-05/0.1859, allocations: 3.938 kB / 0.7318 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.156e-06/0.1859, allocations: 4 kB / 0.7318 GB, free: 14.41 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: 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.0001314/0.1861, allocations: 121.8 kB / 0.7319 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.931e-05/0.1861, allocations: 15.89 kB / 0.7319 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002187/0.1863, allocations: 123.2 kB / 0.732 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.1863, allocations: 0 / 0.732 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.1863, allocations: 4 kB / 0.732 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.1863, allocations: 0 / 0.732 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001365/0.1865, allocations: 148.7 kB / 0.7322 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1865, allocations: 0 / 0.7322 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.187e-05/0.1865, allocations: 23.92 kB / 0.7322 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.1865, allocations: 7.922 kB / 0.7322 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-06/0.1865, allocations: 0 / 0.7322 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1865, allocations: 0 / 0.7322 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.107e-06/0.1865, allocations: 4 kB / 0.7322 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001777/0.1867, allocations: 128.9 kB / 0.7323 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.997e-06/0.1867, allocations: 7.891 kB / 0.7324 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.338e-05/0.1867, allocations: 8 kB / 0.7324 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.51e-05/0.1868, allocations: 0 / 0.7324 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.385e-05/0.1868, allocations: 7.984 kB / 0.7324 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.193e-05/0.1868, allocations: 8 kB / 0.7324 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.139e-05/0.1868, allocations: 75.28 kB / 0.7324 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.1868, allocations: 0 / 0.7324 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000195/0.187, allocations: 8 kB / 0.7325 GB, free: 13.66 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: 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.0005336/0.1876, allocations: 0.6725 MB / 0.7331 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001472/0.1877, allocations: 59.91 kB / 0.7332 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1877, allocations: 4 kB / 0.7332 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.657e-05/0.1878, allocations: 39.91 kB / 0.7332 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001287/0.1879, allocations: 5.969 kB / 0.7332 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003884/0.1883, allocations: 182.4 kB / 0.7334 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003128/0.1886, allocations: 0.6846 MB / 0.7341 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.267e-05/0.1887, allocations: 27.97 kB / 0.7341 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.507e-05/0.1887, allocations: 23.42 kB / 0.7341 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of SimCode: time 3.1e-07/0.1887, allocations: 4 kB / 0.7341 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02049/0.2092, allocations: 1.724 MB / 0.7358 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.32, allocations: 16.47 kB / 0.7358 GB, free: 10.28 MB / 0.5606 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_FallingFactorial_fmu --startTime=0 --stopTime=13.9 --stepSize=0.00556 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_FallingFactorial.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.272660911025014] Failed to read output from testmodel.py, exit status != 0: 11.484468157985248 11.502586057 11.315576737 Calling exit ...