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.001358/0.001358, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001474/0.001474, allocations: 217.3 kB / 22.25 MB, free: 5.121 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.471/1.471, allocations: 230.6 MB / 256 MB, free: 7.98 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.9528/0.9528, allocations: 145 MB / 457.4 MB, free: 15.48 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Factorial",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.002096/0.002096, allocations: 68.3 kB / 0.6332 GB, free: 7.312 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.18/0.1821, allocations: 87.88 MB / 0.719 GB, free: 15.44 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial): time 0.00297/0.1851, allocations: 1.538 MB / 0.7205 GB, free: 13.89 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0004069/0.1855, allocations: 124.5 kB / 0.7206 GB, free: 13.76 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.7e-05/0.1855, allocations: 0 / 0.7206 GB, free: 13.76 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.06e-05/0.1856, allocations: 3.938 kB / 0.7206 GB, free: 13.76 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.275e-05/0.1856, allocations: 4 kB / 0.7206 GB, free: 13.75 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000242/0.1859, allocations: 27.91 kB / 0.7207 GB, free: 13.73 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.384e-05/0.1859, allocations: 27.92 kB / 0.7207 GB, free: 13.7 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.908e-05/0.186, allocations: 12 kB / 0.7207 GB, free: 13.69 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.221e-05/0.1861, allocations: 19.91 kB / 0.7207 GB, free: 13.67 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.496e-05/0.1861, allocations: 15.92 kB / 0.7207 GB, free: 13.65 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.532e-05/0.1862, allocations: 4 kB / 0.7207 GB, free: 13.65 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 6.274e-05/0.1862, allocations: 8 kB / 0.7207 GB, free: 13.64 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.506e-05/0.1862, allocations: 11.98 kB / 0.7207 GB, free: 13.63 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.238e-05/0.1863, allocations: 11.94 kB / 0.7208 GB, free: 13.62 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001244/0.1864, allocations: 39.81 kB / 0.7208 GB, free: 13.58 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.1864, allocations: 4 kB / 0.7208 GB, free: 13.57 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.072e-06/0.1864, allocations: 0 / 0.7208 GB, free: 13.57 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.1864, allocations: 0 / 0.7208 GB, free: 13.57 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.0005219/0.1869, allocations: 262.3 kB / 0.721 GB, free: 13.29 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.187, allocations: 8.031 kB / 0.7211 GB, free: 13.28 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.369e-05/0.187, allocations: 38.75 kB / 0.7211 GB, free: 13.23 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.647e-05/0.187, allocations: 4.891 kB / 0.7211 GB, free: 13.23 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001041/0.1871, allocations: 110.5 kB / 0.7212 GB, free: 13.09 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.26e-05/0.1872, allocations: 4.375 kB / 0.7212 GB, free: 13.09 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.056e-06/0.1872, allocations: 384 / 0.7212 GB, free: 13.09 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001957/0.1874, allocations: 62.22 kB / 0.7213 GB, free: 13.02 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.1874, allocations: 3.938 kB / 0.7213 GB, free: 13.02 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.1874, allocations: 0 / 0.7213 GB, free: 13.02 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.1874, allocations: 0 / 0.7213 GB, free: 13.02 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001875/0.1876, allocations: 47.95 kB / 0.7213 GB, free: 12.97 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003918/0.188, allocations: 243.8 kB / 0.7215 GB, free: 12.69 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003251/0.1883, allocations: 58.53 kB / 0.7216 GB, free: 12.62 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001093/0.1884, allocations: 28.89 kB / 0.7216 GB, free: 12.59 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 9.11e-05/0.1885, allocations: 4 kB / 0.7216 GB, free: 12.59 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.368e-05/0.1885, allocations: 38.56 kB / 0.7217 GB, free: 12.54 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.1885, allocations: 3.938 kB / 0.7217 GB, free: 12.54 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0004187/0.1889, allocations: 97.55 kB / 0.7218 GB, free: 12.44 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.432e-05/0.189, allocations: 55.41 kB / 0.7218 GB, free: 12.37 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.135e-05/0.1891, allocations: 97.86 kB / 0.7219 GB, free: 12.27 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.1891, allocations: 25.7 kB / 0.7219 GB, free: 12.23 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.101e-05/0.1892, allocations: 88.12 kB / 0.722 GB, free: 12.14 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.599e-05/0.1892, allocations: 11.94 kB / 0.722 GB, free: 12.13 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.982e-05/0.1892, allocations: 17.72 kB / 0.7221 GB, free: 12.11 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001523/0.1894, allocations: 310.8 kB / 0.7223 GB, free: 11.8 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.698e-05/0.1895, allocations: 23.97 kB / 0.7224 GB, free: 11.77 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.764e-05/0.1896, allocations: 15.98 kB / 0.7224 GB, free: 11.76 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001766/0.1897, allocations: 52.75 kB / 0.7224 GB, free: 11.7 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1897, allocations: 0 / 0.7224 GB, free: 11.7 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002332/0.19, allocations: 81.55 kB / 0.7225 GB, free: 11.62 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.19, allocations: 6.031 kB / 0.7225 GB, free: 11.61 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.19, allocations: 3.984 kB / 0.7225 GB, free: 11.61 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.19, allocations: 0 / 0.7225 GB, free: 11.61 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.068e-05/0.1901, allocations: 8 kB / 0.7225 GB, free: 11.6 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.1901, allocations: 3.984 kB / 0.7225 GB, free: 11.6 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.897e-05/0.1902, allocations: 8 kB / 0.7225 GB, free: 11.59 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.265e-06/0.1902, allocations: 4 kB / 0.7225 GB, free: 11.59 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 8.76e-05/0.1903, allocations: 117.7 kB / 0.7227 GB, free: 11.46 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.72e-05/0.1903, allocations: 4 kB / 0.7227 GB, free: 11.46 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000273/0.1906, allocations: 85.25 kB / 0.7227 GB, free: 11.36 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.1906, allocations: 0 / 0.7227 GB, free: 11.36 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.1906, allocations: 0 / 0.7227 GB, free: 11.36 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.1906, allocations: 4 kB / 0.7227 GB, free: 11.36 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002488/0.1908, allocations: 136.7 kB / 0.7229 GB, free: 11.18 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.1908, allocations: 0 / 0.7229 GB, free: 11.18 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.531e-05/0.1909, allocations: 11.98 kB / 0.7229 GB, free: 11.17 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.1909, allocations: 0 / 0.7229 GB, free: 11.17 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.888e-06/0.1909, allocations: 3.984 kB / 0.7229 GB, free: 11.16 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.1909, allocations: 0 / 0.7229 GB, free: 11.16 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.194e-06/0.1909, allocations: 4 kB / 0.7229 GB, free: 11.16 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002737/0.1912, allocations: 175.9 kB / 0.7231 GB, free: 10.97 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.154e-05/0.1912, allocations: 7.953 kB / 0.7231 GB, free: 10.96 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.353e-05/0.1912, allocations: 0 / 0.7231 GB, free: 10.96 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.867e-05/0.1913, allocations: 7.984 kB / 0.7231 GB, free: 10.96 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.826e-05/0.1914, allocations: 7.984 kB / 0.7231 GB, free: 10.95 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.961e-06/0.1914, allocations: 8.047 kB / 0.7231 GB, free: 10.94 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.619e-05/0.1914, allocations: 83.27 kB / 0.7232 GB, free: 10.86 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.1914, allocations: 4 kB / 0.7232 GB, free: 10.86 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002297/0.1916, allocations: 11.94 kB / 0.7232 GB, free: 10.84 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.0006974/0.1923, allocations: 0.7007 MB / 0.7239 GB, free: 10.11 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002303/0.1926, allocations: 55.88 kB / 0.7239 GB, free: 10.06 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.1926, allocations: 0 / 0.7239 GB, free: 10.06 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000115/0.1927, allocations: 23.98 kB / 0.724 GB, free: 10.04 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002751/0.193, allocations: 0 / 0.724 GB, free: 10.04 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004803/0.1934, allocations: 147.1 kB / 0.7241 GB, free: 9.852 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004692/0.1939, allocations: 0.6768 MB / 0.7248 GB, free: 9.148 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.345e-05/0.1939, allocations: 11.98 kB / 0.7248 GB, free: 9.137 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.111e-05/0.194, allocations: 11.44 kB / 0.7248 GB, free: 9.129 MB / 0.545 GB Notification: Performance of SimCode: time 3.81e-07/0.194, allocations: 0 / 0.7248 GB, free: 9.129 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03327/0.2272, allocations: 1.714 MB / 0.7264 GB, free: 7.551 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.33, allocations: 7.031 kB / 0.7265 GB, free: 7.547 MB / 0.545 GB " [Timeout remaining time 649] (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 sys.exit(0), Time elapsed: 15.085036147851497] Failed to read output from testmodel.py, exit status != 0: 11.442914187908173 11.470079944 11.278628961 Calling exit ...