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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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.001429/0.001429, allocations: 101.4 kB / 16.27 MB, free: 5.996 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.001223/0.001223, allocations: 186.3 kB / 17.2 MB, free: 5.605 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.416/1.416, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 0.9258/0.9258, allocations: 143.3 MB / 434.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002822/0.002822, allocations: 63.91 kB / 0.5151 GB, free: 15.04 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3676/0.3705, allocations: 82.04 MB / 0.5952 GB, free: 16.02 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial): time 0.00244/0.373, allocations: 1.52 MB / 0.5967 GB, free: 14.5 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003159/0.3733, allocations: 145.4 kB / 0.5968 GB, free: 14.36 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.203e-05/0.3734, allocations: 0 / 0.5968 GB, free: 14.36 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.317e-05/0.3734, allocations: 6.781 kB / 0.5968 GB, free: 14.35 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.538e-05/0.3734, allocations: 3.938 kB / 0.5968 GB, free: 14.35 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002454/0.3737, allocations: 31.95 kB / 0.5968 GB, free: 14.32 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.683e-05/0.3738, allocations: 39.86 kB / 0.5969 GB, free: 14.28 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.293e-05/0.3739, allocations: 8 kB / 0.5969 GB, free: 14.27 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.798e-05/0.3739, allocations: 21.31 kB / 0.5969 GB, free: 14.25 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.675e-05/0.3739, allocations: 15.92 kB / 0.5969 GB, free: 14.23 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.375e-05/0.374, allocations: 4 kB / 0.5969 GB, free: 14.23 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.635e-05/0.374, allocations: 19.98 kB / 0.5969 GB, free: 14.21 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.418e-05/0.374, allocations: 9.344 kB / 0.597 GB, free: 14.2 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.695e-05/0.3741, allocations: 19.92 kB / 0.597 GB, free: 14.18 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001025/0.3742, allocations: 39.88 kB / 0.597 GB, free: 14.14 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3742, allocations: 1.344 kB / 0.597 GB, free: 14.14 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.552e-06/0.3742, allocations: 0 / 0.597 GB, free: 14.14 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.3742, allocations: 0 / 0.597 GB, free: 14.14 MB / 446.1 MB 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.0003937/0.3746, allocations: 362.1 kB / 0.5974 GB, free: 13.74 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.146e-05/0.3747, allocations: 13.41 kB / 0.5974 GB, free: 13.73 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.935e-05/0.3747, allocations: 0.9375 kB / 0.5974 GB, free: 13.73 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.807e-05/0.3748, allocations: 172.2 kB / 0.5975 GB, free: 13.52 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.116e-05/0.3748, allocations: 384 / 0.5975 GB, free: 13.52 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.072e-05/0.3748, allocations: 9.719 kB / 0.5975 GB, free: 13.52 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001817/0.375, allocations: 66.2 kB / 0.5976 GB, free: 13.45 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.375, allocations: 1.625 kB / 0.5976 GB, free: 13.45 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.375, allocations: 3.938 kB / 0.5976 GB, free: 13.44 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.3751, allocations: 0 / 0.5976 GB, free: 13.44 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001799/0.3752, allocations: 49.2 kB / 0.5977 GB, free: 13.39 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000299/0.3755, allocations: 286 kB / 0.5979 GB, free: 13.07 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002981/0.3759, allocations: 56.55 kB / 0.598 GB, free: 13 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.27e-05/0.376, allocations: 28.89 kB / 0.598 GB, free: 12.97 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001847/0.3761, allocations: 398.9 kB / 0.5984 GB, free: 12.49 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.382e-05/0.3762, allocations: 42.44 kB / 0.5984 GB, free: 12.44 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/0.3762, allocations: 0 / 0.5984 GB, free: 12.44 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003508/0.3765, allocations: 91.12 kB / 0.5985 GB, free: 12.35 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.216e-05/0.3766, allocations: 52.75 kB / 0.5986 GB, free: 12.29 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.98e-05/0.3766, allocations: 113.8 kB / 0.5987 GB, free: 12.16 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.075e-06/0.3766, allocations: 25.7 kB / 0.5987 GB, free: 12.13 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.427e-05/0.3767, allocations: 81.61 kB / 0.5988 GB, free: 12.05 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.227e-05/0.3767, allocations: 11.91 kB / 0.5988 GB, free: 12.04 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.852e-05/0.3767, allocations: 17.7 kB / 0.5988 GB, free: 12.02 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.632e-05/0.3768, allocations: 320.1 kB / 0.5991 GB, free: 11.7 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.625e-05/0.3768, allocations: 21 kB / 0.5991 GB, free: 11.68 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.553e-05/0.3769, allocations: 15.98 kB / 0.5992 GB, free: 11.66 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000154/0.3771, allocations: 53.81 kB / 0.5992 GB, free: 11.61 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3771, allocations: 1.531 kB / 0.5992 GB, free: 11.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001917/0.3773, allocations: 77.56 kB / 0.5993 GB, free: 11.52 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.3773, allocations: 5.344 kB / 0.5993 GB, free: 11.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.3773, allocations: 0 / 0.5993 GB, free: 11.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.3773, allocations: 0 / 0.5993 GB, free: 11.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.812e-05/0.3774, allocations: 16.58 kB / 0.5993 GB, free: 11.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.3774, allocations: 0 / 0.5993 GB, free: 11.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.679e-05/0.3775, allocations: 12.98 kB / 0.5993 GB, free: 11.49 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-06/0.3775, allocations: 4 kB / 0.5993 GB, free: 11.49 MB / 446.1 MB 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 5.101e-05/0.3776, allocations: 118.4 kB / 0.5994 GB, free: 11.36 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.499e-05/0.3776, allocations: 5.5 kB / 0.5994 GB, free: 11.36 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002307/0.3778, allocations: 79.19 kB / 0.5995 GB, free: 11.27 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.3778, allocations: 0 / 0.5995 GB, free: 11.27 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.3779, allocations: 0 / 0.5995 GB, free: 11.27 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.3779, allocations: 4.547 kB / 0.5995 GB, free: 11.27 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001104/0.378, allocations: 170.7 kB / 0.5997 GB, free: 11.05 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.378, allocations: 4 kB / 0.5997 GB, free: 11.05 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.898e-05/0.3781, allocations: 7.984 kB / 0.5997 GB, free: 11.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.3781, allocations: 5.219 kB / 0.5997 GB, free: 11.04 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.214e-06/0.3781, allocations: 3.984 kB / 0.5997 GB, free: 11.03 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.3781, allocations: 0 / 0.5997 GB, free: 11.03 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.3781, allocations: 1.938 kB / 0.5997 GB, free: 11.03 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002074/0.3783, allocations: 176 kB / 0.5999 GB, free: 10.84 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.194e-05/0.3783, allocations: 77.11 kB / 0.5999 GB, free: 10.75 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.634e-05/0.3784, allocations: 13.39 kB / 0.6 GB, free: 10.74 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.036e-05/0.3784, allocations: 4 kB / 0.6 GB, free: 10.73 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.599e-05/0.3785, allocations: 7.984 kB / 0.6 GB, free: 10.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.3785, allocations: 0.625 kB / 0.6 GB, free: 10.73 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.392e-05/0.3785, allocations: 91.83 kB / 0.6001 GB, free: 10.64 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3785, allocations: 3.938 kB / 0.6001 GB, free: 10.63 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002345/0.3788, allocations: 13.02 kB / 0.6001 GB, free: 10.62 MB / 446.1 MB 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.0001233/0.3789, allocations: 104.1 kB / 0.6002 GB, free: 10.51 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002301/0.3792, allocations: 48.61 kB / 0.6002 GB, free: 10.46 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.3792, allocations: 1.469 kB / 0.6002 GB, free: 10.46 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.119e-05/0.3793, allocations: 27.97 kB / 0.6002 GB, free: 10.44 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002749/0.3795, allocations: 9.875 kB / 0.6003 GB, free: 10.43 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002722/0.3798, allocations: 151.3 kB / 0.6004 GB, free: 10.25 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.561e-05/0.3799, allocations: 0.6814 MB / 0.6011 GB, free: 9.539 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.67e-05/0.38, allocations: 14.16 kB / 0.6011 GB, free: 9.527 MB / 446.1 MB Notification: Performance of SimCode: time 7.41e-07/0.38, allocations: 0 / 0.6011 GB, free: 9.527 MB / 446.1 MB Notification: Performance of Templates: time 0.002072/0.382, allocations: 0.8084 MB / 0.6019 GB, free: 8.742 MB / 446.1 MB 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)