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.001042/0.001042, allocations: 108.7 kB / 16.41 MB, free: 6.027 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.001076/0.001076, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.307/1.307, allocations: 222.9 MB / 241 MB, free: 15.16 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.8432/0.8432, allocations: 143.1 MB / 434.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 75.47 kB / 0.5962 GB, free: 12.25 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1502/0.1515, allocations: 82.03 MB / 0.6764 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial): time 0.001894/0.1534, allocations: 0.5828 MB / 0.6769 GB, free: 9.734 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0002795/0.1538, allocations: 51.8 kB / 0.677 GB, free: 9.684 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.739e-05/0.1538, allocations: 0 / 0.677 GB, free: 9.684 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.001e-05/0.1538, allocations: 0 / 0.677 GB, free: 9.684 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 7.515e-06/0.1538, allocations: 4 kB / 0.677 GB, free: 9.68 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002565/0.1541, allocations: 19.91 kB / 0.677 GB, free: 9.66 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 5.066e-05/0.1542, allocations: 4 kB / 0.677 GB, free: 9.656 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.733e-05/0.1542, allocations: 0 / 0.677 GB, free: 9.656 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.708e-05/0.1543, allocations: 0 / 0.677 GB, free: 9.656 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 2.893e-05/0.1543, allocations: 4 kB / 0.677 GB, free: 9.652 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.156e-05/0.1543, allocations: 0 / 0.677 GB, free: 9.652 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 7.998e-05/0.1544, allocations: 11.98 kB / 0.677 GB, free: 9.641 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.231e-05/0.1544, allocations: 0 / 0.677 GB, free: 9.641 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.861e-05/0.1544, allocations: 7.922 kB / 0.677 GB, free: 9.633 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 9.679e-05/0.1545, allocations: 8 kB / 0.677 GB, free: 9.625 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.1546, allocations: 7.984 kB / 0.677 GB, free: 9.617 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.204e-06/0.1546, allocations: 0 / 0.677 GB, free: 9.617 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.113e-06/0.1546, allocations: 3.938 kB / 0.677 GB, free: 9.613 MB / 0.5137 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.0003585/0.1549, allocations: 315.6 kB / 0.6773 GB, free: 9.254 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.155, allocations: 8.031 kB / 0.6773 GB, free: 9.246 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.054e-05/0.155, allocations: 0.9375 kB / 0.6773 GB, free: 9.246 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001131/0.1552, allocations: 164.4 kB / 0.6775 GB, free: 9.047 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.1552, allocations: 4.375 kB / 0.6775 GB, free: 9.043 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.613e-05/0.1552, allocations: 4.375 kB / 0.6775 GB, free: 9.039 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000107/0.1553, allocations: 30.27 kB / 0.6775 GB, free: 9.004 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.1553, allocations: 192 / 0.6775 GB, free: 9.004 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.1553, allocations: 7.938 kB / 0.6776 GB, free: 8.996 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.207e-06/0.1554, allocations: 3.938 kB / 0.6776 GB, free: 8.992 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.049e-05/0.1554, allocations: 0 / 0.6776 GB, free: 8.992 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001789/0.1556, allocations: 153.7 kB / 0.6777 GB, free: 8.793 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 5.03e-05/0.1556, allocations: 18.95 kB / 0.6777 GB, free: 8.766 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.403e-05/0.1557, allocations: 16.92 kB / 0.6777 GB, free: 8.746 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001946/0.1559, allocations: 85.09 kB / 0.6778 GB, free: 8.645 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.598e-05/0.1559, allocations: 30.56 kB / 0.6778 GB, free: 8.605 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.1559, allocations: 0 / 0.6778 GB, free: 8.605 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0001752/0.1561, allocations: 49.56 kB / 0.6779 GB, free: 8.551 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.003e-05/0.1561, allocations: 55.34 kB / 0.6779 GB, free: 8.484 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.601e-05/0.1562, allocations: 89.86 kB / 0.678 GB, free: 8.387 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.407e-05/0.1562, allocations: 25.7 kB / 0.6781 GB, free: 8.355 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.405e-05/0.1562, allocations: 84.27 kB / 0.6781 GB, free: 8.27 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.889e-05/0.1563, allocations: 7.906 kB / 0.6781 GB, free: 8.262 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.761e-05/0.1563, allocations: 13.72 kB / 0.6782 GB, free: 8.242 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.1564, allocations: 318.8 kB / 0.6785 GB, free: 7.922 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.259e-05/0.1565, allocations: 0 / 0.6785 GB, free: 7.922 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.476e-05/0.1565, allocations: 7.984 kB / 0.6785 GB, free: 7.914 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.269e-05/0.1565, allocations: 20.8 kB / 0.6785 GB, free: 7.891 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1565, allocations: 4.062 kB / 0.6785 GB, free: 7.887 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.808e-05/0.1566, allocations: 33.7 kB / 0.6785 GB, free: 7.848 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.1566, allocations: 4 kB / 0.6785 GB, free: 7.844 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.1566, allocations: 0 / 0.6785 GB, free: 7.844 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.1567, allocations: 3.938 kB / 0.6785 GB, free: 7.84 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.064e-05/0.1567, allocations: 7.984 kB / 0.6785 GB, free: 7.832 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.1567, allocations: 0 / 0.6785 GB, free: 7.832 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.65e-05/0.1568, allocations: 3.938 kB / 0.6785 GB, free: 7.828 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.358e-06/0.1568, allocations: 4 kB / 0.6785 GB, free: 7.824 MB / 0.5137 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 9.672e-05/0.1569, allocations: 114.5 kB / 0.6787 GB, free: 7.703 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.007e-06/0.1569, allocations: 0 / 0.6787 GB, free: 7.703 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.222e-05/0.157, allocations: 56.67 kB / 0.6787 GB, free: 7.645 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.157, allocations: 0 / 0.6787 GB, free: 7.645 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.157, allocations: 3.938 kB / 0.6787 GB, free: 7.641 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.157, allocations: 0 / 0.6787 GB, free: 7.641 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001101/0.1571, allocations: 149.7 kB / 0.6789 GB, free: 7.445 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.1572, allocations: 0 / 0.6789 GB, free: 7.445 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.578e-05/0.1572, allocations: 4 kB / 0.6789 GB, free: 7.441 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.1572, allocations: 0 / 0.6789 GB, free: 7.441 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.745e-06/0.1572, allocations: 7.969 kB / 0.6789 GB, free: 7.434 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.1572, allocations: 0 / 0.6789 GB, free: 7.434 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1572, allocations: 0 / 0.6789 GB, free: 7.434 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.058e-05/0.1573, allocations: 69.06 kB / 0.6789 GB, free: 7.348 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.88e-05/0.1573, allocations: 77.11 kB / 0.679 GB, free: 7.254 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.271e-05/0.1574, allocations: 3.938 kB / 0.679 GB, free: 7.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.275e-05/0.1574, allocations: 0 / 0.679 GB, free: 7.25 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.083e-05/0.1574, allocations: 7.969 kB / 0.679 GB, free: 7.242 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.109e-06/0.1574, allocations: 4 kB / 0.679 GB, free: 7.238 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 2.939e-05/0.1575, allocations: 79.28 kB / 0.6791 GB, free: 7.16 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.1575, allocations: 0 / 0.6791 GB, free: 7.16 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0001987/0.1577, allocations: 7.984 kB / 0.6791 GB, free: 7.152 MB / 0.5137 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.0001813/0.1579, allocations: 99.25 kB / 0.6792 GB, free: 7.043 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 8.97e-05/0.158, allocations: 8 kB / 0.6792 GB, free: 7.035 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.158, allocations: 64 / 0.6792 GB, free: 7.035 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.404e-05/0.158, allocations: 15.92 kB / 0.6792 GB, free: 7.02 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001394/0.1581, allocations: 4 kB / 0.6792 GB, free: 7.016 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002056/0.1583, allocations: 98.64 kB / 0.6793 GB, free: 6.887 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002582/0.1586, allocations: 0.6729 MB / 0.68 GB, free: 6.188 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.06e-05/0.1586, allocations: 11.42 kB / 0.68 GB, free: 6.176 MB / 0.5137 GB Notification: Performance of SimCode: time 2.41e-07/0.1586, allocations: 0 / 0.68 GB, free: 6.176 MB / 0.5137 GB Notification: Performance of Templates: time 0.001912/0.1606, allocations: 463.8 kB / 0.6804 GB, free: 5.723 MB / 0.5137 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)