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.00164/0.00164, allocations: 115.3 kB / 16.42 MB, free: 6.02 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.001789/0.00179, allocations: 186.1 kB / 17.35 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.328/1.328, allocations: 222.9 MB / 241 MB, free: 15.17 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.8618/0.8618, allocations: 143 MB / 434.3 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 64.22 kB / 0.5962 GB, free: 12.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1416, 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.0017/0.1433, allocations: 0.5866 MB / 0.6769 GB, free: 9.738 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0002568/0.1436, allocations: 51.78 kB / 0.677 GB, free: 9.688 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.526e-05/0.1436, allocations: 4 kB / 0.677 GB, free: 9.684 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.298e-05/0.1436, allocations: 0 / 0.677 GB, free: 9.684 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.801e-06/0.1437, allocations: 4 kB / 0.677 GB, free: 9.68 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002206/0.1439, allocations: 11.94 kB / 0.677 GB, free: 9.668 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 4.439e-05/0.144, allocations: 0 / 0.677 GB, free: 9.668 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.545e-05/0.144, allocations: 4 kB / 0.677 GB, free: 9.664 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.692e-05/0.144, allocations: 7.969 kB / 0.677 GB, free: 9.656 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 1.949e-05/0.1441, allocations: 0 / 0.677 GB, free: 9.656 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 9.468e-06/0.1441, allocations: 0 / 0.677 GB, free: 9.656 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 7.044e-05/0.1441, allocations: 8 kB / 0.677 GB, free: 9.648 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.112e-05/0.1442, allocations: 4 kB / 0.677 GB, free: 9.645 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.265e-05/0.1442, allocations: 3.938 kB / 0.677 GB, free: 9.641 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 8.308e-05/0.1443, allocations: 15.97 kB / 0.677 GB, free: 9.625 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1443, allocations: 4 kB / 0.677 GB, free: 9.621 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.082e-06/0.1443, allocations: 0 / 0.677 GB, free: 9.621 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.045e-06/0.1443, allocations: 0 / 0.677 GB, free: 9.621 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.0003055/0.1446, allocations: 315.6 kB / 0.6773 GB, free: 9.262 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.1447, allocations: 8.031 kB / 0.6774 GB, free: 9.254 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.911e-05/0.1447, allocations: 0.9375 kB / 0.6774 GB, free: 9.254 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.753e-05/0.1448, allocations: 164.4 kB / 0.6775 GB, free: 9.055 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.1448, allocations: 384 / 0.6775 GB, free: 9.055 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.229e-05/0.1448, allocations: 4.375 kB / 0.6775 GB, free: 9.051 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.713e-05/0.1449, allocations: 38.25 kB / 0.6776 GB, free: 9.008 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.1449, allocations: 8.109 kB / 0.6776 GB, free: 9 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.145, allocations: 3.938 kB / 0.6776 GB, free: 8.996 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.145, allocations: 0 / 0.6776 GB, free: 8.996 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.259e-05/0.145, allocations: 4 kB / 0.6776 GB, free: 8.992 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001406/0.1451, allocations: 145.7 kB / 0.6777 GB, free: 8.801 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 4.957e-05/0.1452, allocations: 26.94 kB / 0.6777 GB, free: 8.766 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.844e-05/0.1452, allocations: 8.859 kB / 0.6777 GB, free: 8.754 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001637/0.1454, allocations: 85.17 kB / 0.6778 GB, free: 8.652 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.384e-05/0.1454, allocations: 30.56 kB / 0.6779 GB, free: 8.613 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 2.865e-06/0.1454, allocations: 0 / 0.6779 GB, free: 8.613 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0001494/0.1456, allocations: 45.56 kB / 0.6779 GB, free: 8.562 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.537e-05/0.1456, allocations: 63.34 kB / 0.678 GB, free: 8.488 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.999e-05/0.1457, allocations: 89.86 kB / 0.678 GB, free: 8.391 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.241e-05/0.1457, allocations: 25.7 kB / 0.6781 GB, free: 8.359 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.442e-05/0.1458, allocations: 88.2 kB / 0.6781 GB, free: 8.27 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.905e-05/0.1458, allocations: 3.906 kB / 0.6782 GB, free: 8.266 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.137e-05/0.1458, allocations: 13.72 kB / 0.6782 GB, free: 8.246 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.1459, allocations: 322.8 kB / 0.6785 GB, free: 7.922 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.234e-05/0.146, allocations: 0 / 0.6785 GB, free: 7.922 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.184e-05/0.146, allocations: 4 kB / 0.6785 GB, free: 7.918 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.45e-05/0.146, allocations: 12.8 kB / 0.6785 GB, free: 7.902 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.146, allocations: 4.062 kB / 0.6785 GB, free: 7.898 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.825e-05/0.1461, allocations: 45.69 kB / 0.6785 GB, free: 7.848 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.1461, allocations: 9.719 kB / 0.6785 GB, free: 7.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.1461, allocations: 0 / 0.6785 GB, free: 7.84 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.1462, allocations: 3.938 kB / 0.6785 GB, free: 7.836 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.11e-05/0.1462, allocations: 4 kB / 0.6786 GB, free: 7.832 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.179e-06/0.1462, allocations: 0 / 0.6786 GB, free: 7.832 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.543e-05/0.1462, allocations: 3.938 kB / 0.6786 GB, free: 7.828 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.068e-06/0.1463, allocations: 0 / 0.6786 GB, free: 7.828 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 7.081e-05/0.1463, allocations: 110.5 kB / 0.6787 GB, free: 7.711 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.198e-05/0.1464, allocations: 8 kB / 0.6787 GB, free: 7.703 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001003/0.1465, allocations: 40.75 kB / 0.6787 GB, free: 7.66 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.164e-06/0.1465, allocations: 7.938 kB / 0.6787 GB, free: 7.652 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1465, allocations: 0 / 0.6787 GB, free: 7.652 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.944e-05/0.1465, allocations: 81.09 kB / 0.6788 GB, free: 7.555 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.431e-05/0.1465, allocations: 4 kB / 0.6788 GB, free: 7.551 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.262e-05/0.1466, allocations: 0 / 0.6788 GB, free: 7.551 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.233e-05/0.1466, allocations: 0 / 0.6788 GB, free: 7.551 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 8.609e-05/0.1467, allocations: 117 kB / 0.6789 GB, free: 7.43 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001489/0.1468, allocations: 218.7 kB / 0.6791 GB, free: 7.199 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.542e-05/0.1469, allocations: 3.984 kB / 0.6791 GB, free: 7.195 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.799e-05/0.1469, allocations: 75.28 kB / 0.6792 GB, free: 7.121 MB / 0.5137 GB Notification: Performance of Backend: time 4.91e-07/0.1469, allocations: 4 kB / 0.6792 GB, free: 7.117 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004057/0.1473, allocations: 88.88 kB / 0.6793 GB, free: 7.023 MB / 0.5137 GB Notification: Performance of SimCode: time 0.000394/0.1477, allocations: 0.533 MB / 0.6798 GB, free: 6.441 MB / 0.5137 GB Notification: Performance of Templates: time 0.002436/0.1502, allocations: 364.6 kB / 0.6802 GB, free: 6.086 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)