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.0007677/0.0007678, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.00674/0.00674, allocations: 171.1 kB / 16.26 MB, free: 6.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.526/1.526, allocations: 223.2 MB / 240.3 MB, free: 5.355 MB / 190.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 1.049/1.049, allocations: 143.2 MB / 434.6 MB, free: 13.71 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000478/0.0004784, allocations: 12 kB / 0.5164 GB, free: 11.21 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2055/0.206, allocations: 83.41 MB / 0.5979 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial): time 0.0007719/0.2068, allocations: 307.1 kB / 0.5981 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003117/0.2072, allocations: 55.84 kB / 0.5982 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.079e-05/0.2072, allocations: 0 / 0.5982 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.172e-05/0.2072, allocations: 0 / 0.5982 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.849e-06/0.2072, allocations: 0 / 0.5982 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00022/0.2075, allocations: 11.92 kB / 0.5982 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.81e-05/0.2075, allocations: 4 kB / 0.5982 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.525e-05/0.2076, allocations: 4 kB / 0.5982 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.373e-05/0.2076, allocations: 4 kB / 0.5982 GB, free: 7.379 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.094e-05/0.2076, allocations: 3.938 kB / 0.5982 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.688e-06/0.2077, allocations: 0 / 0.5982 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.394e-05/0.2077, allocations: 11.98 kB / 0.5982 GB, free: 7.363 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.417e-05/0.2078, allocations: 7.984 kB / 0.5982 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.366e-05/0.2078, allocations: 25.7 kB / 0.5983 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.385e-05/0.2079, allocations: 4 kB / 0.5983 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.2079, allocations: 3.938 kB / 0.5983 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2079, allocations: 0 / 0.5983 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.386e-06/0.2079, allocations: 0 / 0.5983 GB, free: 7.316 MB / 0.4981 GB 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.0002914/0.2082, allocations: 323.6 kB / 0.5986 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.2083, allocations: 8.031 kB / 0.5986 GB, free: 6.941 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.816e-05/0.2083, allocations: 0.9375 kB / 0.5986 GB, free: 6.941 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001046/0.2084, allocations: 160.4 kB / 0.5987 GB, free: 6.746 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.2084, allocations: 4.375 kB / 0.5987 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.815e-06/0.2084, allocations: 384 / 0.5987 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001044/0.2086, allocations: 34.25 kB / 0.5988 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.2086, allocations: 8.109 kB / 0.5988 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.2086, allocations: 7.875 kB / 0.5988 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.2086, allocations: 4 kB / 0.5988 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.512e-05/0.2087, allocations: 4 kB / 0.5988 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001524/0.2088, allocations: 149.7 kB / 0.5989 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.213e-05/0.2089, allocations: 22.61 kB / 0.599 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.192e-05/0.2089, allocations: 8.922 kB / 0.599 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001802/0.2091, allocations: 85.09 kB / 0.5991 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.807e-05/0.2091, allocations: 34.56 kB / 0.5991 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 9.71e-07/0.2091, allocations: 0 / 0.5991 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001514/0.2093, allocations: 45.58 kB / 0.5991 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.4e-05/0.2093, allocations: 51.41 kB / 0.5992 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.077e-05/0.2094, allocations: 89.86 kB / 0.5993 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.583e-05/0.2094, allocations: 33.69 kB / 0.5993 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.802e-05/0.2095, allocations: 80.14 kB / 0.5994 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.247e-05/0.2095, allocations: 3.906 kB / 0.5994 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.275e-05/0.2095, allocations: 13.84 kB / 0.5994 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.2096, allocations: 318.8 kB / 0.5997 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.122e-05/0.2096, allocations: 4 kB / 0.5997 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.552e-06/0.2097, allocations: 0 / 0.5997 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.689e-05/0.2097, allocations: 20.8 kB / 0.5997 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2097, allocations: 0 / 0.5997 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.031e-05/0.2098, allocations: 37.69 kB / 0.5998 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.2098, allocations: 4 kB / 0.5998 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.2098, allocations: 96 / 0.5998 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.514e-05/0.2098, allocations: 7.938 kB / 0.5998 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.833e-05/0.2099, allocations: 4 kB / 0.5998 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.2099, allocations: 0 / 0.5998 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.372e-05/0.2099, allocations: 0 / 0.5998 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.137e-06/0.2099, allocations: 0 / 0.5998 GB, free: 5.535 MB / 0.4981 GB 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 7.66e-05/0.21, allocations: 117.8 kB / 0.5999 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.492e-06/0.21, allocations: 0 / 0.5999 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.428e-05/0.2101, allocations: 52.92 kB / 0.5999 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.2101, allocations: 4.031 kB / 0.5999 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.2101, allocations: 3.984 kB / 0.5999 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.2102, allocations: 0 / 0.5999 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001099/0.2103, allocations: 153.6 kB / 0.6001 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.2103, allocations: 0 / 0.6001 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.04e-05/0.2103, allocations: 4 kB / 0.6001 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.2103, allocations: 4 kB / 0.6001 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.2103, allocations: 7.922 kB / 0.6001 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.2103, allocations: 0 / 0.6001 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.2103, allocations: 0 / 0.6001 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.085e-05/0.2104, allocations: 65.08 kB / 0.6002 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.981e-05/0.2105, allocations: 81.09 kB / 0.6002 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.335e-05/0.2105, allocations: 7.938 kB / 0.6003 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.078e-05/0.2105, allocations: 0 / 0.6003 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.491e-05/0.2105, allocations: 0 / 0.6003 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-06/0.2105, allocations: 0 / 0.6003 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.651e-05/0.2106, allocations: 75.28 kB / 0.6003 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.2106, allocations: 32 / 0.6003 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002091/0.2108, allocations: 12 kB / 0.6003 GB, free: 4.859 MB / 0.4981 GB 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.0001761/0.211, allocations: 111.2 kB / 0.6004 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.687e-05/0.211, allocations: 4 kB / 0.6004 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.211, allocations: 0 / 0.6004 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.54e-05/0.2111, allocations: 7.938 kB / 0.6005 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001246/0.2112, allocations: 6.922 kB / 0.6005 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001918/0.2114, allocations: 90.78 kB / 0.6005 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002842/0.2117, allocations: 0.6692 MB / 0.6012 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.38e-05/0.2117, allocations: 3.938 kB / 0.6012 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.747e-05/0.2117, allocations: 11.44 kB / 0.6012 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.2117, allocations: 0 / 0.6012 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of Templates: time 0.002653/0.2144, allocations: 327.7 kB / 0.6015 GB, free: 3.582 MB / 0.4981 GB 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)