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.001387/0.001387, allocations: 103.5 kB / 16.35 MB, free: 5.875 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.001533/0.001533, allocations: 195.7 kB / 17.3 MB, free: 5.516 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.435/1.435, allocations: 222.9 MB / 241 MB, free: 14.98 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.8902/0.8902, allocations: 143.1 MB / 434.2 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001423, allocations: 63.91 kB / 0.5156 GB, free: 14.43 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3704/0.3718, allocations: 82.03 MB / 0.5957 GB, free: 16.27 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial): time 0.002497/0.3743, allocations: 1.527 MB / 0.5972 GB, free: 14.75 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00036/0.3747, allocations: 137.9 kB / 0.5973 GB, free: 14.62 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.148e-05/0.3748, allocations: 0 / 0.5973 GB, free: 14.62 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.301e-05/0.3748, allocations: 3.938 kB / 0.5973 GB, free: 14.61 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.892e-05/0.3749, allocations: 8.672 kB / 0.5973 GB, free: 14.61 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00031/0.3752, allocations: 27.91 kB / 0.5973 GB, free: 14.58 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.339e-05/0.3753, allocations: 41.36 kB / 0.5974 GB, free: 14.54 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.837e-05/0.3754, allocations: 13.3 kB / 0.5974 GB, free: 14.53 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.719e-05/0.3754, allocations: 19.97 kB / 0.5974 GB, free: 14.51 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.214e-05/0.3755, allocations: 15.92 kB / 0.5974 GB, free: 14.49 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.477e-05/0.3755, allocations: 4 kB / 0.5974 GB, free: 14.49 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.364e-05/0.3756, allocations: 24.92 kB / 0.5975 GB, free: 14.46 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.48e-05/0.3756, allocations: 7.938 kB / 0.5975 GB, free: 14.46 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.829e-05/0.3756, allocations: 17.3 kB / 0.5975 GB, free: 14.44 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001139/0.3757, allocations: 43.88 kB / 0.5975 GB, free: 14.4 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.3758, allocations: 3.938 kB / 0.5975 GB, free: 14.39 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3758, allocations: 0 / 0.5975 GB, free: 14.39 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.952e-06/0.3758, allocations: 0.9375 kB / 0.5975 GB, free: 14.39 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.0004214/0.3762, allocations: 350.4 kB / 0.5979 GB, free: 14 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.3762, allocations: 12.03 kB / 0.5979 GB, free: 13.99 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.643e-05/0.3763, allocations: 2.406 kB / 0.5979 GB, free: 13.99 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.648e-05/0.3764, allocations: 176.2 kB / 0.598 GB, free: 13.78 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.266e-05/0.3764, allocations: 4.375 kB / 0.598 GB, free: 13.78 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.536e-05/0.3764, allocations: 4.375 kB / 0.5981 GB, free: 13.77 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001819/0.3766, allocations: 66.92 kB / 0.5981 GB, free: 13.7 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.3766, allocations: 1.719 kB / 0.5981 GB, free: 13.7 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.3767, allocations: 3.938 kB / 0.5981 GB, free: 13.7 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.3767, allocations: 4 kB / 0.5981 GB, free: 13.7 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001773/0.3768, allocations: 45.36 kB / 0.5982 GB, free: 13.65 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003344/0.3772, allocations: 277.3 kB / 0.5984 GB, free: 13.33 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00027/0.3775, allocations: 60.03 kB / 0.5985 GB, free: 13.27 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.346e-05/0.3776, allocations: 29.73 kB / 0.5985 GB, free: 13.23 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001856/0.3778, allocations: 403.7 kB / 0.5989 GB, free: 12.75 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.167e-05/0.3778, allocations: 30.56 kB / 0.5989 GB, free: 12.71 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.3778, allocations: 3.938 kB / 0.5989 GB, free: 12.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003317/0.3781, allocations: 99.12 kB / 0.599 GB, free: 12.61 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.995e-05/0.3781, allocations: 51.41 kB / 0.5991 GB, free: 12.54 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.347e-05/0.3782, allocations: 115.2 kB / 0.5992 GB, free: 12.42 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.985e-06/0.3782, allocations: 25.7 kB / 0.5992 GB, free: 12.39 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.767e-05/0.3783, allocations: 84.14 kB / 0.5993 GB, free: 12.3 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.097e-05/0.3783, allocations: 7.906 kB / 0.5993 GB, free: 12.3 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.774e-05/0.3783, allocations: 19.22 kB / 0.5993 GB, free: 12.27 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.47e-05/0.3784, allocations: 318.8 kB / 0.5996 GB, free: 11.95 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.718e-05/0.3784, allocations: 21.33 kB / 0.5996 GB, free: 11.93 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.524e-05/0.3785, allocations: 23.91 kB / 0.5997 GB, free: 11.91 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001317/0.3786, allocations: 46.23 kB / 0.5997 GB, free: 11.86 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.3787, allocations: 0 / 0.5997 GB, free: 11.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001683/0.3788, allocations: 82.77 kB / 0.5998 GB, free: 11.78 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.3788, allocations: 6.5 kB / 0.5998 GB, free: 11.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.3789, allocations: 0 / 0.5998 GB, free: 11.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.3789, allocations: 0 / 0.5998 GB, free: 11.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.227e-05/0.3789, allocations: 17.2 kB / 0.5998 GB, free: 11.76 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.379, allocations: 0 / 0.5998 GB, free: 11.76 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.227e-05/0.379, allocations: 13.27 kB / 0.5998 GB, free: 11.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.379, allocations: 4 kB / 0.5998 GB, free: 11.74 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 4.926e-05/0.3791, allocations: 111.1 kB / 0.5999 GB, free: 11.62 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.447e-05/0.3791, allocations: 4 kB / 0.5999 GB, free: 11.62 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000211/0.3793, allocations: 86.89 kB / 0.6 GB, free: 11.52 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.3793, allocations: 0 / 0.6 GB, free: 11.52 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.3793, allocations: 4 kB / 0.6 GB, free: 11.52 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.3794, allocations: 1.406 kB / 0.6 GB, free: 11.52 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001108/0.3795, allocations: 173.6 kB / 0.6002 GB, free: 11.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/0.3795, allocations: 0 / 0.6002 GB, free: 11.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.632e-05/0.3795, allocations: 12.92 kB / 0.6002 GB, free: 11.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.3796, allocations: 0 / 0.6002 GB, free: 11.29 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.3796, allocations: 0 / 0.6002 GB, free: 11.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.3796, allocations: 1.156 kB / 0.6002 GB, free: 11.29 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.3796, allocations: 0 / 0.6002 GB, free: 11.29 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002046/0.3798, allocations: 181.2 kB / 0.6004 GB, free: 11.1 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.062e-05/0.3798, allocations: 78.36 kB / 0.6005 GB, free: 11 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.302e-05/0.3798, allocations: 4 kB / 0.6005 GB, free: 11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.891e-05/0.3799, allocations: 7.984 kB / 0.6005 GB, free: 10.99 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.927e-05/0.38, allocations: 9.469 kB / 0.6005 GB, free: 10.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.741e-06/0.38, allocations: 7.984 kB / 0.6005 GB, free: 10.98 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.494e-05/0.38, allocations: 83.28 kB / 0.6006 GB, free: 10.89 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.38, allocations: 1.406 kB / 0.6006 GB, free: 10.89 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002206/0.3802, allocations: 11.94 kB / 0.6006 GB, free: 10.88 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.0001342/0.3804, allocations: 108.6 kB / 0.6007 GB, free: 10.77 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002097/0.3806, allocations: 49.17 kB / 0.6007 GB, free: 10.72 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3806, allocations: 3.938 kB / 0.6007 GB, free: 10.72 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.382e-05/0.3807, allocations: 27.92 kB / 0.6008 GB, free: 10.69 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002587/0.381, allocations: 8.953 kB / 0.6008 GB, free: 10.68 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002696/0.3812, allocations: 126.8 kB / 0.6009 GB, free: 10.53 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001101/0.3814, allocations: 0.6807 MB / 0.6015 GB, free: 9.824 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.749e-05/0.3814, allocations: 6.25 kB / 0.6016 GB, free: 9.82 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.203e-05/0.3814, allocations: 7.438 kB / 0.6016 GB, free: 9.812 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3814, allocations: 0 / 0.6016 GB, free: 9.812 MB / 446.1 MB Notification: Performance of Templates: time 0.002616/0.3841, allocations: 0.7759 MB / 0.6023 GB, free: 9.07 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 -s cvode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.pipe 2>&1)