Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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(IBPSA.Utilities.Math.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Factorial") translateModel(IBPSA.Utilities.Math.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Factorial") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001353/0.001353, allocations: 111.3 kB / 17.33 MB, free: 5.043 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.001235/0.001235, allocations: 202.6 kB / 18.33 MB, free: 4.055 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.454/1.454, allocations: 225.6 MB / 244.8 MB, free: 13.58 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8415/0.8415, allocations: 128.4 MB / 426.1 MB, free: 7.191 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001976/0.001976, allocations: 65.73 kB / 0.5912 GB, free: 21.35 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1609/0.1629, allocations: 83.26 MB / 0.6725 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.Factorial): time 0.001743/0.1646, allocations: 0.5765 MB / 0.6731 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000266/0.1649, allocations: 50.44 kB / 0.6731 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.729e-05/0.1649, allocations: 3.938 kB / 0.6731 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.643e-05/0.1649, allocations: 4 kB / 0.6731 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.172e-06/0.1649, allocations: 0 / 0.6731 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002175/0.1652, allocations: 15.92 kB / 0.6731 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.623e-05/0.1652, allocations: 4 kB / 0.6731 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.318e-05/0.1653, allocations: 0 / 0.6731 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.224e-05/0.1653, allocations: 0 / 0.6731 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.329e-05/0.1653, allocations: 7.984 kB / 0.6732 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.807e-06/0.1653, allocations: 3.938 kB / 0.6732 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.382e-05/0.1654, allocations: 11.98 kB / 0.6732 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.956e-06/0.1654, allocations: 0 / 0.6732 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.71e-05/0.1654, allocations: 0 / 0.6732 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.766e-05/0.1655, allocations: 15.94 kB / 0.6732 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.1655, allocations: 0 / 0.6732 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of FrontEnd: time 4.038e-06/0.1655, allocations: 3.984 kB / 0.6732 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.052e-06/0.1655, allocations: 0 / 0.6732 GB, free: 3.152 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003453/0.1659, allocations: 316.4 kB / 0.6735 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.1659, allocations: 8.031 kB / 0.6735 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.125e-05/0.1659, allocations: 0.9375 kB / 0.6735 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.166, allocations: 164.4 kB / 0.6737 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.1661, allocations: 4.375 kB / 0.6737 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.077e-06/0.1661, allocations: 8.375 kB / 0.6737 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001047/0.1662, allocations: 30.2 kB / 0.6737 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.1662, allocations: 192 / 0.6737 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.1662, allocations: 7.938 kB / 0.6737 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.1662, allocations: 0 / 0.6737 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.986e-05/0.1662, allocations: 0 / 0.6737 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001675/0.1664, allocations: 153.7 kB / 0.6738 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.256e-05/0.1664, allocations: 18.61 kB / 0.6739 GB, free: 2.305 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.145e-05/0.1665, allocations: 16.92 kB / 0.6739 GB, free: 2.285 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001667/0.1666, allocations: 85.08 kB / 0.674 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.964e-05/0.1667, allocations: 42.5 kB / 0.674 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.1667, allocations: 0 / 0.674 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001412/0.1668, allocations: 45.62 kB / 0.674 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.225e-05/0.1669, allocations: 51.41 kB / 0.6741 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.873e-05/0.1669, allocations: 89.86 kB / 0.6742 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.388e-05/0.1669, allocations: 29.83 kB / 0.6742 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.456e-05/0.1669, allocations: 80.14 kB / 0.6743 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.49e-05/0.167, allocations: 7.953 kB / 0.6743 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.568e-05/0.167, allocations: 9.719 kB / 0.6743 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.1671, allocations: 319.1 kB / 0.6746 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.252e-05/0.1672, allocations: 4 kB / 0.6746 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.02e-05/0.1672, allocations: 3.984 kB / 0.6746 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.312e-05/0.1672, allocations: 24.86 kB / 0.6746 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1672, allocations: 0 / 0.6746 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.608e-05/0.1673, allocations: 33.7 kB / 0.6747 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.1673, allocations: 4 kB / 0.6747 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-06/0.1673, allocations: 0 / 0.6747 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.1673, allocations: 3.938 kB / 0.6747 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.597e-05/0.1674, allocations: 7.984 kB / 0.6747 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.1674, allocations: 3.938 kB / 0.6747 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.243e-05/0.1674, allocations: 0 / 0.6747 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.141e-06/0.1674, allocations: 4 kB / 0.6747 GB, free: 1.363 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 (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.503e-05/0.1675, allocations: 113.9 kB / 0.6748 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.747e-06/0.1675, allocations: 3.984 kB / 0.6748 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.958e-05/0.1675, allocations: 48.69 kB / 0.6749 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-06/0.1676, allocations: 0 / 0.6749 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.1676, allocations: 0 / 0.6749 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.1676, allocations: 0 / 0.6749 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001106/0.1677, allocations: 153.7 kB / 0.675 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1677, allocations: 0 / 0.675 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.396e-05/0.1677, allocations: 4 kB / 0.675 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-06/0.1677, allocations: 4.031 kB / 0.675 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/0.1677, allocations: 3.938 kB / 0.675 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.1677, allocations: 0 / 0.675 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1677, allocations: 0 / 0.675 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.653e-05/0.1678, allocations: 65.06 kB / 0.6751 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.309e-05/0.1678, allocations: 81.11 kB / 0.6752 GB, free: 0.7969 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.045e-05/0.1678, allocations: 3.938 kB / 0.6752 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.005e-05/0.1679, allocations: 4.031 kB / 0.6752 GB, free: 0.7891 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.304e-05/0.1679, allocations: 0 / 0.6752 GB, free: 0.7891 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/0.1679, allocations: 4 kB / 0.6752 GB, free: 0.7852 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.029e-05/0.1679, allocations: 79.28 kB / 0.6752 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of sort global known variables: time 6e-08/0.1679, allocations: 0 / 0.6752 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001803/0.1681, allocations: 11.98 kB / 0.6752 GB, free: 0.6953 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 (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.0001587/0.1683, allocations: 107.1 kB / 0.6754 GB, free: 0.5781 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.349e-05/0.1683, allocations: 12 kB / 0.6754 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1683, allocations: 0 / 0.6754 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.808e-05/0.1684, allocations: 11.92 kB / 0.6754 GB, free: 0.5547 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001271/0.1685, allocations: 8 kB / 0.6754 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002175/0.1687, allocations: 88.97 kB / 0.6755 GB, free: 444 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000337/0.169, allocations: 0.669 MB / 0.6761 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.407e-05/0.1691, allocations: 3.984 kB / 0.6761 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.771e-05/0.1691, allocations: 11.44 kB / 0.6761 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of SimCode: time 2.91e-07/0.1691, allocations: 0 / 0.6761 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of Templates: time 0.002557/0.1716, allocations: 316.9 kB / 0.6764 GB, free: 15.42 MB / 0.5137 GB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Factorial.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Factorial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Factorial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Factorial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Factorial.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Factorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Factorial.pipe 2>&1) [Timeout 480]