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.00634/0.00634, allocations: 104.4 kB / 15.74 MB, free: 6.039 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.00147/0.00147, allocations: 196.3 kB / 16.68 MB, free: 5.957 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.389/1.389, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.8594/0.8594, allocations: 143.1 MB / 433.6 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 64.53 kB / 0.5951 GB, free: 12.75 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1487/0.1499, 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.002847/0.1528, allocations: 1.53 MB / 0.6767 GB, free: 9.281 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0004292/0.1533, allocations: 128.5 kB / 0.6768 GB, free: 9.152 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.836e-05/0.1534, allocations: 3.938 kB / 0.6768 GB, free: 9.148 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.744e-05/0.1534, allocations: 11.98 kB / 0.6768 GB, free: 9.137 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.14e-05/0.1535, allocations: 3.938 kB / 0.6768 GB, free: 9.133 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003286/0.1538, allocations: 35.83 kB / 0.6768 GB, free: 9.098 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 8.435e-05/0.1539, allocations: 39.86 kB / 0.6769 GB, free: 9.059 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.154, allocations: 8 kB / 0.6769 GB, free: 9.051 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.391e-05/0.1541, allocations: 11.98 kB / 0.6769 GB, free: 9.039 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.532e-05/0.1541, allocations: 23.91 kB / 0.6769 GB, free: 9.016 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.902e-05/0.1542, allocations: 4 kB / 0.6769 GB, free: 9.012 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 8.489e-05/0.1543, allocations: 19.98 kB / 0.6769 GB, free: 8.992 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.176e-05/0.1543, allocations: 15.92 kB / 0.677 GB, free: 8.977 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.244e-05/0.1543, allocations: 7.938 kB / 0.677 GB, free: 8.969 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000162/0.1545, allocations: 51.86 kB / 0.677 GB, free: 8.918 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.1545, allocations: 0 / 0.677 GB, free: 8.918 MB / 0.5137 GB Notification: Performance of FrontEnd: time 4.97e-06/0.1545, allocations: 4 kB / 0.677 GB, free: 8.914 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.191e-06/0.1545, allocations: 0 / 0.677 GB, free: 8.914 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.0005191/0.155, allocations: 348.1 kB / 0.6773 GB, free: 8.527 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.1551, allocations: 8.031 kB / 0.6774 GB, free: 8.52 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.792e-05/0.1552, allocations: 42.75 kB / 0.6774 GB, free: 8.469 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.475e-05/0.1552, allocations: 0.9375 kB / 0.6774 GB, free: 8.469 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001356/0.1553, allocations: 177.1 kB / 0.6776 GB, free: 8.258 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.46e-05/0.1554, allocations: 4.359 kB / 0.6776 GB, free: 8.254 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.316e-05/0.1554, allocations: 8.375 kB / 0.6776 GB, free: 8.246 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001994/0.1556, allocations: 58.22 kB / 0.6776 GB, free: 8.184 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.1556, allocations: 3.938 kB / 0.6776 GB, free: 8.18 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.1556, allocations: 4 kB / 0.6776 GB, free: 8.176 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.1556, allocations: 0 / 0.6776 GB, free: 8.176 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001908/0.1558, allocations: 51.95 kB / 0.6777 GB, free: 8.125 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000389/0.1562, allocations: 280.7 kB / 0.678 GB, free: 7.801 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003133/0.1566, allocations: 54.53 kB / 0.678 GB, free: 7.738 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.988e-05/0.1567, allocations: 28.91 kB / 0.678 GB, free: 7.707 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003034/0.157, allocations: 405.5 kB / 0.6784 GB, free: 7.219 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.348e-05/0.157, allocations: 34.56 kB / 0.6785 GB, free: 7.176 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.157, allocations: 0 / 0.6785 GB, free: 7.176 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.0003793/0.1574, allocations: 93.48 kB / 0.6785 GB, free: 7.078 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.836e-05/0.1575, allocations: 55.41 kB / 0.6786 GB, free: 7.012 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.09e-05/0.1575, allocations: 113.8 kB / 0.6787 GB, free: 6.891 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.1576, allocations: 25.7 kB / 0.6787 GB, free: 6.859 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.935e-05/0.1576, allocations: 88.12 kB / 0.6788 GB, free: 6.77 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.647e-05/0.1576, allocations: 7.906 kB / 0.6788 GB, free: 6.762 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.756e-05/0.1577, allocations: 17.72 kB / 0.6788 GB, free: 6.738 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.1578, allocations: 318.8 kB / 0.6791 GB, free: 6.418 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.068e-05/0.1579, allocations: 19.98 kB / 0.6792 GB, free: 6.398 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.319e-05/0.158, allocations: 19.98 kB / 0.6792 GB, free: 6.379 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001656/0.1581, allocations: 48.75 kB / 0.6792 GB, free: 6.328 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.1582, allocations: 3.938 kB / 0.6792 GB, free: 6.324 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002031/0.1584, allocations: 81.5 kB / 0.6793 GB, free: 6.238 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.1584, allocations: 7.984 kB / 0.6793 GB, free: 6.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.1584, allocations: 0 / 0.6793 GB, free: 6.23 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.1584, allocations: 4 kB / 0.6793 GB, free: 6.227 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.141e-05/0.1585, allocations: 11.98 kB / 0.6793 GB, free: 6.215 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.1585, allocations: 0 / 0.6793 GB, free: 6.215 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.636e-05/0.1586, allocations: 4 kB / 0.6793 GB, free: 6.211 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/0.1586, allocations: 4 kB / 0.6793 GB, free: 6.207 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 9.973e-05/0.1587, allocations: 114.7 kB / 0.6794 GB, free: 6.086 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.221e-05/0.1588, allocations: 7.984 kB / 0.6795 GB, free: 6.078 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002707/0.159, allocations: 90.11 kB / 0.6795 GB, free: 5.98 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.65e-06/0.159, allocations: 4.031 kB / 0.6795 GB, free: 5.977 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.1591, allocations: 0 / 0.6795 GB, free: 5.977 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.1591, allocations: 4 kB / 0.6796 GB, free: 5.973 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000194/0.1593, allocations: 165.6 kB / 0.6797 GB, free: 5.762 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.1593, allocations: 4 kB / 0.6797 GB, free: 5.758 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.45e-05/0.1594, allocations: 7.984 kB / 0.6797 GB, free: 5.75 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.1594, allocations: 4 kB / 0.6797 GB, free: 5.746 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/0.1594, allocations: 0 / 0.6797 GB, free: 5.746 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.1594, allocations: 4 kB / 0.6797 GB, free: 5.742 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1594, allocations: 0 / 0.6797 GB, free: 5.742 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002798/0.1597, allocations: 183.3 kB / 0.6799 GB, free: 5.547 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.363e-05/0.1597, allocations: 81.05 kB / 0.68 GB, free: 5.449 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.769e-05/0.1598, allocations: 4 kB / 0.68 GB, free: 5.445 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.4e-05/0.1598, allocations: 3.984 kB / 0.68 GB, free: 5.441 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.667e-05/0.1599, allocations: 12 kB / 0.68 GB, free: 5.43 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/0.1599, allocations: 4 kB / 0.68 GB, free: 5.426 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.156e-05/0.16, allocations: 83.27 kB / 0.6801 GB, free: 5.344 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.41e-07/0.16, allocations: 0 / 0.6801 GB, free: 5.344 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002403/0.1602, allocations: 16 kB / 0.6801 GB, free: 5.328 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.0006368/0.1609, allocations: 0.7123 MB / 0.6808 GB, free: 4.59 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002235/0.1611, allocations: 47.89 kB / 0.6808 GB, free: 4.543 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1611, allocations: 0 / 0.6808 GB, free: 4.543 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 9.615e-05/0.1612, allocations: 27.97 kB / 0.6809 GB, free: 4.516 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002949/0.1615, allocations: 4 kB / 0.6809 GB, free: 4.512 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001496/0.163, allocations: 1.292 MB / 0.6821 GB, free: 3.141 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000248/0.1633, allocations: 0.6807 MB / 0.6828 GB, free: 2.434 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.314e-05/0.1633, allocations: 3.859 kB / 0.6828 GB, free: 2.43 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.431e-05/0.1634, allocations: 15.44 kB / 0.6828 GB, free: 2.414 MB / 0.5137 GB Notification: Performance of SimCode: time 3.31e-07/0.1634, allocations: 4 kB / 0.6828 GB, free: 2.41 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01714/0.1806, allocations: 1.734 MB / 0.6845 GB, free: 0.7734 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.491/7.672, allocations: 11.98 kB / 0.6845 GB, free: 0.7656 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)