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.001495/0.001495, allocations: 101.9 kB / 20.48 MB, free: 1.246 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.001622/0.001622, allocations: 218.4 kB / 23.78 MB, free: 4.145 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.483/1.483, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.9584/0.9584, allocations: 150 MB / 464 MB, free: 10.21 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.001964/0.001964, allocations: 66.94 kB / 0.642 GB, free: 9.918 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1731/0.1751, allocations: 89.17 MB / 0.729 GB, free: 0.8086 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.FallingFactorial): time 0.002892/0.178, allocations: 1.547 MB / 0.7306 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0004158/0.1784, allocations: 139.6 kB / 0.7307 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.981e-05/0.1784, allocations: 0 / 0.7307 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.918e-05/0.1785, allocations: 3.938 kB / 0.7307 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.579e-05/0.1785, allocations: 3.938 kB / 0.7307 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003026/0.1788, allocations: 31.97 kB / 0.7307 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.468e-05/0.1789, allocations: 35.84 kB / 0.7308 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001/0.179, allocations: 11.98 kB / 0.7308 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.198e-05/0.179, allocations: 20 kB / 0.7308 GB, free: 15 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.737e-05/0.1791, allocations: 19.86 kB / 0.7308 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.653e-05/0.1791, allocations: 4 kB / 0.7308 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.66e-05/0.1792, allocations: 27.95 kB / 0.7308 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.663e-05/0.1792, allocations: 4 kB / 0.7308 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.832e-05/0.1793, allocations: 11.94 kB / 0.7309 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001563/0.1794, allocations: 56.02 kB / 0.7309 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.1794, allocations: 0 / 0.7309 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.443e-06/0.1794, allocations: 0 / 0.7309 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.1794, allocations: 0 / 0.7309 GB, free: 14.88 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.0005244/0.1799, allocations: 274.3 kB / 0.7312 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.18, allocations: 8.031 kB / 0.7312 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.007e-05/0.18, allocations: 8.125 kB / 0.7312 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.556e-05/0.18, allocations: 38.73 kB / 0.7312 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.199e-05/0.1801, allocations: 8.891 kB / 0.7312 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001277/0.1802, allocations: 106.5 kB / 0.7313 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.879e-05/0.1802, allocations: 4.375 kB / 0.7313 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.299e-05/0.1802, allocations: 4.375 kB / 0.7313 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000233/0.1805, allocations: 73.91 kB / 0.7314 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.1805, allocations: 4 kB / 0.7314 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.1805, allocations: 0 / 0.7314 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.1805, allocations: 0 / 0.7314 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001917/0.1807, allocations: 47.89 kB / 0.7315 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004538/0.1811, allocations: 247.9 kB / 0.7317 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003526/0.1815, allocations: 54.48 kB / 0.7317 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.543e-05/0.1816, allocations: 28.89 kB / 0.7318 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001293/0.1817, allocations: 27.98 kB / 0.7318 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.56e-05/0.1818, allocations: 30.56 kB / 0.7318 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.1818, allocations: 0 / 0.7318 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0003916/0.1821, allocations: 93.61 kB / 0.7319 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.564e-05/0.1822, allocations: 55.41 kB / 0.732 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001/0.1823, allocations: 117.7 kB / 0.7321 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/0.1823, allocations: 25.7 kB / 0.7321 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.426e-05/0.1824, allocations: 88.14 kB / 0.7322 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.391e-05/0.1824, allocations: 7.953 kB / 0.7322 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.838e-05/0.1824, allocations: 17.7 kB / 0.7322 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.1826, allocations: 318.8 kB / 0.7325 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.987e-05/0.1826, allocations: 19.98 kB / 0.7325 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.044e-05/0.1827, allocations: 19.97 kB / 0.7326 GB, free: 13 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001677/0.1829, allocations: 44.81 kB / 0.7326 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1829, allocations: 0 / 0.7326 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002159/0.1831, allocations: 77.66 kB / 0.7327 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.1831, allocations: 8 kB / 0.7327 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.1831, allocations: 3.938 kB / 0.7327 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.1831, allocations: 0 / 0.7327 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.313e-05/0.1832, allocations: 15.92 kB / 0.7327 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.1832, allocations: 0 / 0.7327 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.39e-05/0.1833, allocations: 11.92 kB / 0.7327 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.1833, allocations: 0 / 0.7327 GB, free: 12.83 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.75e-05/0.1834, allocations: 121.8 kB / 0.7328 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.838e-05/0.1834, allocations: 3.953 kB / 0.7328 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002698/0.1837, allocations: 81.64 kB / 0.7329 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.1837, allocations: 0 / 0.7329 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.1837, allocations: 0 / 0.7329 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.1837, allocations: 0 / 0.7329 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001759/0.1839, allocations: 136.7 kB / 0.733 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1839, allocations: 0 / 0.733 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.088e-05/0.184, allocations: 19.92 kB / 0.7331 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.184, allocations: 0 / 0.7331 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.184, allocations: 4 kB / 0.7331 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.184, allocations: 0 / 0.7331 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.184, allocations: 3.984 kB / 0.7331 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002885/0.1843, allocations: 171.4 kB / 0.7332 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.374e-05/0.1843, allocations: 4 kB / 0.7332 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.621e-05/0.1843, allocations: 7.938 kB / 0.7332 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.954e-05/0.1844, allocations: 11.98 kB / 0.7333 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.266e-05/0.1844, allocations: 7.984 kB / 0.7333 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-06/0.1844, allocations: 4.422 kB / 0.7333 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.442e-05/0.1845, allocations: 83.28 kB / 0.7333 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1845, allocations: 0 / 0.7333 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002272/0.1847, allocations: 8 kB / 0.7334 GB, free: 12.09 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.0006478/0.1854, allocations: 0.7201 MB / 0.7341 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002387/0.1856, allocations: 51.95 kB / 0.7341 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1856, allocations: 0 / 0.7341 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 9.972e-05/0.1857, allocations: 23.92 kB / 0.7341 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003203/0.186, allocations: 8.609 kB / 0.7341 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001698/0.1877, allocations: 1.292 MB / 0.7354 GB, free: 9.898 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.418e-05/0.1878, allocations: 67.28 kB / 0.7355 GB, free: 9.812 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.241e-05/0.1878, allocations: 4 kB / 0.7355 GB, free: 9.809 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.049e-05/0.1879, allocations: 19.42 kB / 0.7355 GB, free: 9.793 MB / 0.5606 GB Notification: Performance of SimCode: time 3.01e-07/0.1879, allocations: 0 / 0.7355 GB, free: 9.793 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0219/0.2098, allocations: 1.897 MB / 0.7373 GB, free: 8.043 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/11.62, allocations: 11.5 kB / 0.7373 GB, free: 8.039 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.432134932954796] Failed to read output from testmodel.py, exit status != 0: 11.786056804005057 11.808384701 11.625754813 Calling exit ...