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.001694/0.001694, allocations: 116.1 kB / 17.17 MB, free: 6 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.001953/0.001953, allocations: 209.5 kB / 20.13 MB, free: 3.055 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.469/1.469, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.9335/0.9335, allocations: 144.9 MB / 454.5 MB, free: 10 MB / 350.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.00195/0.00195, allocations: 62.47 kB / 0.6287 GB, free: 33.68 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1754/0.1773, allocations: 87.85 MB / 0.7145 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial): time 0.002923/0.1802, allocations: 1.52 MB / 0.716 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0004776/0.1807, allocations: 124.5 kB / 0.7161 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.258e-05/0.1808, allocations: 0 / 0.7161 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.604e-05/0.1808, allocations: 11.86 kB / 0.7161 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.714e-05/0.1809, allocations: 0 / 0.7161 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002732/0.1811, allocations: 27.91 kB / 0.7161 GB, free: 9.996 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.923e-05/0.1812, allocations: 27.92 kB / 0.7162 GB, free: 9.969 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.1813, allocations: 11.98 kB / 0.7162 GB, free: 9.957 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.661e-05/0.1814, allocations: 12 kB / 0.7162 GB, free: 9.945 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.478e-05/0.1814, allocations: 19.91 kB / 0.7162 GB, free: 9.926 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.729e-05/0.1815, allocations: 4 kB / 0.7162 GB, free: 9.922 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.232e-05/0.1815, allocations: 11.98 kB / 0.7162 GB, free: 9.91 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.843e-05/0.1815, allocations: 11.94 kB / 0.7162 GB, free: 9.898 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.004e-05/0.1816, allocations: 11.94 kB / 0.7162 GB, free: 9.887 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001562/0.1817, allocations: 44.08 kB / 0.7163 GB, free: 9.844 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.1817, allocations: 0 / 0.7163 GB, free: 9.844 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.005e-06/0.1817, allocations: 0 / 0.7163 GB, free: 9.844 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.913e-06/0.1817, allocations: 0 / 0.7163 GB, free: 9.844 MB / 0.5294 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.0006161/0.1824, allocations: 347.4 kB / 0.7166 GB, free: 9.453 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.1824, allocations: 8.031 kB / 0.7166 GB, free: 9.445 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.631e-05/0.1824, allocations: 8.188 kB / 0.7166 GB, free: 9.438 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.365e-05/0.1825, allocations: 38.73 kB / 0.7167 GB, free: 9.391 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.616e-05/0.1825, allocations: 8.875 kB / 0.7167 GB, free: 9.383 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001839/0.1827, allocations: 164.3 kB / 0.7168 GB, free: 9.184 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.782e-05/0.1827, allocations: 4.375 kB / 0.7168 GB, free: 9.18 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.222e-05/0.1827, allocations: 4.375 kB / 0.7168 GB, free: 9.176 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002165/0.183, allocations: 61.97 kB / 0.7169 GB, free: 9.109 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.183, allocations: 0 / 0.7169 GB, free: 9.109 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.183, allocations: 0 / 0.7169 GB, free: 9.109 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.183, allocations: 4 kB / 0.7169 GB, free: 9.105 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002047/0.1832, allocations: 43.95 kB / 0.7169 GB, free: 9.062 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000451/0.1836, allocations: 264.8 kB / 0.7172 GB, free: 8.754 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000361/0.184, allocations: 58.53 kB / 0.7173 GB, free: 8.688 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001043/0.1841, allocations: 24.91 kB / 0.7173 GB, free: 8.66 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001318/0.1842, allocations: 85.09 kB / 0.7174 GB, free: 8.559 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.957e-05/0.1843, allocations: 30.56 kB / 0.7174 GB, free: 8.52 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.1843, allocations: 0 / 0.7174 GB, free: 8.52 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0004264/0.1847, allocations: 101.6 kB / 0.7175 GB, free: 8.414 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.896e-05/0.1847, allocations: 55.41 kB / 0.7175 GB, free: 8.348 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.384e-05/0.1848, allocations: 93.86 kB / 0.7176 GB, free: 8.246 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.188e-05/0.1849, allocations: 29.7 kB / 0.7177 GB, free: 8.211 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.322e-05/0.1849, allocations: 80.14 kB / 0.7177 GB, free: 8.129 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.16e-05/0.1849, allocations: 11.94 kB / 0.7177 GB, free: 8.117 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.083e-05/0.185, allocations: 17.72 kB / 0.7178 GB, free: 8.094 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.1851, allocations: 314.8 kB / 0.7181 GB, free: 7.777 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.959e-05/0.1852, allocations: 27.97 kB / 0.7181 GB, free: 7.75 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.418e-05/0.1853, allocations: 19.92 kB / 0.7181 GB, free: 7.73 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001884/0.1855, allocations: 44.81 kB / 0.7181 GB, free: 7.684 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.1855, allocations: 0 / 0.7181 GB, free: 7.684 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002272/0.1857, allocations: 78.02 kB / 0.7182 GB, free: 7.602 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.1858, allocations: 8 kB / 0.7182 GB, free: 7.594 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.1858, allocations: 4 kB / 0.7182 GB, free: 7.59 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.1858, allocations: 0 / 0.7182 GB, free: 7.59 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.215e-05/0.1859, allocations: 11.98 kB / 0.7182 GB, free: 7.578 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.1859, allocations: 0 / 0.7182 GB, free: 7.578 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.611e-05/0.1859, allocations: 7.984 kB / 0.7183 GB, free: 7.57 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-06/0.1859, allocations: 0 / 0.7183 GB, free: 7.57 MB / 0.5294 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.965e-05/0.186, allocations: 125.8 kB / 0.7184 GB, free: 7.438 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.371e-05/0.1861, allocations: 0 / 0.7184 GB, free: 7.438 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002855/0.1863, allocations: 85.08 kB / 0.7185 GB, free: 7.348 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.1863, allocations: 7.938 kB / 0.7185 GB, free: 7.34 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.1864, allocations: 0 / 0.7185 GB, free: 7.34 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.1864, allocations: 0 / 0.7185 GB, free: 7.34 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002104/0.1866, allocations: 165.6 kB / 0.7186 GB, free: 7.129 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/0.1866, allocations: 8 kB / 0.7186 GB, free: 7.121 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.259e-05/0.1866, allocations: 7.984 kB / 0.7186 GB, free: 7.113 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.1867, allocations: 4 kB / 0.7186 GB, free: 7.109 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.744e-06/0.1867, allocations: 4 kB / 0.7186 GB, free: 7.105 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.1867, allocations: 0 / 0.7186 GB, free: 7.105 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1867, allocations: 0 / 0.7186 GB, free: 7.105 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003161/0.187, allocations: 175.4 kB / 0.7188 GB, free: 6.918 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.484e-05/0.187, allocations: 81.06 kB / 0.7189 GB, free: 6.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.531e-05/0.1871, allocations: 0 / 0.7189 GB, free: 6.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.952e-05/0.1871, allocations: 11.98 kB / 0.7189 GB, free: 6.809 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.68e-05/0.1872, allocations: 11.98 kB / 0.7189 GB, free: 6.797 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-06/0.1872, allocations: 0 / 0.7189 GB, free: 6.797 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.15e-05/0.1873, allocations: 79.28 kB / 0.719 GB, free: 6.719 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.1873, allocations: 0 / 0.719 GB, free: 6.719 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002279/0.1875, allocations: 12 kB / 0.719 GB, free: 6.707 MB / 0.5294 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.0007408/0.1882, allocations: 0.7123 MB / 0.7197 GB, free: 5.965 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002733/0.1885, allocations: 47.89 kB / 0.7197 GB, free: 5.918 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.1885, allocations: 0 / 0.7197 GB, free: 5.918 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001236/0.1886, allocations: 27.97 kB / 0.7198 GB, free: 5.891 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003399/0.189, allocations: 0 / 0.7198 GB, free: 5.891 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005532/0.1895, allocations: 151.1 kB / 0.7199 GB, free: 5.703 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000402/0.1899, allocations: 0.6729 MB / 0.7206 GB, free: 5.004 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 3.663e-05/0.19, allocations: 7.984 kB / 0.7206 GB, free: 4.996 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.684e-05/0.19, allocations: 11.44 kB / 0.7206 GB, free: 4.984 MB / 0.5294 GB Notification: Performance of SimCode: time 3.3e-07/0.19, allocations: 0 / 0.7206 GB, free: 4.984 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01899/0.209, allocations: 1.64 MB / 0.7222 GB, free: 3.457 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.184/8.393, allocations: 13.91 kB / 0.7222 GB, free: 3.449 MB / 0.5294 GB " [Timeout remaining time 651] (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: 12.260098517988808] Failed to read output from testmodel.py, exit status != 0: 8.51486858597491 8.535749979 8.349513959 Calling exit ...