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.001403/0.001403, allocations: 104.8 kB / 15.98 MB, free: 6.355 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.001462/0.001461, allocations: 199.1 kB / 16.91 MB, free: 6.191 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.354/1.354, allocations: 222.9 MB / 240.6 MB, free: 15.45 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.8949/0.8949, allocations: 143.1 MB / 433.8 MB, free: 12.22 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001387, allocations: 67.89 kB / 0.5143 GB, free: 15.52 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3819/0.3833, allocations: 82.03 MB / 0.5944 GB, free: 16.39 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial): time 0.001688/0.385, allocations: 0.6475 MB / 0.5951 GB, free: 15.76 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000233/0.3853, allocations: 53.09 kB / 0.5951 GB, free: 15.71 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.328e-05/0.3853, allocations: 7.938 kB / 0.5951 GB, free: 15.7 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.628e-05/0.3853, allocations: 0 / 0.5951 GB, free: 15.7 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.779e-06/0.3853, allocations: 1.719 kB / 0.5951 GB, free: 15.7 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002233/0.3856, allocations: 11.98 kB / 0.5952 GB, free: 15.69 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.488e-05/0.3856, allocations: 0 / 0.5952 GB, free: 15.69 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.604e-05/0.3856, allocations: 4 kB / 0.5952 GB, free: 15.68 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.734e-05/0.3857, allocations: 3.984 kB / 0.5952 GB, free: 15.68 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.862e-05/0.3857, allocations: 1.906 kB / 0.5952 GB, free: 15.68 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.028e-05/0.3857, allocations: 0 / 0.5952 GB, free: 15.68 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.74e-05/0.3858, allocations: 11.94 kB / 0.5952 GB, free: 15.67 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.258e-05/0.3858, allocations: 7.984 kB / 0.5952 GB, free: 15.66 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.004e-05/0.3858, allocations: 0 / 0.5952 GB, free: 15.66 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 5.688e-05/0.3859, allocations: 1.406 kB / 0.5952 GB, free: 15.66 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3859, allocations: 4 kB / 0.5952 GB, free: 15.66 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.3859, allocations: 0 / 0.5952 GB, free: 15.66 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.3859, allocations: 0 / 0.5952 GB, free: 15.66 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.0002551/0.3862, allocations: 320.4 kB / 0.5955 GB, free: 15.29 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.3862, allocations: 9.5 kB / 0.5955 GB, free: 15.29 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.98e-05/0.3862, allocations: 0.9375 kB / 0.5955 GB, free: 15.29 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.943e-05/0.3863, allocations: 160.4 kB / 0.5957 GB, free: 15.09 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.585e-06/0.3863, allocations: 4.375 kB / 0.5957 GB, free: 15.09 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.024e-05/0.3863, allocations: 5.219 kB / 0.5957 GB, free: 15.08 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.272e-05/0.3864, allocations: 35.44 kB / 0.5957 GB, free: 15.04 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.3865, allocations: 192 / 0.5957 GB, free: 15.04 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.3865, allocations: 7.938 kB / 0.5957 GB, free: 15.04 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.3865, allocations: 0 / 0.5957 GB, free: 15.04 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.156e-05/0.3865, allocations: 5.5 kB / 0.5957 GB, free: 15.03 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001092/0.3866, allocations: 149.7 kB / 0.5959 GB, free: 14.84 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.173e-05/0.3867, allocations: 23.27 kB / 0.5959 GB, free: 14.8 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.763e-05/0.3867, allocations: 14.33 kB / 0.5959 GB, free: 14.79 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001498/0.3869, allocations: 81.11 kB / 0.596 GB, free: 14.69 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.578e-05/0.3869, allocations: 39.92 kB / 0.596 GB, free: 14.64 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.3869, allocations: 0 / 0.596 GB, free: 14.64 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001287/0.387, allocations: 41.64 kB / 0.596 GB, free: 14.6 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.137e-05/0.3871, allocations: 52 kB / 0.5961 GB, free: 14.54 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.067e-05/0.3871, allocations: 95.36 kB / 0.5962 GB, free: 14.43 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.712e-06/0.3871, allocations: 25.7 kB / 0.5962 GB, free: 14.4 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.179e-05/0.3871, allocations: 80.14 kB / 0.5963 GB, free: 14.32 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.105e-05/0.3871, allocations: 9.406 kB / 0.5963 GB, free: 14.31 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.641e-05/0.3872, allocations: 17.7 kB / 0.5963 GB, free: 14.29 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.444e-05/0.3872, allocations: 310.8 kB / 0.5966 GB, free: 13.98 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.075e-05/0.3872, allocations: 4.688 kB / 0.5966 GB, free: 13.97 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.296e-06/0.3872, allocations: 9.438 kB / 0.5966 GB, free: 13.96 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.822e-05/0.3873, allocations: 12.86 kB / 0.5966 GB, free: 13.95 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.3873, allocations: 0 / 0.5966 GB, free: 13.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.685e-05/0.3873, allocations: 42.38 kB / 0.5967 GB, free: 13.9 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.001e-05/0.3874, allocations: 5.875 kB / 0.5967 GB, free: 13.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.3874, allocations: 4 kB / 0.5967 GB, free: 13.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.3874, allocations: 3.938 kB / 0.5967 GB, free: 13.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.178e-05/0.3874, allocations: 0 / 0.5967 GB, free: 13.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.3874, allocations: 4 kB / 0.5967 GB, free: 13.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.359e-05/0.3875, allocations: 2.031 kB / 0.5967 GB, free: 13.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.178e-06/0.3875, allocations: 3.938 kB / 0.5967 GB, free: 13.88 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 4.503e-05/0.3875, allocations: 109.8 kB / 0.5968 GB, free: 13.77 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.332e-06/0.3875, allocations: 0 / 0.5968 GB, free: 13.77 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.414e-05/0.3876, allocations: 48.08 kB / 0.5968 GB, free: 13.72 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.3876, allocations: 0 / 0.5968 GB, free: 13.72 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.3876, allocations: 9.328 kB / 0.5969 GB, free: 13.71 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.3876, allocations: 0 / 0.5969 GB, free: 13.71 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.439e-05/0.3877, allocations: 141.7 kB / 0.597 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.3877, allocations: 0 / 0.597 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.11e-05/0.3877, allocations: 5.531 kB / 0.597 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.3877, allocations: 0 / 0.597 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.3877, allocations: 11.92 kB / 0.597 GB, free: 13.51 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.3878, allocations: 4 kB / 0.597 GB, free: 13.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.3878, allocations: 5.344 kB / 0.597 GB, free: 13.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.61e-05/0.3878, allocations: 61.98 kB / 0.5971 GB, free: 13.42 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.535e-05/0.3878, allocations: 85.03 kB / 0.5972 GB, free: 13.32 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.111e-05/0.3879, allocations: 5.125 kB / 0.5972 GB, free: 13.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.041e-05/0.3879, allocations: 0 / 0.5972 GB, free: 13.32 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.793e-05/0.3879, allocations: 4 kB / 0.5972 GB, free: 13.31 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-06/0.3879, allocations: 1.375 kB / 0.5972 GB, free: 13.31 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.129e-05/0.3879, allocations: 75.28 kB / 0.5972 GB, free: 13.24 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3879, allocations: 0 / 0.5972 GB, free: 13.24 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001925/0.3881, allocations: 5.375 kB / 0.5972 GB, free: 13.23 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.0001434/0.3883, allocations: 106 kB / 0.5973 GB, free: 13.12 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.825e-05/0.3884, allocations: 17.22 kB / 0.5974 GB, free: 13.11 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.3884, allocations: 0 / 0.5974 GB, free: 13.11 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.997e-06/0.3884, allocations: 5.281 kB / 0.5974 GB, free: 13.1 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001314/0.3885, allocations: 0 / 0.5974 GB, free: 13.1 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001753/0.3887, allocations: 115.8 kB / 0.5975 GB, free: 12.96 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001145/0.3888, allocations: 0.6729 MB / 0.5981 GB, free: 12.26 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.374e-05/0.3888, allocations: 8.469 kB / 0.5981 GB, free: 12.25 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3889, allocations: 3.938 kB / 0.5981 GB, free: 12.25 MB / 446.1 MB Notification: Performance of Templates: time 0.001788/0.3906, allocations: 460.3 kB / 0.5986 GB, free: 11.82 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)