Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.FallingFactorial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.FallingFactorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.291/1.291, allocations: 251.5 MB / 267.4 MB, free: 11.08 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001106/0.001106, allocations: 174.5 kB / 326.5 MB, free: 2.672 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.453/1.453, allocations: 205 MB / 0.5767 GB, free: 20.96 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006759/0.0006759, allocations: 87.61 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002905/0.0002906, allocations: 8.969 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1678/0.1681, allocations: 105.4 MB / 0.8967 GB, free: 68.17 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.00134/0.1695, allocations: 1.271 MB / 0.898 GB, free: 66.88 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003208/0.1698, allocations: 141.2 kB / 0.8981 GB, free: 66.74 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.882e-05/0.1698, allocations: 0 / 0.8981 GB, free: 66.74 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.978e-05/0.1699, allocations: 0 / 0.8981 GB, free: 66.74 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.721e-05/0.1699, allocations: 7.922 kB / 0.8981 GB, free: 66.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001951/0.1701, allocations: 19.98 kB / 0.8981 GB, free: 66.71 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.318e-05/0.1702, allocations: 35.91 kB / 0.8982 GB, free: 66.68 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.508e-05/0.1703, allocations: 23.92 kB / 0.8982 GB, free: 66.66 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.658e-05/0.1703, allocations: 15.91 kB / 0.8982 GB, free: 66.64 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.531e-05/0.1704, allocations: 15.92 kB / 0.8982 GB, free: 66.62 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.314e-05/0.1704, allocations: 4 kB / 0.8982 GB, free: 66.62 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.751e-05/0.1704, allocations: 12 kB / 0.8982 GB, free: 66.61 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.037e-05/0.1705, allocations: 3.984 kB / 0.8982 GB, free: 66.61 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.335e-05/0.1705, allocations: 15.88 kB / 0.8983 GB, free: 66.59 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.552e-05/0.1706, allocations: 47.86 kB / 0.8983 GB, free: 66.54 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.1706, allocations: 0 / 0.8983 GB, free: 66.54 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.152e-06/0.1706, allocations: 0 / 0.8983 GB, free: 66.54 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.066e-06/0.1706, allocations: 0 / 0.8983 GB, free: 66.54 MB / 0.6042 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.0003443/0.171, allocations: 343.4 kB / 0.8986 GB, free: 66.16 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.171, allocations: 8.031 kB / 0.8986 GB, free: 66.15 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.295e-05/0.171, allocations: 8.844 kB / 0.8986 GB, free: 66.14 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.566e-05/0.1711, allocations: 176.2 kB / 0.8988 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.001e-05/0.1711, allocations: 384 / 0.8988 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.267e-06/0.1711, allocations: 4.375 kB / 0.8988 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000172/0.1713, allocations: 70.22 kB / 0.8989 GB, free: 65.85 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.1713, allocations: 192 / 0.8989 GB, free: 65.85 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.437e-06/0.1713, allocations: 11.92 kB / 0.8989 GB, free: 65.84 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.1714, allocations: 3.938 kB / 0.8989 GB, free: 65.84 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000175/0.1715, allocations: 55.95 kB / 0.899 GB, free: 65.78 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000305/0.1719, allocations: 284.7 kB / 0.8992 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002667/0.1721, allocations: 62.53 kB / 0.8993 GB, free: 65.38 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.722e-05/0.1722, allocations: 32.91 kB / 0.8993 GB, free: 65.35 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001686/0.1724, allocations: 397.5 kB / 0.8997 GB, free: 64.87 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.579e-05/0.1724, allocations: 34.55 kB / 0.8997 GB, free: 64.82 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.242e-06/0.1724, allocations: 0 / 0.8997 GB, free: 64.82 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0003396/0.1728, allocations: 113.6 kB / 0.8998 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.229e-05/0.1728, allocations: 51.41 kB / 0.8999 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.096e-05/0.1729, allocations: 113.8 kB / 0.9 GB, free: 64.52 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.635e-06/0.1729, allocations: 25.7 kB / 0.9 GB, free: 64.49 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.413e-05/0.1729, allocations: 95.97 kB / 0.9001 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.188e-05/0.1729, allocations: 11.91 kB / 0.9001 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.873e-05/0.1729, allocations: 9.719 kB / 0.9001 GB, free: 64.37 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.943e-05/0.173, allocations: 310.8 kB / 0.9004 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.644e-05/0.1731, allocations: 27.97 kB / 0.9005 GB, free: 64.03 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.417e-05/0.1732, allocations: 27.98 kB / 0.9005 GB, free: 64 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001521/0.1733, allocations: 60.75 kB / 0.9005 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.1733, allocations: 0 / 0.9005 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001881/0.1735, allocations: 89.59 kB / 0.9006 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.1735, allocations: 4 kB / 0.9006 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.1735, allocations: 0 / 0.9006 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.1736, allocations: 0 / 0.9006 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.274e-05/0.1736, allocations: 15.98 kB / 0.9006 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-06/0.1737, allocations: 0 / 0.9006 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.411e-05/0.1737, allocations: 15.98 kB / 0.9007 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.1737, allocations: 4 kB / 0.9007 GB, free: 63.8 MB / 0.6042 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 (falFac.y,rea2Int.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 4.898e-05/0.1738, allocations: 113.7 kB / 0.9008 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.511e-05/0.1738, allocations: 12.23 kB / 0.9008 GB, free: 63.67 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002274/0.174, allocations: 105.5 kB / 0.9009 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.1741, allocations: 0 / 0.9009 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.1741, allocations: 0 / 0.9009 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.587e-05/0.1741, allocations: 81.09 kB / 0.901 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.239e-05/0.1741, allocations: 0 / 0.901 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.874e-05/0.1742, allocations: 8 kB / 0.901 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.509e-05/0.1742, allocations: 11.92 kB / 0.901 GB, free: 63.44 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002323/0.1745, allocations: 168.9 kB / 0.9011 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002094/0.1747, allocations: 266.7 kB / 0.9014 GB, free: 62.99 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.605e-05/0.1748, allocations: 27.97 kB / 0.9014 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.299e-05/0.1748, allocations: 87.28 kB / 0.9015 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of Backend: time 1.81e-07/0.1748, allocations: 4 kB / 0.9015 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003702/0.1752, allocations: 115.4 kB / 0.9016 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0002987/0.1755, allocations: 0.5785 MB / 0.9022 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of Templates: time 0.002305/0.1778, allocations: 0.7616 MB / 0.9029 GB, free: 61.38 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.FallingFactorial.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.FallingFactorial.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1)