Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.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.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008388/0.008388, allocations: 98.94 kB / 15.73 MB, free: 6.035 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.00176/0.00176, allocations: 195.7 kB / 16.67 MB, free: 5.961 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.412/1.412, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.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 1.043/1.043, allocations: 143 MB / 433.6 MB, free: 11.48 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 63.91 kB / 0.5956 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.454/0.4552, allocations: 82.03 MB / 0.6757 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001529/0.4568, allocations: 0.581 MB / 0.6762 GB, free: 1.285 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002676/0.4571, allocations: 54.17 kB / 0.6763 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.7e-05/0.4571, allocations: 5.125 kB / 0.6763 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.541e-05/0.4572, allocations: 0 / 0.6763 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.262e-06/0.4572, allocations: 0 / 0.6763 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002531/0.4574, allocations: 22.75 kB / 0.6763 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.698e-05/0.4575, allocations: 31.41 kB / 0.6763 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.198e-05/0.4576, allocations: 2.625 kB / 0.6764 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.825e-05/0.4576, allocations: 8.641 kB / 0.6764 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.532e-05/0.4576, allocations: 14.73 kB / 0.6764 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.165e-05/0.4576, allocations: 1.469 kB / 0.6764 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.199e-05/0.4577, allocations: 15.36 kB / 0.6764 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.669e-05/0.4577, allocations: 17.39 kB / 0.6764 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.825e-05/0.4578, allocations: 16.98 kB / 0.6764 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.133e-05/0.4579, allocations: 34.97 kB / 0.6765 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.4579, allocations: 0 / 0.6765 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.052e-06/0.4579, allocations: 0 / 0.6765 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.4579, allocations: 0 / 0.6765 GB, free: 1.148 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0002483/0.4581, allocations: 341 kB / 0.6768 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.4582, allocations: 9.375 kB / 0.6768 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.348e-05/0.4582, allocations: 3.562 kB / 0.6768 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.86e-05/0.4583, allocations: 164.4 kB / 0.677 GB, free: 0.5781 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.4583, allocations: 3.156 kB / 0.677 GB, free: 0.5781 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.098e-05/0.4583, allocations: 15.06 kB / 0.677 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000118/0.4584, allocations: 62.8 kB / 0.677 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.273e-06/0.4584, allocations: 1.406 kB / 0.677 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.297e-06/0.4585, allocations: 3.938 kB / 0.677 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.4585, allocations: 1.062 kB / 0.677 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001231/0.4586, allocations: 102.9 kB / 0.6771 GB, free: 476 kB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001172/0.4587, allocations: 177.9 kB / 0.6773 GB, free: 260 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.55e-05/0.4588, allocations: 78.11 kB / 0.6774 GB, free: 208 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.886e-05/0.4589, allocations: 35.97 kB / 0.6774 GB, free: 184 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002747/0.4591, allocations: 402 kB / 0.6778 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.764e-05/0.4592, allocations: 31.78 kB / 0.6778 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=11): time 1.172e-06/0.4592, allocations: 0 / 0.6778 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11): time 0.0002375/0.4594, allocations: 122.5 kB / 0.6779 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.968e-05/0.4595, allocations: 52.69 kB / 0.678 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.393e-05/0.4595, allocations: 95.09 kB / 0.6781 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.482e-05/0.4595, allocations: 30.86 kB / 0.6781 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 2.289e-05/0.4596, allocations: 84.14 kB / 0.6782 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.827e-05/0.4596, allocations: 19.38 kB / 0.6782 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.094e-05/0.4596, allocations: 28.77 kB / 0.6782 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001146/0.4598, allocations: 324 kB / 0.6785 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.623e-05/0.4598, allocations: 20.3 kB / 0.6786 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.427e-05/0.4598, allocations: 25.44 kB / 0.6786 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001142/0.46, allocations: 59.59 kB / 0.6786 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.46, allocations: 0 / 0.6786 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001301/0.4601, allocations: 96.39 kB / 0.6787 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/0.4601, allocations: 5.594 kB / 0.6787 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.4601, allocations: 3.938 kB / 0.6787 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.4602, allocations: 1 kB / 0.6787 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.676e-05/0.4603, allocations: 22.95 kB / 0.6788 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.4603, allocations: 1.156 kB / 0.6788 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.989e-05/0.4603, allocations: 5.125 kB / 0.6788 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.4603, allocations: 3.406 kB / 0.6788 GB, free: 14.81 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: 11 (n,falFac[10],falFac[9],falFac[8],falFac[7],falFac[6],falFac[5],falFac[4],falFac[3],falFac[2],falFac[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001133/0.4604, allocations: 124.9 kB / 0.6789 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.344e-05/0.4604, allocations: 6.016 kB / 0.6789 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002192/0.4607, allocations: 126.8 kB / 0.679 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.4607, allocations: 1.156 kB / 0.679 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.4607, allocations: 0.9688 kB / 0.679 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.4607, allocations: 0 / 0.679 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001324/0.4608, allocations: 183.6 kB / 0.6792 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.4608, allocations: 3.984 kB / 0.6792 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.657e-05/0.4609, allocations: 22.7 kB / 0.6792 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.4609, allocations: 9.125 kB / 0.6792 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.848e-06/0.4609, allocations: 5.406 kB / 0.6792 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.4609, allocations: 1.031 kB / 0.6792 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.4609, allocations: 0 / 0.6792 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001457/0.4611, allocations: 122.4 kB / 0.6794 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.857e-05/0.4611, allocations: 87.12 kB / 0.6794 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.273e-05/0.4612, allocations: 0.8438 kB / 0.6794 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.47e-05/0.4612, allocations: 5.031 kB / 0.6794 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.881e-05/0.4612, allocations: 16.27 kB / 0.6795 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.982e-06/0.4612, allocations: 2.969 kB / 0.6795 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 2.203e-05/0.4612, allocations: 75.28 kB / 0.6795 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.4613, allocations: 0 / 0.6795 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0001915/0.4614, allocations: 14.84 kB / 0.6796 GB, free: 14.07 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: 11 (falFac[1],falFac[2],falFac[3],falFac[4],falFac[5],falFac[6],falFac[7],falFac[8],falFac[9],falFac[10],n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0001647/0.4616, allocations: 112.9 kB / 0.6797 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001336/0.4618, allocations: 67.33 kB / 0.6797 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/0.4618, allocations: 4 kB / 0.6797 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 4.857e-05/0.4618, allocations: 31.45 kB / 0.6798 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001322/0.462, allocations: 6.531 kB / 0.6798 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002475/0.4622, allocations: 164.5 kB / 0.6799 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002322/0.4625, allocations: 0.6827 MB / 0.6806 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 7.484e-05/0.4625, allocations: 39.23 kB / 0.6806 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.296e-05/0.4626, allocations: 21.12 kB / 0.6806 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of SimCode: time 2.3e-07/0.4626, allocations: 0 / 0.6806 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of Templates: time 0.002474/0.465, allocations: 0.6198 MB / 0.6813 GB, free: 12.73 MB / 0.5137 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1)