Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial.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: 101.3 kB / 19.73 MB, free: 2.133 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.00154/0.00154, allocations: 216.7 kB / 23.03 MB, free: 4.945 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.454/1.454, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.9365/0.9365, allocations: 145 MB / 458.2 MB, free: 15.74 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.Examples.Factorial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Factorial",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Factorial",fmuType="cs",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.00205/0.00205, allocations: 68.55 kB / 0.6339 GB, free: 6.859 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1789/0.181, allocations: 87.88 MB / 0.7197 GB, free: 15 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial): time 0.003222/0.1842, allocations: 1.531 MB / 0.7212 GB, free: 13.46 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003841/0.1846, allocations: 120.5 kB / 0.7213 GB, free: 13.34 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.395e-05/0.1846, allocations: 0 / 0.7213 GB, free: 13.34 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.909e-05/0.1846, allocations: 3.938 kB / 0.7213 GB, free: 13.33 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.944e-05/0.1847, allocations: 7.938 kB / 0.7213 GB, free: 13.32 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002314/0.1849, allocations: 19.97 kB / 0.7213 GB, free: 13.3 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.636e-05/0.185, allocations: 31.92 kB / 0.7214 GB, free: 13.27 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.934e-05/0.1851, allocations: 15.98 kB / 0.7214 GB, free: 13.26 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.611e-05/0.1851, allocations: 15.92 kB / 0.7214 GB, free: 13.24 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.562e-05/0.1852, allocations: 19.92 kB / 0.7214 GB, free: 13.22 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.413e-05/0.1852, allocations: 0 / 0.7214 GB, free: 13.22 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 6.636e-05/0.1853, allocations: 12 kB / 0.7214 GB, free: 13.21 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.968e-05/0.1853, allocations: 11.92 kB / 0.7214 GB, free: 13.2 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.714e-05/0.1853, allocations: 8 kB / 0.7214 GB, free: 13.19 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001304/0.1854, allocations: 35.83 kB / 0.7215 GB, free: 13.16 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1854, allocations: 0 / 0.7215 GB, free: 13.16 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.383e-06/0.1854, allocations: 0 / 0.7215 GB, free: 13.16 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.364e-06/0.1854, allocations: 7.984 kB / 0.7215 GB, free: 13.15 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005129/0.186, allocations: 266.3 kB / 0.7217 GB, free: 12.86 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.186, allocations: 8.031 kB / 0.7217 GB, free: 12.85 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.435e-05/0.186, allocations: 192 / 0.7217 GB, free: 12.85 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.785e-05/0.1861, allocations: 42.69 kB / 0.7218 GB, free: 12.8 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.886e-05/0.1861, allocations: 4.891 kB / 0.7218 GB, free: 12.79 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001144/0.1862, allocations: 110.5 kB / 0.7219 GB, free: 12.66 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.667e-05/0.1862, allocations: 384 / 0.7219 GB, free: 12.66 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.438e-05/0.1862, allocations: 384 / 0.7219 GB, free: 12.66 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002089/0.1864, allocations: 69.97 kB / 0.722 GB, free: 12.59 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.1864, allocations: 0 / 0.722 GB, free: 12.59 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.896e-06/0.1865, allocations: 0 / 0.722 GB, free: 12.59 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.1865, allocations: 0 / 0.722 GB, free: 12.59 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001894/0.1866, allocations: 43.94 kB / 0.722 GB, free: 12.54 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004317/0.1871, allocations: 235.9 kB / 0.7222 GB, free: 12.27 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003354/0.1874, allocations: 54.53 kB / 0.7223 GB, free: 12.21 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001021/0.1875, allocations: 32.89 kB / 0.7223 GB, free: 12.17 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 9.838e-05/0.1876, allocations: 8 kB / 0.7223 GB, free: 12.16 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.841e-05/0.1876, allocations: 34.56 kB / 0.7223 GB, free: 12.12 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.1876, allocations: 0 / 0.7223 GB, free: 12.12 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0003947/0.188, allocations: 93.56 kB / 0.7224 GB, free: 12.02 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.363e-05/0.1881, allocations: 55.41 kB / 0.7225 GB, free: 11.96 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.753e-05/0.1882, allocations: 97.86 kB / 0.7226 GB, free: 11.85 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/0.1882, allocations: 29.7 kB / 0.7226 GB, free: 11.82 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.271e-05/0.1882, allocations: 84.12 kB / 0.7227 GB, free: 11.73 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.186e-05/0.1883, allocations: 15.94 kB / 0.7227 GB, free: 11.71 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.748e-05/0.1883, allocations: 13.72 kB / 0.7227 GB, free: 11.7 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.1885, allocations: 318.8 kB / 0.723 GB, free: 11.38 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.261e-05/0.1886, allocations: 19.97 kB / 0.723 GB, free: 11.36 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.917e-05/0.1886, allocations: 15.98 kB / 0.7231 GB, free: 11.34 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001731/0.1888, allocations: 52.75 kB / 0.7231 GB, free: 11.29 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1888, allocations: 4 kB / 0.7231 GB, free: 11.28 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002268/0.189, allocations: 73.61 kB / 0.7232 GB, free: 11.2 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.189, allocations: 6.5 kB / 0.7232 GB, free: 11.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.1891, allocations: 7.875 kB / 0.7232 GB, free: 11.19 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.1891, allocations: 3.984 kB / 0.7232 GB, free: 11.19 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.132e-05/0.1892, allocations: 8 kB / 0.7232 GB, free: 11.18 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.1892, allocations: 0 / 0.7232 GB, free: 11.18 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.322e-05/0.1892, allocations: 11.98 kB / 0.7232 GB, free: 11.17 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.936e-06/0.1892, allocations: 8 kB / 0.7232 GB, free: 11.16 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: 2 (rea2Int.y,fac.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.263e-05/0.1893, allocations: 113.8 kB / 0.7233 GB, free: 11.04 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.569e-05/0.1893, allocations: 0 / 0.7233 GB, free: 11.04 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002893/0.1896, allocations: 89.27 kB / 0.7234 GB, free: 10.94 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.1896, allocations: 3.984 kB / 0.7234 GB, free: 10.93 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.1896, allocations: 0.5625 kB / 0.7234 GB, free: 10.93 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.1896, allocations: 0 / 0.7234 GB, free: 10.93 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001664/0.1898, allocations: 132.7 kB / 0.7235 GB, free: 10.76 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.1898, allocations: 4 kB / 0.7236 GB, free: 10.76 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.627e-05/0.1899, allocations: 11.98 kB / 0.7236 GB, free: 10.75 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.1899, allocations: 0 / 0.7236 GB, free: 10.75 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.343e-06/0.1899, allocations: 0 / 0.7236 GB, free: 10.75 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1899, allocations: 0 / 0.7236 GB, free: 10.75 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.1899, allocations: 0 / 0.7236 GB, free: 10.75 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002706/0.1902, allocations: 175.4 kB / 0.7237 GB, free: 10.56 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.492e-05/0.1902, allocations: 11.94 kB / 0.7237 GB, free: 10.55 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.35e-05/0.1902, allocations: 0 / 0.7237 GB, free: 10.55 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.5e-05/0.1903, allocations: 12 kB / 0.7238 GB, free: 10.54 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.795e-05/0.1903, allocations: 7.984 kB / 0.7238 GB, free: 10.53 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.548e-06/0.1904, allocations: 0 / 0.7238 GB, free: 10.53 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.738e-05/0.1904, allocations: 87.27 kB / 0.7238 GB, free: 10.44 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1904, allocations: 0 / 0.7238 GB, free: 10.44 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002351/0.1906, allocations: 11.94 kB / 0.7239 GB, free: 10.43 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: 2 (fac.y,rea2Int.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.0006898/0.1913, allocations: 0.7007 MB / 0.7245 GB, free: 9.699 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002385/0.1916, allocations: 51.89 kB / 0.7246 GB, free: 9.648 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1916, allocations: 0 / 0.7246 GB, free: 9.648 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.819e-05/0.1917, allocations: 19.98 kB / 0.7246 GB, free: 9.629 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002844/0.192, allocations: 7.984 kB / 0.7246 GB, free: 9.621 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004713/0.1924, allocations: 147.1 kB / 0.7248 GB, free: 9.438 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.731e-05/0.1925, allocations: 59.34 kB / 0.7248 GB, free: 9.359 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.222e-05/0.1925, allocations: 8 kB / 0.7248 GB, free: 9.352 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.31e-05/0.1926, allocations: 19.38 kB / 0.7248 GB, free: 9.332 MB / 0.545 GB Notification: Performance of SimCode: time 4.41e-07/0.1926, allocations: 0 / 0.7248 GB, free: 9.332 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02231/0.2149, allocations: 1.793 MB / 0.7266 GB, free: 7.699 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.52, allocations: 0 / 0.7266 GB, free: 7.699 MB / 0.545 GB " [Timeout remaining time 648] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Factorial_fmu --startTime=0 --stopTime=13 --stepSize=0.0052 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Factorial.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.271842114976607] Failed to read output from testmodel.py, exit status != 0: 11.685131708043627 11.710175815 11.520018093 Calling exit ...