Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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.001314/0.001314, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001482/0.001482, allocations: 214.8 kB / 22.25 MB, free: 5.258 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.424/1.424, allocations: 230.6 MB / 256 MB, free: 7.77 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.9235/0.9235, allocations: 145 MB / 457.4 MB, free: 15.25 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: BuildSysPro 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.002336/0.002336, allocations: 65.41 kB / 0.6331 GB, free: 6.602 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1757/0.1781, allocations: 87.88 MB / 0.719 GB, free: 14.74 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial): time 0.002145/0.1802, allocations: 0.5829 MB / 0.7195 GB, free: 14.16 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003295/0.1805, allocations: 55.8 kB / 0.7196 GB, free: 14.1 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.227e-05/0.1806, allocations: 4 kB / 0.7196 GB, free: 14.1 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.178e-05/0.1806, allocations: 0 / 0.7196 GB, free: 14.1 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.502e-06/0.1806, allocations: 0 / 0.7196 GB, free: 14.1 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003137/0.1809, allocations: 19.92 kB / 0.7196 GB, free: 14.08 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.29e-05/0.181, allocations: 35.95 kB / 0.7196 GB, free: 14.04 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.826e-05/0.181, allocations: 0 / 0.7196 GB, free: 14.04 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.979e-05/0.1811, allocations: 11.94 kB / 0.7196 GB, free: 14.03 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.364e-05/0.1811, allocations: 15.97 kB / 0.7197 GB, free: 14.02 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.366e-05/0.1811, allocations: 4 kB / 0.7197 GB, free: 14.01 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 9.811e-05/0.1812, allocations: 15.98 kB / 0.7197 GB, free: 14 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.426e-05/0.1812, allocations: 7.984 kB / 0.7197 GB, free: 13.99 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.148e-05/0.1813, allocations: 23.92 kB / 0.7197 GB, free: 13.96 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001159/0.1814, allocations: 35.89 kB / 0.7197 GB, free: 13.93 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1814, allocations: 0 / 0.7197 GB, free: 13.93 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.693e-06/0.1814, allocations: 0 / 0.7197 GB, free: 13.93 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.451e-06/0.1814, allocations: 0 / 0.7197 GB, free: 13.93 MB / 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.0003582/0.1818, allocations: 258.3 kB / 0.72 GB, free: 13.64 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.1818, allocations: 12.03 kB / 0.72 GB, free: 13.63 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.393e-05/0.1819, allocations: 38.69 kB / 0.72 GB, free: 13.59 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.625e-05/0.1819, allocations: 4.938 kB / 0.72 GB, free: 13.58 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.818e-05/0.182, allocations: 106.5 kB / 0.7201 GB, free: 13.45 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.881e-05/0.182, allocations: 12.38 kB / 0.7202 GB, free: 13.44 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.25e-05/0.182, allocations: 8.375 kB / 0.7202 GB, free: 13.43 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002433/0.1823, allocations: 66.16 kB / 0.7202 GB, free: 13.36 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.1823, allocations: 3.938 kB / 0.7202 GB, free: 13.36 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.357e-06/0.1823, allocations: 0 / 0.7202 GB, free: 13.36 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.1823, allocations: 0 / 0.7202 GB, free: 13.36 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001588/0.1825, allocations: 103.8 kB / 0.7203 GB, free: 13.26 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001975/0.1827, allocations: 136.7 kB / 0.7205 GB, free: 13.08 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001272/0.1828, allocations: 74.47 kB / 0.7205 GB, free: 13 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.375e-05/0.1828, allocations: 28.84 kB / 0.7206 GB, free: 12.97 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002024/0.183, allocations: 15.98 kB / 0.7206 GB, free: 12.95 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.719e-05/0.1831, allocations: 38.56 kB / 0.7206 GB, free: 12.91 MB / 0.545 GB Notification: Performance of pre-optimization done (n=11): time 2.044e-06/0.1831, allocations: 0 / 0.7206 GB, free: 12.91 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.0002851/0.1834, allocations: 117.8 kB / 0.7207 GB, free: 12.79 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.928e-05/0.1834, allocations: 55.41 kB / 0.7208 GB, free: 12.72 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.514e-05/0.1835, allocations: 101.8 kB / 0.7209 GB, free: 12.61 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.06e-05/0.1835, allocations: 25.7 kB / 0.7209 GB, free: 12.58 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.133e-05/0.1835, allocations: 80.14 kB / 0.721 GB, free: 12.5 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.837e-05/0.1836, allocations: 23.8 kB / 0.721 GB, free: 12.47 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.308e-05/0.1837, allocations: 33.7 kB / 0.721 GB, free: 12.43 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.1838, allocations: 314.8 kB / 0.7213 GB, free: 12.12 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.336e-05/0.1838, allocations: 19.98 kB / 0.7214 GB, free: 12.1 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.195e-05/0.1839, allocations: 28.36 kB / 0.7214 GB, free: 12.07 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001047/0.184, allocations: 64.77 kB / 0.7214 GB, free: 12 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.184, allocations: 0 / 0.7214 GB, free: 12 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000153/0.1841, allocations: 89.61 kB / 0.7215 GB, free: 11.91 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.1842, allocations: 7.938 kB / 0.7215 GB, free: 11.9 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.1842, allocations: 0 / 0.7215 GB, free: 11.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.1842, allocations: 0 / 0.7215 GB, free: 11.9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.1843, allocations: 23.98 kB / 0.7216 GB, free: 11.88 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.1843, allocations: 0 / 0.7216 GB, free: 11.88 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.418e-05/0.1843, allocations: 7.953 kB / 0.7216 GB, free: 11.87 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.702e-06/0.1843, allocations: 3.938 kB / 0.7216 GB, free: 11.87 MB / 0.545 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.0001789/0.1845, allocations: 133.3 kB / 0.7217 GB, free: 11.73 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.24e-05/0.1845, allocations: 7.938 kB / 0.7217 GB, free: 11.72 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002289/0.1848, allocations: 125.4 kB / 0.7218 GB, free: 11.59 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.1848, allocations: 0 / 0.7218 GB, free: 11.59 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.315e-06/0.1848, allocations: 7.984 kB / 0.7218 GB, free: 11.58 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.1848, allocations: 0 / 0.7218 GB, free: 11.58 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001359/0.1849, allocations: 136.7 kB / 0.722 GB, free: 11.41 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.1849, allocations: 0 / 0.722 GB, free: 11.41 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.32e-05/0.185, allocations: 27.92 kB / 0.722 GB, free: 11.38 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/0.185, allocations: 7.938 kB / 0.722 GB, free: 11.37 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.756e-06/0.185, allocations: 4 kB / 0.722 GB, free: 11.37 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.185, allocations: 0 / 0.722 GB, free: 11.37 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.185, allocations: 0 / 0.722 GB, free: 11.37 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001732/0.1852, allocations: 121 kB / 0.7221 GB, free: 11.23 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.28e-05/0.1852, allocations: 11.88 kB / 0.7221 GB, free: 11.22 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.636e-05/0.1852, allocations: 8 kB / 0.7221 GB, free: 11.21 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.417e-05/0.1852, allocations: 0 / 0.7221 GB, free: 11.21 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.764e-05/0.1852, allocations: 11.92 kB / 0.7221 GB, free: 11.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.009e-05/0.1853, allocations: 4 kB / 0.7221 GB, free: 11.2 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.339e-05/0.1853, allocations: 79.28 kB / 0.7222 GB, free: 11.12 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.1853, allocations: 0 / 0.7222 GB, free: 11.12 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001974/0.1855, allocations: 16 kB / 0.7222 GB, free: 11.1 MB / 0.545 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.0005628/0.186, allocations: 0.6791 MB / 0.7229 GB, free: 10.39 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001485/0.1862, allocations: 63.95 kB / 0.723 GB, free: 10.33 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1862, allocations: 0 / 0.723 GB, free: 10.33 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.527e-05/0.1863, allocations: 27.98 kB / 0.723 GB, free: 10.3 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001307/0.1864, allocations: 10.03 kB / 0.723 GB, free: 10.3 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004326/0.1868, allocations: 186.3 kB / 0.7232 GB, free: 10.07 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.402e-05/0.1869, allocations: 71.28 kB / 0.7232 GB, free: 9.984 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.755e-05/0.187, allocations: 31.95 kB / 0.7233 GB, free: 9.953 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.106e-05/0.187, allocations: 23.42 kB / 0.7233 GB, free: 9.93 MB / 0.545 GB Notification: Performance of SimCode: time 3.71e-07/0.187, allocations: 0 / 0.7233 GB, free: 9.93 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03006/0.2171, allocations: 2.072 MB / 0.7253 GB, free: 7.988 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/11.28, allocations: 5.078 kB / 0.7253 GB, free: 7.988 MB / 0.545 GB " [Timeout remaining time 649] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_FallingFactorial_fmu --startTime=0 --stopTime=13.9 --stepSize=0.00556 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_FallingFactorial.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.929373090155423] Failed to read output from testmodel.py, exit status != 0: 11.391148252412677 11.407964291 11.223442138 Calling exit ...