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.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/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.001268/0.001268, allocations: 98.61 kB / 15.05 MB, free: 1.105 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.001554/0.001554, allocations: 177.3 kB / 15.94 MB, free: 228 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.367/1.367, allocations: 223.2 MB / 239.9 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9693/0.9693, allocations: 143.3 MB / 434.3 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002871/0.0002872, allocations: 15.98 kB / 0.5158 GB, free: 11.31 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.149, allocations: 83.4 MB / 0.5973 GB, free: 7.855 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial): time 0.00158/0.1506, allocations: 1.242 MB / 0.5985 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000331/0.1509, allocations: 132.4 kB / 0.5986 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.096e-05/0.151, allocations: 4 kB / 0.5986 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.339e-05/0.151, allocations: 0 / 0.5986 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.472e-05/0.151, allocations: 7.938 kB / 0.5986 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002052/0.1513, allocations: 19.97 kB / 0.5986 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.228e-05/0.1513, allocations: 19.97 kB / 0.5987 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.533e-05/0.1514, allocations: 11.98 kB / 0.5987 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.757e-05/0.1514, allocations: 11.94 kB / 0.5987 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.817e-05/0.1515, allocations: 15.92 kB / 0.5987 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.083e-05/0.1515, allocations: 4 kB / 0.5987 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.907e-05/0.1516, allocations: 19.97 kB / 0.5987 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.076e-06/0.1516, allocations: 0 / 0.5987 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.94e-05/0.1516, allocations: 33.7 kB / 0.5988 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 7.285e-05/0.1517, allocations: 31.88 kB / 0.5988 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.1517, allocations: 0 / 0.5988 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.152e-06/0.1517, allocations: 0 / 0.5988 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.256e-06/0.1517, allocations: 0 / 0.5988 GB, free: 6.289 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.0004121/0.1521, allocations: 351.5 kB / 0.5991 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.184e-05/0.1522, allocations: 8.031 kB / 0.5991 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.837e-05/0.1522, allocations: 4 kB / 0.5991 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001072/0.1523, allocations: 167 kB / 0.5993 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.16e-05/0.1523, allocations: 8 kB / 0.5993 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.133e-05/0.1524, allocations: 0 / 0.5993 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001895/0.1525, allocations: 73.64 kB / 0.5994 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.1526, allocations: 4 kB / 0.5994 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-06/0.1526, allocations: 0 / 0.5994 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.1526, allocations: 0 / 0.5994 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002/0.1528, allocations: 51.95 kB / 0.5994 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003538/0.1532, allocations: 292.6 kB / 0.5997 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002938/0.1535, allocations: 58.55 kB / 0.5998 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002511/0.1537, allocations: 401.7 kB / 0.6001 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/0.1538, allocations: 34.56 kB / 0.6002 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 2.385e-06/0.1538, allocations: 7.984 kB / 0.6002 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0003788/0.1541, allocations: 117.5 kB / 0.6003 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.802e-05/0.1542, allocations: 59.36 kB / 0.6003 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.216e-05/0.1543, allocations: 113.8 kB / 0.6005 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.378e-05/0.1543, allocations: 25.7 kB / 0.6005 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.772e-05/0.1543, allocations: 84.14 kB / 0.6006 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.405e-05/0.1544, allocations: 11.84 kB / 0.6006 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.733e-06/0.1544, allocations: 4 kB / 0.6006 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.94e-05/0.1545, allocations: 310.8 kB / 0.6009 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.826e-05/0.1546, allocations: 31.97 kB / 0.6009 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.049e-05/0.1547, allocations: 23.92 kB / 0.6009 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.272e-05/0.1548, allocations: 27.97 kB / 0.601 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1548, allocations: 0 / 0.601 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002252/0.155, allocations: 89.59 kB / 0.601 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.155, allocations: 4 kB / 0.601 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.1551, allocations: 0 / 0.601 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.516e-06/0.1551, allocations: 0 / 0.601 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.325e-05/0.1552, allocations: 15.98 kB / 0.6011 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.1552, allocations: 7.953 kB / 0.6011 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.296e-05/0.1552, allocations: 15.89 kB / 0.6011 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/0.1553, allocations: 0 / 0.6011 GB, free: 3.629 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 6.901e-05/0.1553, allocations: 113.8 kB / 0.6012 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.25e-05/0.1554, allocations: 0 / 0.6012 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002693/0.1556, allocations: 97.48 kB / 0.6013 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.1556, allocations: 0 / 0.6013 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.1556, allocations: 0 / 0.6013 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.1557, allocations: 3.953 kB / 0.6013 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001583/0.1558, allocations: 165.7 kB / 0.6014 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1558, allocations: 0 / 0.6014 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.302e-05/0.1559, allocations: 15.98 kB / 0.6015 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1559, allocations: 4 kB / 0.6015 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.632e-06/0.1559, allocations: 0 / 0.6015 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.1559, allocations: 0 / 0.6015 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.156, allocations: 3.984 kB / 0.6015 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002683/0.1562, allocations: 195.3 kB / 0.6017 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.128e-05/0.1563, allocations: 77.11 kB / 0.6017 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.237e-05/0.1563, allocations: 0 / 0.6017 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.056e-05/0.1564, allocations: 11.98 kB / 0.6017 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.281e-05/0.1564, allocations: 8.406 kB / 0.6017 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.1564, allocations: 0 / 0.6017 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.05e-05/0.1565, allocations: 87.34 kB / 0.6018 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.3e-07/0.1565, allocations: 0 / 0.6018 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002276/0.1567, allocations: 16 kB / 0.6018 GB, free: 2.738 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.0001395/0.1569, allocations: 111.2 kB / 0.602 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002261/0.1571, allocations: 51.94 kB / 0.602 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1571, allocations: 11.94 kB / 0.602 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001014/0.1572, allocations: 31.91 kB / 0.602 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001716/0.1574, allocations: 15.89 kB / 0.6021 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002525/0.1577, allocations: 120.6 kB / 0.6022 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002131/0.1579, allocations: 0.6848 MB / 0.6028 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.314e-05/0.1579, allocations: 7.984 kB / 0.6028 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.245e-05/0.158, allocations: 7.438 kB / 0.6029 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of SimCode: time 2.71e-07/0.158, allocations: 4 kB / 0.6029 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of Templates: time 0.002553/0.1605, allocations: 0.6411 MB / 0.6035 GB, free: 1.004 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: