Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial.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.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001138/0.001139, allocations: 111.2 kB / 16.37 MB, free: 6.012 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.001032/0.001032, allocations: 191.5 kB / 17.3 MB, free: 5.613 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.293/1.293, allocations: 222.9 MB / 241 MB, free: 15.17 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.8258/0.8258, allocations: 143 MB / 434.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 67.89 kB / 0.5156 GB, free: 14.43 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3288/0.33, allocations: 82.03 MB / 0.5957 GB, free: 16.13 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial): time 0.001662/0.3317, allocations: 0.5733 MB / 0.5963 GB, free: 15.57 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002336/0.332, allocations: 55.06 kB / 0.5963 GB, free: 15.52 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.424e-05/0.332, allocations: 0 / 0.5963 GB, free: 15.52 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.088e-05/0.332, allocations: 5.25 kB / 0.5963 GB, free: 15.52 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.749e-06/0.332, allocations: 0 / 0.5963 GB, free: 15.52 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001992/0.3322, allocations: 15.91 kB / 0.5963 GB, free: 15.5 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.978e-05/0.3323, allocations: 8.969 kB / 0.5963 GB, free: 15.49 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.424e-05/0.3323, allocations: 0 / 0.5963 GB, free: 15.49 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.319e-05/0.3324, allocations: 7.938 kB / 0.5964 GB, free: 15.48 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.864e-05/0.3324, allocations: 1.031 kB / 0.5964 GB, free: 15.48 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.987e-06/0.3324, allocations: 0 / 0.5964 GB, free: 15.48 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.14e-05/0.3325, allocations: 11.98 kB / 0.5964 GB, free: 15.47 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.997e-06/0.3325, allocations: 1.531 kB / 0.5964 GB, free: 15.47 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.763e-05/0.3325, allocations: 7.984 kB / 0.5964 GB, free: 15.46 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 6.945e-05/0.3326, allocations: 0 / 0.5964 GB, free: 15.46 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.798e-06/0.3326, allocations: 4 kB / 0.5964 GB, free: 15.46 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3326, allocations: 1.344 kB / 0.5964 GB, free: 15.46 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.3326, allocations: 0 / 0.5964 GB, free: 15.46 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002285/0.3328, allocations: 323.5 kB / 0.5967 GB, free: 15.09 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.3329, allocations: 9.469 kB / 0.5967 GB, free: 15.09 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.889e-05/0.3329, allocations: 0.9375 kB / 0.5967 GB, free: 15.09 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.816e-05/0.333, allocations: 160.4 kB / 0.5969 GB, free: 14.89 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.333, allocations: 9.734 kB / 0.5969 GB, free: 14.88 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.015e-06/0.333, allocations: 384 / 0.5969 GB, free: 14.88 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.833e-05/0.3331, allocations: 38.2 kB / 0.5969 GB, free: 14.84 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.493e-06/0.3331, allocations: 1.469 kB / 0.5969 GB, free: 14.84 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.524e-06/0.3331, allocations: 3.938 kB / 0.5969 GB, free: 14.84 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.3331, allocations: 0 / 0.5969 GB, free: 14.84 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.916e-05/0.3332, allocations: 5.312 kB / 0.5969 GB, free: 14.83 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.706e-05/0.3333, allocations: 149.7 kB / 0.5971 GB, free: 14.64 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.951e-05/0.3333, allocations: 27.55 kB / 0.5971 GB, free: 14.6 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.575e-05/0.3333, allocations: 6.234 kB / 0.5971 GB, free: 14.59 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001323/0.3335, allocations: 85.16 kB / 0.5972 GB, free: 14.49 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.789e-05/0.3335, allocations: 35.84 kB / 0.5972 GB, free: 14.45 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.3335, allocations: 0 / 0.5972 GB, free: 14.45 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001101/0.3336, allocations: 45.62 kB / 0.5972 GB, free: 14.4 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.117e-05/0.3336, allocations: 60.11 kB / 0.5973 GB, free: 14.33 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.72e-05/0.3337, allocations: 90.86 kB / 0.5974 GB, free: 14.23 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.46e-06/0.3337, allocations: 25.7 kB / 0.5974 GB, free: 14.2 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.035e-06/0.3337, allocations: 84.14 kB / 0.5975 GB, free: 14.11 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.654e-05/0.3337, allocations: 4.812 kB / 0.5975 GB, free: 14.11 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.252e-05/0.3337, allocations: 15.06 kB / 0.5975 GB, free: 14.09 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.45e-05/0.3338, allocations: 310.8 kB / 0.5978 GB, free: 13.78 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.678e-06/0.3338, allocations: 0 / 0.5978 GB, free: 13.78 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.063e-06/0.3338, allocations: 9.219 kB / 0.5978 GB, free: 13.77 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.428e-05/0.3338, allocations: 20.72 kB / 0.5978 GB, free: 13.75 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3338, allocations: 0.5 kB / 0.5978 GB, free: 13.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.58e-05/0.3339, allocations: 38.86 kB / 0.5979 GB, free: 13.7 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.408e-06/0.3339, allocations: 8 kB / 0.5979 GB, free: 13.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.3339, allocations: 1.156 kB / 0.5979 GB, free: 13.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.042e-05/0.3339, allocations: 3.938 kB / 0.5979 GB, free: 13.69 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.631e-05/0.334, allocations: 7.984 kB / 0.5979 GB, free: 13.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.334, allocations: 1.875 kB / 0.5979 GB, free: 13.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.298e-05/0.334, allocations: 0 / 0.5979 GB, free: 13.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.897e-06/0.334, allocations: 3.938 kB / 0.5979 GB, free: 13.68 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 (n,fac) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 3.423e-05/0.334, allocations: 105.8 kB / 0.598 GB, free: 13.57 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.234e-06/0.3341, allocations: 4.531 kB / 0.598 GB, free: 13.56 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.583e-05/0.3341, allocations: 50.09 kB / 0.5981 GB, free: 13.51 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.3341, allocations: 4 kB / 0.5981 GB, free: 13.51 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.3341, allocations: 0 / 0.5981 GB, free: 13.51 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.3342, allocations: 0.625 kB / 0.5981 GB, free: 13.51 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.501e-05/0.3342, allocations: 149.5 kB / 0.5982 GB, free: 13.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.3342, allocations: 4.828 kB / 0.5982 GB, free: 13.31 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.058e-05/0.3342, allocations: 4 kB / 0.5982 GB, free: 13.31 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.3342, allocations: 0.8438 kB / 0.5982 GB, free: 13.31 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.731e-06/0.3343, allocations: 3.938 kB / 0.5982 GB, free: 13.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.3343, allocations: 1.125 kB / 0.5982 GB, free: 13.3 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3343, allocations: 7.984 kB / 0.5982 GB, free: 13.3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.374e-05/0.3343, allocations: 66.53 kB / 0.5983 GB, free: 13.21 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.33e-05/0.3343, allocations: 77.11 kB / 0.5984 GB, free: 13.12 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.806e-06/0.3344, allocations: 5.625 kB / 0.5984 GB, free: 13.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.035e-05/0.3344, allocations: 0 / 0.5984 GB, free: 13.12 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.012e-05/0.3344, allocations: 4 kB / 0.5984 GB, free: 13.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-06/0.3344, allocations: 0 / 0.5984 GB, free: 13.11 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.648e-06/0.3344, allocations: 76.28 kB / 0.5984 GB, free: 13.04 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3344, allocations: 0 / 0.5984 GB, free: 13.04 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001809/0.3346, allocations: 6.438 kB / 0.5984 GB, free: 13.04 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 (fac,n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001001/0.3347, allocations: 104.8 kB / 0.5985 GB, free: 12.92 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 6.394e-05/0.3348, allocations: 12 kB / 0.5986 GB, free: 12.91 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.492e-06/0.3348, allocations: 0 / 0.5986 GB, free: 12.91 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.328e-05/0.3348, allocations: 8.844 kB / 0.5986 GB, free: 12.9 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001211/0.3349, allocations: 5.328 kB / 0.5986 GB, free: 12.9 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001387/0.3351, allocations: 84.98 kB / 0.5987 GB, free: 12.79 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.867e-05/0.3352, allocations: 0.6768 MB / 0.5993 GB, free: 12.09 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.15e-05/0.3352, allocations: 5.484 kB / 0.5993 GB, free: 12.08 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.062e-05/0.3352, allocations: 11.44 kB / 0.5993 GB, free: 12.07 MB / 446.1 MB Notification: Performance of SimCode: time 8.22e-07/0.3352, allocations: 3.938 kB / 0.5993 GB, free: 12.07 MB / 446.1 MB Notification: Performance of Templates: time 0.002041/0.3372, allocations: 319.8 kB / 0.5996 GB, free: 11.79 MB / 446.1 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial.pipe 2>&1)