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.001287/0.001287, allocations: 105.7 kB / 16.27 MB, free: 6.414 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.001364/0.001364, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.257/1.257, allocations: 222.9 MB / 240.9 MB, free: 15.21 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.8229/0.8229, allocations: 143.1 MB / 434.1 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001431/0.001431, allocations: 71.89 kB / 0.5148 GB, free: 15.15 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3151/0.3165, allocations: 82.04 MB / 0.595 GB, free: 16.18 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial): time 0.001578/0.3181, allocations: 0.5663 MB / 0.5955 GB, free: 15.62 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002067/0.3183, allocations: 52.27 kB / 0.5956 GB, free: 15.57 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.327e-05/0.3184, allocations: 4 kB / 0.5956 GB, free: 15.57 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.42e-05/0.3184, allocations: 0 / 0.5956 GB, free: 15.57 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.689e-06/0.3184, allocations: 0 / 0.5956 GB, free: 15.57 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001805/0.3186, allocations: 16.58 kB / 0.5956 GB, free: 15.55 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.66e-05/0.3186, allocations: 0 / 0.5956 GB, free: 15.55 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.318e-05/0.3187, allocations: 5 kB / 0.5956 GB, free: 15.55 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.166e-05/0.3187, allocations: 0 / 0.5956 GB, free: 15.55 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.729e-05/0.3187, allocations: 5.219 kB / 0.5956 GB, free: 15.55 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.746e-06/0.3187, allocations: 0 / 0.5956 GB, free: 15.55 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.718e-05/0.3188, allocations: 4 kB / 0.5956 GB, free: 15.54 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.977e-06/0.3188, allocations: 15.91 kB / 0.5956 GB, free: 15.53 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.473e-05/0.3188, allocations: 5.125 kB / 0.5956 GB, free: 15.52 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 7.419e-05/0.3189, allocations: 8 kB / 0.5956 GB, free: 15.52 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.3189, allocations: 0 / 0.5956 GB, free: 15.52 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.3189, allocations: 1.812 kB / 0.5956 GB, free: 15.52 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.469e-06/0.3189, allocations: 0 / 0.5956 GB, free: 15.52 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.0001849/0.3191, allocations: 318.5 kB / 0.5959 GB, free: 15.16 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.669e-05/0.3192, allocations: 9.031 kB / 0.5959 GB, free: 15.15 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.973e-05/0.3192, allocations: 8.875 kB / 0.5959 GB, free: 15.14 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.186e-05/0.3192, allocations: 160.4 kB / 0.5961 GB, free: 14.95 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.027e-06/0.3192, allocations: 1.625 kB / 0.5961 GB, free: 14.95 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.871e-06/0.3193, allocations: 384 / 0.5961 GB, free: 14.95 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.116e-05/0.3193, allocations: 38.81 kB / 0.5961 GB, free: 14.9 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.3193, allocations: 192 / 0.5961 GB, free: 14.9 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.953e-06/0.3194, allocations: 5.375 kB / 0.5961 GB, free: 14.9 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.3194, allocations: 0 / 0.5961 GB, free: 14.9 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.753e-05/0.3194, allocations: 7.938 kB / 0.5961 GB, free: 14.89 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.655e-05/0.3195, allocations: 151.3 kB / 0.5963 GB, free: 14.7 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.578e-05/0.3195, allocations: 26.58 kB / 0.5963 GB, free: 14.66 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.407e-05/0.3196, allocations: 5.516 kB / 0.5963 GB, free: 14.65 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001201/0.3197, allocations: 85.16 kB / 0.5964 GB, free: 14.55 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.576e-05/0.3197, allocations: 39.47 kB / 0.5964 GB, free: 14.5 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.3197, allocations: 1.938 kB / 0.5964 GB, free: 14.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001093/0.3198, allocations: 45.64 kB / 0.5965 GB, free: 14.45 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.923e-05/0.3198, allocations: 51.41 kB / 0.5965 GB, free: 14.39 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.969e-05/0.3199, allocations: 93.11 kB / 0.5966 GB, free: 14.29 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.741e-06/0.3199, allocations: 25.7 kB / 0.5966 GB, free: 14.26 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.005e-06/0.3199, allocations: 84.12 kB / 0.5967 GB, free: 14.18 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.26e-05/0.3199, allocations: 3.906 kB / 0.5967 GB, free: 14.17 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.234e-05/0.3199, allocations: 17.72 kB / 0.5968 GB, free: 14.15 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.387e-05/0.32, allocations: 310.8 kB / 0.597 GB, free: 13.84 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.025e-05/0.32, allocations: 4 kB / 0.5971 GB, free: 13.83 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.252e-06/0.32, allocations: 0.75 kB / 0.5971 GB, free: 13.83 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.499e-05/0.32, allocations: 18.3 kB / 0.5971 GB, free: 13.81 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.163e-06/0.32, allocations: 0 / 0.5971 GB, free: 13.81 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.452e-05/0.3201, allocations: 37.69 kB / 0.5971 GB, free: 13.77 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.447e-06/0.3201, allocations: 9.031 kB / 0.5971 GB, free: 13.76 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.3201, allocations: 0 / 0.5971 GB, free: 13.76 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.3201, allocations: 3.938 kB / 0.5971 GB, free: 13.76 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.508e-05/0.3202, allocations: 5.031 kB / 0.5971 GB, free: 13.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.3202, allocations: 0 / 0.5971 GB, free: 13.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.199e-05/0.3202, allocations: 1.5 kB / 0.5971 GB, free: 13.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.687e-06/0.3202, allocations: 3.984 kB / 0.5971 GB, free: 13.75 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.571e-05/0.3202, allocations: 113.8 kB / 0.5972 GB, free: 13.63 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.272e-06/0.3203, allocations: 0.7188 kB / 0.5972 GB, free: 13.63 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.509e-05/0.3203, allocations: 56.19 kB / 0.5973 GB, free: 13.57 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.3203, allocations: 0 / 0.5973 GB, free: 13.57 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.125e-06/0.3203, allocations: 0 / 0.5973 GB, free: 13.57 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.864e-06/0.3203, allocations: 0 / 0.5973 GB, free: 13.57 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.338e-05/0.3204, allocations: 147.1 kB / 0.5974 GB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.3204, allocations: 7.938 kB / 0.5974 GB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.912e-05/0.3204, allocations: 3.984 kB / 0.5974 GB, free: 13.37 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.3204, allocations: 3.938 kB / 0.5974 GB, free: 13.37 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-06/0.3204, allocations: 9.469 kB / 0.5975 GB, free: 13.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.3204, allocations: 0 / 0.5975 GB, free: 13.36 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.3205, allocations: 0 / 0.5975 GB, free: 13.36 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.755e-05/0.3205, allocations: 62.55 kB / 0.5975 GB, free: 13.28 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.1e-05/0.3205, allocations: 81.09 kB / 0.5976 GB, free: 13.18 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.797e-06/0.3205, allocations: 4.688 kB / 0.5976 GB, free: 13.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.255e-05/0.3206, allocations: 9.5 kB / 0.5976 GB, free: 13.17 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.019e-05/0.3206, allocations: 0 / 0.5976 GB, free: 13.17 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-06/0.3206, allocations: 0 / 0.5976 GB, free: 13.17 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.049e-05/0.3206, allocations: 75.28 kB / 0.5977 GB, free: 13.1 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3206, allocations: 1.281 kB / 0.5977 GB, free: 13.1 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001934/0.3208, allocations: 4 kB / 0.5977 GB, free: 13.09 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.0001051/0.3209, allocations: 108.2 kB / 0.5978 GB, free: 12.98 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 6.145e-05/0.321, allocations: 4.656 kB / 0.5978 GB, free: 12.97 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.321, allocations: 3.188 kB / 0.5978 GB, free: 12.97 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.679e-06/0.321, allocations: 11.94 kB / 0.5978 GB, free: 12.96 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001233/0.3211, allocations: 4 kB / 0.5978 GB, free: 12.96 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001425/0.3213, allocations: 110.7 kB / 0.5979 GB, free: 12.82 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.879e-05/0.3214, allocations: 0.6729 MB / 0.5986 GB, free: 12.12 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.076e-05/0.3214, allocations: 7.438 kB / 0.5986 GB, free: 12.11 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3214, allocations: 1.344 kB / 0.5986 GB, free: 12.11 MB / 446.1 MB Notification: Performance of Templates: time 0.001512/0.3229, allocations: 473.5 kB / 0.599 GB, free: 11.67 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 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial.pipe 2>&1)