Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.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.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008043/0.0008042, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.0009907/0.0009907, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.178/1.178, allocations: 223.3 MB / 240 MB, free: 5.434 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 0.8751/0.8751, allocations: 143.2 MB / 434.2 MB, free: 13.73 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000276/0.0002763, allocations: 12 kB / 0.5158 GB, free: 11.52 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1331, allocations: 83.41 MB / 0.5972 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial): time 0.001469/0.1346, allocations: 1.246 MB / 0.5985 GB, free: 6.809 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003071/0.1349, allocations: 124.5 kB / 0.5986 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.79e-05/0.135, allocations: 4 kB / 0.5986 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.812e-05/0.135, allocations: 0 / 0.5986 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.459e-05/0.135, allocations: 3.938 kB / 0.5986 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002163/0.1352, allocations: 27.95 kB / 0.5986 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.952e-05/0.1353, allocations: 31.92 kB / 0.5986 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.034e-05/0.1354, allocations: 11.98 kB / 0.5987 GB, free: 6.605 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.646e-05/0.1354, allocations: 11.94 kB / 0.5987 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.429e-05/0.1355, allocations: 11.92 kB / 0.5987 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.159e-05/0.1355, allocations: 4 kB / 0.5987 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.973e-05/0.1356, allocations: 19.97 kB / 0.5987 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.969e-06/0.1356, allocations: 4 kB / 0.5987 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.269e-05/0.1356, allocations: 33.64 kB / 0.5987 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 7.518e-05/0.1357, allocations: 31.94 kB / 0.5988 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1357, allocations: 0 / 0.5988 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.322e-06/0.1357, allocations: 0 / 0.5988 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.1357, allocations: 4 kB / 0.5988 GB, free: 6.48 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003942/0.1361, allocations: 351.5 kB / 0.5991 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.16e-05/0.1361, allocations: 8.031 kB / 0.5991 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.545e-05/0.1362, allocations: 4 kB / 0.5991 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001026/0.1363, allocations: 163 kB / 0.5993 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.949e-05/0.1363, allocations: 0 / 0.5993 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.056e-05/0.1363, allocations: 4 kB / 0.5993 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001802/0.1365, allocations: 81.62 kB / 0.5994 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.655e-06/0.1365, allocations: 0 / 0.5994 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-06/0.1365, allocations: 0 / 0.5994 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.1365, allocations: 3.938 kB / 0.5994 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001701/0.1367, allocations: 59.89 kB / 0.5994 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003663/0.1371, allocations: 284.7 kB / 0.5997 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002655/0.1374, allocations: 66.48 kB / 0.5998 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.815e-05/0.1375, allocations: 32.89 kB / 0.5998 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002548/0.1377, allocations: 397.5 kB / 0.6002 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.991e-05/0.1378, allocations: 34.56 kB / 0.6002 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.1378, allocations: 0 / 0.6002 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0003575/0.1381, allocations: 113.5 kB / 0.6003 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.127e-05/0.1382, allocations: 55.36 kB / 0.6004 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.435e-05/0.1383, allocations: 113.8 kB / 0.6005 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.1e-05/0.1383, allocations: 29.7 kB / 0.6005 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.687e-05/0.1383, allocations: 80.14 kB / 0.6006 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.591e-05/0.1383, allocations: 11.91 kB / 0.6006 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-06/0.1383, allocations: 3.938 kB / 0.6006 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.854e-05/0.1384, allocations: 314.8 kB / 0.6009 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.861e-05/0.1385, allocations: 23.98 kB / 0.6009 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.595e-05/0.1386, allocations: 31.97 kB / 0.6009 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.651e-05/0.1387, allocations: 23.98 kB / 0.601 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1387, allocations: 0 / 0.601 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001935/0.1389, allocations: 81.94 kB / 0.601 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.1389, allocations: 5.719 kB / 0.601 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.1389, allocations: 0 / 0.601 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.1389, allocations: 48 / 0.601 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.448e-05/0.139, allocations: 23.91 kB / 0.6011 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.139, allocations: 3.953 kB / 0.6011 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.8e-05/0.1391, allocations: 23.89 kB / 0.6011 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.12e-06/0.1391, allocations: 0 / 0.6011 GB, free: 3.793 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 (rea2Int.y,falFac.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.166e-05/0.1392, allocations: 113.8 kB / 0.6012 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.185e-05/0.1392, allocations: 0 / 0.6012 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002411/0.1395, allocations: 97.55 kB / 0.6013 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.1395, allocations: 0 / 0.6013 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.1395, allocations: 7.984 kB / 0.6013 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.1395, allocations: 3.953 kB / 0.6013 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001465/0.1396, allocations: 161.7 kB / 0.6015 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1396, allocations: 0 / 0.6015 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.029e-05/0.1397, allocations: 19.98 kB / 0.6015 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.1397, allocations: 0 / 0.6015 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.1397, allocations: 0 / 0.6015 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.1397, allocations: 4 kB / 0.6015 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.1397, allocations: 0 / 0.6015 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002333/0.14, allocations: 187.3 kB / 0.6017 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.047e-05/0.14, allocations: 89.03 kB / 0.6017 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.209e-05/0.1401, allocations: 0 / 0.6017 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.618e-05/0.1401, allocations: 8 kB / 0.6018 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.038e-05/0.1402, allocations: 11.98 kB / 0.6018 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.898e-06/0.1402, allocations: 0 / 0.6018 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.741e-05/0.1402, allocations: 91.33 kB / 0.6019 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1402, allocations: 4 kB / 0.6019 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002056/0.1405, allocations: 12 kB / 0.6019 GB, free: 2.891 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 (rea2Int.y,falFac.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001429/0.1406, allocations: 103.2 kB / 0.602 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000204/0.1408, allocations: 55.89 kB / 0.602 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.1408, allocations: 0 / 0.602 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.378e-05/0.1409, allocations: 35.97 kB / 0.6021 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002461/0.1412, allocations: 11.89 kB / 0.6021 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003108/0.1415, allocations: 124.6 kB / 0.6022 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002415/0.1417, allocations: 0.6848 MB / 0.6029 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.173e-05/0.1418, allocations: 8 kB / 0.6029 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.544e-05/0.1418, allocations: 11.44 kB / 0.6029 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of SimCode: time 3.6e-07/0.1418, allocations: 0 / 0.6029 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of Templates: time 0.002631/0.1445, allocations: 0.6415 MB / 0.6035 GB, free: 1.164 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.pipe 2>&1)