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: translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 105.1 kB / 16.41 MB, free: 6.492 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.001171/0.001171, allocations: 189.6 kB / 17.34 MB, free: 5.762 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.341/1.341, allocations: 222.9 MB / 241 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.845/0.845, allocations: 143.1 MB / 434.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 60.75 kB / 0.5962 GB, free: 12.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1523/0.1535, allocations: 82.03 MB / 0.6763 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial): time 0.002868/0.1565, allocations: 1.537 MB / 0.6778 GB, free: 8.777 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0003832/0.1569, allocations: 128.5 kB / 0.6779 GB, free: 8.648 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.19e-05/0.1569, allocations: 0 / 0.6779 GB, free: 8.648 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.043e-05/0.157, allocations: 11.94 kB / 0.6779 GB, free: 8.637 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.828e-05/0.1571, allocations: 3.938 kB / 0.6779 GB, free: 8.633 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000383/0.1575, allocations: 27.97 kB / 0.678 GB, free: 8.605 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001069/0.1576, allocations: 31.92 kB / 0.678 GB, free: 8.574 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.1577, allocations: 19.91 kB / 0.678 GB, free: 8.555 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.374e-05/0.1578, allocations: 11.98 kB / 0.678 GB, free: 8.543 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.376e-05/0.1578, allocations: 23.92 kB / 0.6781 GB, free: 8.52 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.072e-05/0.1579, allocations: 4 kB / 0.6781 GB, free: 8.516 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 9.478e-05/0.158, allocations: 23.98 kB / 0.6781 GB, free: 8.492 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.085e-05/0.158, allocations: 11.94 kB / 0.6781 GB, free: 8.48 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.584e-05/0.158, allocations: 15.91 kB / 0.6781 GB, free: 8.465 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001563/0.1582, allocations: 39.83 kB / 0.6781 GB, free: 8.426 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 9.177e-06/0.1582, allocations: 4 kB / 0.6782 GB, free: 8.422 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.683e-06/0.1582, allocations: 0 / 0.6782 GB, free: 8.422 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.898e-06/0.1582, allocations: 4 kB / 0.6782 GB, free: 8.418 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.0005864/0.1588, allocations: 355.3 kB / 0.6785 GB, free: 8.02 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.1589, allocations: 8.031 kB / 0.6785 GB, free: 8.012 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.766e-05/0.1589, allocations: 12.94 kB / 0.6785 GB, free: 8 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001256/0.1591, allocations: 168.3 kB / 0.6787 GB, free: 7.797 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.667e-05/0.1591, allocations: 8.359 kB / 0.6787 GB, free: 7.789 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.327e-05/0.1591, allocations: 4.375 kB / 0.6787 GB, free: 7.785 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002187/0.1593, allocations: 66.22 kB / 0.6788 GB, free: 7.715 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.1593, allocations: 192 / 0.6788 GB, free: 7.715 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.1594, allocations: 3.938 kB / 0.6788 GB, free: 7.711 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.1594, allocations: 0 / 0.6788 GB, free: 7.711 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000193/0.1596, allocations: 51.89 kB / 0.6788 GB, free: 7.66 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004247/0.16, allocations: 276.8 kB / 0.6791 GB, free: 7.34 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003234/0.1603, allocations: 62.47 kB / 0.6791 GB, free: 7.27 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001006/0.1605, allocations: 28.89 kB / 0.6792 GB, free: 7.238 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002925/0.1608, allocations: 401.5 kB / 0.6795 GB, free: 6.754 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.299e-05/0.1608, allocations: 34.56 kB / 0.6796 GB, free: 6.711 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 1.453e-06/0.1608, allocations: 0 / 0.6796 GB, free: 6.711 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.0004004/0.1612, allocations: 97.53 kB / 0.6797 GB, free: 6.609 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.5e-05/0.1613, allocations: 51.41 kB / 0.6797 GB, free: 6.547 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.663e-05/0.1613, allocations: 109.8 kB / 0.6798 GB, free: 6.43 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.04e-05/0.1614, allocations: 29.7 kB / 0.6798 GB, free: 6.395 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.531e-05/0.1614, allocations: 84.14 kB / 0.6799 GB, free: 6.309 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.657e-05/0.1614, allocations: 3.906 kB / 0.6799 GB, free: 6.305 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.768e-05/0.1615, allocations: 25.64 kB / 0.68 GB, free: 6.273 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.861e-05/0.1616, allocations: 318.8 kB / 0.6803 GB, free: 5.953 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.72e-05/0.1617, allocations: 15.98 kB / 0.6803 GB, free: 5.938 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.618e-05/0.1618, allocations: 27.97 kB / 0.6803 GB, free: 5.91 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001613/0.1619, allocations: 36.83 kB / 0.6803 GB, free: 5.871 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1619, allocations: 4 kB / 0.6803 GB, free: 5.867 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002147/0.1622, allocations: 73.64 kB / 0.6804 GB, free: 5.789 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.1622, allocations: 8 kB / 0.6804 GB, free: 5.781 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.1622, allocations: 0 / 0.6804 GB, free: 5.781 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.1622, allocations: 3.938 kB / 0.6804 GB, free: 5.777 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.425e-05/0.1623, allocations: 19.92 kB / 0.6804 GB, free: 5.758 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.1623, allocations: 0 / 0.6804 GB, free: 5.758 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.156e-05/0.1624, allocations: 11.89 kB / 0.6805 GB, free: 5.746 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.1624, allocations: 320 / 0.6805 GB, free: 5.746 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 8.696e-05/0.1625, allocations: 117.8 kB / 0.6806 GB, free: 5.621 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.673e-05/0.1625, allocations: 0 / 0.6806 GB, free: 5.621 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002626/0.1628, allocations: 93.86 kB / 0.6807 GB, free: 5.52 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.1628, allocations: 4.031 kB / 0.6807 GB, free: 5.516 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.1628, allocations: 0 / 0.6807 GB, free: 5.516 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.1628, allocations: 0 / 0.6807 GB, free: 5.516 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001641/0.163, allocations: 169.7 kB / 0.6808 GB, free: 5.301 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.163, allocations: 0 / 0.6808 GB, free: 5.301 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.459e-05/0.1631, allocations: 11.98 kB / 0.6808 GB, free: 5.289 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.631e-06/0.1631, allocations: 0 / 0.6808 GB, free: 5.289 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-06/0.1631, allocations: 3.938 kB / 0.6808 GB, free: 5.285 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.1631, allocations: 8 kB / 0.6808 GB, free: 5.277 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1631, allocations: 4 kB / 0.6808 GB, free: 5.273 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000281/0.1634, allocations: 179.3 kB / 0.681 GB, free: 5.082 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.687e-05/0.1635, allocations: 81.05 kB / 0.6811 GB, free: 4.984 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.552e-05/0.1635, allocations: 0 / 0.6811 GB, free: 4.984 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.371e-05/0.1636, allocations: 7.984 kB / 0.6811 GB, free: 4.977 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.467e-05/0.1637, allocations: 11.98 kB / 0.6811 GB, free: 4.965 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.558e-06/0.1637, allocations: 4 kB / 0.6811 GB, free: 4.961 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.354e-05/0.1637, allocations: 91.22 kB / 0.6812 GB, free: 4.871 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.5e-07/0.1637, allocations: 0 / 0.6812 GB, free: 4.871 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002498/0.164, allocations: 8 kB / 0.6812 GB, free: 4.863 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.0001766/0.1642, allocations: 103.2 kB / 0.6813 GB, free: 4.754 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002391/0.1644, allocations: 47.89 kB / 0.6814 GB, free: 4.707 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.1644, allocations: 4 kB / 0.6814 GB, free: 4.703 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 9.206e-05/0.1645, allocations: 23.98 kB / 0.6814 GB, free: 4.68 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003055/0.1648, allocations: 14.73 kB / 0.6814 GB, free: 4.668 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003563/0.1652, allocations: 143.2 kB / 0.6815 GB, free: 4.496 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002383/0.1655, allocations: 0.6768 MB / 0.6822 GB, free: 3.793 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.446e-05/0.1655, allocations: 11.44 kB / 0.6822 GB, free: 3.781 MB / 0.5137 GB Notification: Performance of SimCode: time 6.11e-07/0.1655, allocations: 3.938 kB / 0.6822 GB, free: 3.777 MB / 0.5137 GB Notification: Performance of Templates: time 0.002437/0.168, allocations: 0.8164 MB / 0.683 GB, free: 2.957 MB / 0.5137 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.makefile (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 & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.pipe 2>&1)