Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.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.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009849/0.0009849, allocations: 105.2 kB / 16.41 MB, free: 6.5 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.001031/0.001031, allocations: 187 kB / 17.34 MB, free: 5.766 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.203/1.203, allocations: 222.9 MB / 241 MB, free: 14.98 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.7809/0.7809, allocations: 143.1 MB / 434.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001083/0.001083, allocations: 58.91 kB / 0.5962 GB, free: 12.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.132, allocations: 82.04 MB / 0.6763 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial): time 0.002549/0.1346, allocations: 1.51 MB / 0.6778 GB, free: 8.836 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0003582/0.135, allocations: 124.5 kB / 0.6779 GB, free: 8.711 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.995e-05/0.1351, allocations: 0 / 0.6779 GB, free: 8.711 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.657e-05/0.1351, allocations: 7.938 kB / 0.6779 GB, free: 8.703 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.327e-05/0.1352, allocations: 0 / 0.6779 GB, free: 8.703 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002255/0.1354, allocations: 19.92 kB / 0.6779 GB, free: 8.684 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.067e-05/0.1355, allocations: 27.92 kB / 0.678 GB, free: 8.656 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 9.434e-05/0.1356, allocations: 23.91 kB / 0.678 GB, free: 8.633 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.281e-05/0.1356, allocations: 11.94 kB / 0.678 GB, free: 8.621 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.2e-05/0.1357, allocations: 15.92 kB / 0.678 GB, free: 8.605 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.442e-05/0.1357, allocations: 4 kB / 0.678 GB, free: 8.602 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 6.014e-05/0.1358, allocations: 15.98 kB / 0.678 GB, free: 8.586 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.436e-05/0.1358, allocations: 8 kB / 0.678 GB, free: 8.578 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.75e-05/0.1358, allocations: 15.91 kB / 0.678 GB, free: 8.562 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000113/0.1359, allocations: 35.91 kB / 0.6781 GB, free: 8.527 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1359, allocations: 0 / 0.6781 GB, free: 8.527 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.423e-06/0.136, allocations: 0 / 0.6781 GB, free: 8.527 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.115e-06/0.136, allocations: 0 / 0.6781 GB, free: 8.527 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004203/0.1364, allocations: 343.5 kB / 0.6784 GB, free: 8.141 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.1364, allocations: 8.031 kB / 0.6784 GB, free: 8.133 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.68e-05/0.1365, allocations: 12.84 kB / 0.6784 GB, free: 8.121 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001006/0.1366, allocations: 168.3 kB / 0.6786 GB, free: 7.918 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.972e-05/0.1366, allocations: 384 / 0.6786 GB, free: 7.918 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.094e-05/0.1366, allocations: 4.375 kB / 0.6786 GB, free: 7.914 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001752/0.1368, allocations: 58.22 kB / 0.6786 GB, free: 7.852 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.1368, allocations: 192 / 0.6786 GB, free: 7.852 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.1368, allocations: 7.938 kB / 0.6787 GB, free: 7.844 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.1368, allocations: 0 / 0.6787 GB, free: 7.844 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001807/0.137, allocations: 51.88 kB / 0.6787 GB, free: 7.793 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003201/0.1374, allocations: 260.9 kB / 0.679 GB, free: 7.488 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003039/0.1377, allocations: 62.41 kB / 0.679 GB, free: 7.418 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.085e-05/0.1378, allocations: 24.91 kB / 0.679 GB, free: 7.391 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001059/0.1379, allocations: 93.08 kB / 0.6791 GB, free: 7.281 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.657e-05/0.1379, allocations: 30.56 kB / 0.6792 GB, free: 7.242 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.1379, allocations: 0 / 0.6792 GB, free: 7.242 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.0003551/0.1383, allocations: 93.56 kB / 0.6792 GB, free: 7.145 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.133e-05/0.1383, allocations: 55.41 kB / 0.6793 GB, free: 7.078 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.034e-05/0.1384, allocations: 97.86 kB / 0.6794 GB, free: 6.973 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.437e-05/0.1384, allocations: 29.7 kB / 0.6794 GB, free: 6.938 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.915e-05/0.1384, allocations: 88.12 kB / 0.6795 GB, free: 6.848 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.579e-05/0.1385, allocations: 11.84 kB / 0.6795 GB, free: 6.836 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.264e-05/0.1385, allocations: 17.72 kB / 0.6795 GB, free: 6.812 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 8.21e-05/0.1386, allocations: 310.8 kB / 0.6798 GB, free: 6.5 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.714e-05/0.1387, allocations: 19.97 kB / 0.6798 GB, free: 6.48 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.183e-05/0.1388, allocations: 15.98 kB / 0.6799 GB, free: 6.465 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001605/0.1389, allocations: 52.81 kB / 0.6799 GB, free: 6.41 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.139, allocations: 3.938 kB / 0.6799 GB, free: 6.406 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002108/0.1392, allocations: 73.59 kB / 0.68 GB, free: 6.328 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.1392, allocations: 8 kB / 0.68 GB, free: 6.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.1392, allocations: 3.938 kB / 0.68 GB, free: 6.316 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.1392, allocations: 0 / 0.68 GB, free: 6.316 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.904e-05/0.1393, allocations: 15.98 kB / 0.68 GB, free: 6.301 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.1393, allocations: 3.984 kB / 0.68 GB, free: 6.297 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.468e-05/0.1394, allocations: 7.984 kB / 0.68 GB, free: 6.289 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.07e-06/0.1394, allocations: 0 / 0.68 GB, free: 6.289 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 (rea2Int.y,fac.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.204e-05/0.1395, allocations: 118.4 kB / 0.6801 GB, free: 6.164 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.496e-05/0.1395, allocations: 3.906 kB / 0.6801 GB, free: 6.16 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002431/0.1397, allocations: 85.08 kB / 0.6802 GB, free: 6.07 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.644e-06/0.1397, allocations: 0.5625 kB / 0.6802 GB, free: 6.07 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.1398, allocations: 4 kB / 0.6802 GB, free: 6.066 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.1398, allocations: 3.984 kB / 0.6802 GB, free: 6.062 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001416/0.1399, allocations: 157.6 kB / 0.6804 GB, free: 5.859 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.1399, allocations: 3.938 kB / 0.6804 GB, free: 5.855 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.151e-05/0.14, allocations: 11.98 kB / 0.6804 GB, free: 5.844 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.14, allocations: 0 / 0.6804 GB, free: 5.844 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.819e-06/0.14, allocations: 8 kB / 0.6804 GB, free: 5.836 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.14, allocations: 7.984 kB / 0.6804 GB, free: 5.828 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/0.14, allocations: 3.984 kB / 0.6804 GB, free: 5.824 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002391/0.1403, allocations: 171.5 kB / 0.6806 GB, free: 5.641 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.17e-05/0.1403, allocations: 77.11 kB / 0.6807 GB, free: 5.547 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.21e-05/0.1403, allocations: 0 / 0.6807 GB, free: 5.547 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.023e-05/0.1404, allocations: 7.984 kB / 0.6807 GB, free: 5.539 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.858e-05/0.1405, allocations: 15.92 kB / 0.6807 GB, free: 5.523 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.937e-06/0.1405, allocations: 4 kB / 0.6807 GB, free: 5.52 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 2.963e-05/0.1406, allocations: 79.28 kB / 0.6808 GB, free: 5.441 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1406, allocations: 0 / 0.6808 GB, free: 5.441 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002132/0.1408, allocations: 11.91 kB / 0.6808 GB, free: 5.43 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.y,rea2Int.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001275/0.1409, allocations: 107.2 kB / 0.6809 GB, free: 5.312 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002266/0.1412, allocations: 39.95 kB / 0.6809 GB, free: 5.273 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.1412, allocations: 4 kB / 0.6809 GB, free: 5.27 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.754e-05/0.1413, allocations: 19.98 kB / 0.6809 GB, free: 5.25 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002477/0.1415, allocations: 10.59 kB / 0.6809 GB, free: 5.242 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002999/0.1418, allocations: 143.1 kB / 0.6811 GB, free: 5.07 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002441/0.1421, allocations: 0.6807 MB / 0.6817 GB, free: 4.363 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.633e-05/0.1421, allocations: 7.438 kB / 0.6817 GB, free: 4.355 MB / 0.5137 GB Notification: Performance of SimCode: time 3e-07/0.1421, allocations: 0 / 0.6817 GB, free: 4.355 MB / 0.5137 GB Notification: Performance of Templates: time 0.001949/0.1441, allocations: 0.7474 MB / 0.6825 GB, free: 3.609 MB / 0.5137 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial.pipe 2>&1)