Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005987/0.005987, allocations: 100.9 kB / 15.73 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001447/0.001447, allocations: 200.6 kB / 16.68 MB, free: 5.906 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.325/1.325, allocations: 222.9 MB / 240.4 MB, free: 15.18 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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.6.0/package.mo): time 0.8541/0.8541, allocations: 143.1 MB / 433.6 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 59.5 kB / 0.5951 GB, free: 12.76 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1731/0.1743, allocations: 82.04 MB / 0.6752 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial): time 0.004136/0.1785, allocations: 1.533 MB / 0.6767 GB, free: 9.281 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0005546/0.1791, allocations: 128.5 kB / 0.6768 GB, free: 9.152 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.783e-05/0.1791, allocations: 0 / 0.6768 GB, free: 9.152 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.495e-05/0.1792, allocations: 7.938 kB / 0.6768 GB, free: 9.145 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.736e-05/0.1793, allocations: 3.938 kB / 0.6768 GB, free: 9.141 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003759/0.1797, allocations: 31.95 kB / 0.6768 GB, free: 9.109 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 9.628e-05/0.1798, allocations: 31.86 kB / 0.6769 GB, free: 9.078 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001275/0.1799, allocations: 19.98 kB / 0.6769 GB, free: 9.059 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.528e-05/0.18, allocations: 11.98 kB / 0.6769 GB, free: 9.047 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.621e-05/0.1801, allocations: 19.91 kB / 0.6769 GB, free: 9.027 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.942e-05/0.1801, allocations: 4 kB / 0.6769 GB, free: 9.023 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001021/0.1802, allocations: 23.98 kB / 0.6769 GB, free: 9 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.379e-05/0.1803, allocations: 7.938 kB / 0.6769 GB, free: 8.992 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 5.038e-05/0.1803, allocations: 15.92 kB / 0.677 GB, free: 8.977 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001716/0.1805, allocations: 51.81 kB / 0.677 GB, free: 8.926 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.249e-06/0.1805, allocations: 0 / 0.677 GB, free: 8.926 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.773e-06/0.1805, allocations: 0 / 0.677 GB, free: 8.926 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.117e-06/0.1806, allocations: 0 / 0.677 GB, free: 8.926 MB / 0.5137 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.0006249/0.1812, allocations: 354.2 kB / 0.6773 GB, free: 8.531 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/0.1813, allocations: 8.031 kB / 0.6774 GB, free: 8.523 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.029e-05/0.1813, allocations: 38.75 kB / 0.6774 GB, free: 8.477 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.768e-05/0.1814, allocations: 8.875 kB / 0.6774 GB, free: 8.469 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001519/0.1816, allocations: 165.1 kB / 0.6776 GB, free: 8.27 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.984e-05/0.1816, allocations: 4.375 kB / 0.6776 GB, free: 8.266 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.348e-05/0.1816, allocations: 384 / 0.6776 GB, free: 8.266 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003022/0.1819, allocations: 70.16 kB / 0.6776 GB, free: 8.191 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.182, allocations: 3.938 kB / 0.6776 GB, free: 8.188 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.182, allocations: 0 / 0.6776 GB, free: 8.188 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.182, allocations: 0 / 0.6776 GB, free: 8.188 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000308/0.1823, allocations: 47.95 kB / 0.6777 GB, free: 8.141 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000519/0.1829, allocations: 284.8 kB / 0.678 GB, free: 7.812 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004917/0.1834, allocations: 58.48 kB / 0.678 GB, free: 7.746 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001732/0.1836, allocations: 40.88 kB / 0.678 GB, free: 7.703 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003927/0.184, allocations: 393.5 kB / 0.6784 GB, free: 7.227 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.798e-05/0.184, allocations: 38.56 kB / 0.6785 GB, free: 7.18 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 2.024e-06/0.184, allocations: 0 / 0.6785 GB, free: 7.18 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.0006541/0.1847, allocations: 93.53 kB / 0.6785 GB, free: 7.082 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.403e-05/0.1848, allocations: 51.41 kB / 0.6786 GB, free: 7.02 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001129/0.1849, allocations: 117.8 kB / 0.6787 GB, free: 6.895 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.102e-05/0.1849, allocations: 29.7 kB / 0.6787 GB, free: 6.859 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.358e-05/0.185, allocations: 80.14 kB / 0.6788 GB, free: 6.777 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.378e-05/0.185, allocations: 7.906 kB / 0.6788 GB, free: 6.77 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.857e-05/0.1851, allocations: 17.7 kB / 0.6788 GB, free: 6.746 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001637/0.1853, allocations: 322.8 kB / 0.6791 GB, free: 6.422 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000152/0.1854, allocations: 15.97 kB / 0.6792 GB, free: 6.406 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001507/0.1856, allocations: 23.98 kB / 0.6792 GB, free: 6.383 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000319/0.1859, allocations: 44.81 kB / 0.6792 GB, free: 6.336 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.186, allocations: 7.938 kB / 0.6792 GB, free: 6.328 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003751/0.1863, allocations: 73.56 kB / 0.6793 GB, free: 6.25 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.1864, allocations: 8 kB / 0.6793 GB, free: 6.242 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.455e-06/0.1864, allocations: 0 / 0.6793 GB, free: 6.242 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.457e-05/0.1864, allocations: 7.938 kB / 0.6793 GB, free: 6.234 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001452/0.1866, allocations: 11.98 kB / 0.6793 GB, free: 6.223 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.7e-06/0.1866, allocations: 0 / 0.6793 GB, free: 6.223 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001013/0.1867, allocations: 7.984 kB / 0.6793 GB, free: 6.215 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-06/0.1868, allocations: 0 / 0.6793 GB, free: 6.215 MB / 0.5137 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 0.0001232/0.1869, allocations: 117.8 kB / 0.6795 GB, free: 6.09 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.704e-05/0.1869, allocations: 0 / 0.6795 GB, free: 6.09 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004385/0.1874, allocations: 89.84 kB / 0.6795 GB, free: 5.992 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.1874, allocations: 0 / 0.6795 GB, free: 5.992 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.1874, allocations: 0 / 0.6795 GB, free: 5.992 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.1874, allocations: 0 / 0.6795 GB, free: 5.992 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002786/0.1877, allocations: 173.6 kB / 0.6797 GB, free: 5.773 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.1878, allocations: 3.938 kB / 0.6797 GB, free: 5.77 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001289/0.1879, allocations: 11.94 kB / 0.6797 GB, free: 5.758 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.253e-06/0.1879, allocations: 3.984 kB / 0.6797 GB, free: 5.754 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.1879, allocations: 0 / 0.6797 GB, free: 5.754 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.188, allocations: 4 kB / 0.6797 GB, free: 5.75 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.188, allocations: 4 kB / 0.6797 GB, free: 5.746 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004386/0.1884, allocations: 171.7 kB / 0.6799 GB, free: 5.562 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.842e-05/0.1885, allocations: 85.03 kB / 0.68 GB, free: 5.461 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.424e-05/0.1885, allocations: 4.047 kB / 0.68 GB, free: 5.457 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001567/0.1887, allocations: 7.984 kB / 0.68 GB, free: 5.449 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.303e-05/0.1888, allocations: 11.98 kB / 0.68 GB, free: 5.438 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.023e-06/0.1888, allocations: 0 / 0.68 GB, free: 5.438 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.813e-05/0.1889, allocations: 91.27 kB / 0.6801 GB, free: 5.348 MB / 0.5137 GB Notification: Performance of sort global known variables: time 4.41e-07/0.1889, allocations: 0 / 0.6801 GB, free: 5.348 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004121/0.1893, allocations: 12 kB / 0.6801 GB, free: 5.336 MB / 0.5137 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.0008461/0.1902, allocations: 0.7162 MB / 0.6808 GB, free: 4.594 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003844/0.1906, allocations: 47.95 kB / 0.6808 GB, free: 4.547 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1906, allocations: 0 / 0.6808 GB, free: 4.547 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001802/0.1908, allocations: 27.92 kB / 0.6809 GB, free: 4.52 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004247/0.1912, allocations: 19.95 kB / 0.6809 GB, free: 4.504 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002212/0.1935, allocations: 1.287 MB / 0.6821 GB, free: 3.141 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003322/0.1938, allocations: 0.6768 MB / 0.6828 GB, free: 2.438 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 5.328e-05/0.1939, allocations: 7.859 kB / 0.6828 GB, free: 2.43 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.589e-05/0.1939, allocations: 19.42 kB / 0.6828 GB, free: 2.41 MB / 0.5137 GB Notification: Performance of SimCode: time 4.31e-07/0.194, allocations: 4 kB / 0.6828 GB, free: 2.406 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02409/0.218, allocations: 1.692 MB / 0.6845 GB, free: 0.8047 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.564/7.782, allocations: 14.23 kB / 0.6845 GB, free: 0.7969 MB / 0.5137 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_FallingFactorial_fmu --startTime=0 --stopTime=11 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_FallingFactorial.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.pipe 2>&1)