Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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/IBPSA 4.0.0-master/package.mo", uses=false) 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.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial") translateModel(IBPSA.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_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.001542/0.001542, allocations: 96.83 kB / 16.26 MB, free: 5.934 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.001856/0.001856, allocations: 189.6 kB / 17.2 MB, free: 5.574 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.359/1.359, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7531/0.7531, allocations: 122.9 MB / 413.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002115/0.002115, allocations: 59.91 kB / 0.4911 GB, free: 7.426 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4283/0.4305, allocations: 77.92 MB / 0.5672 GB, free: 32.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.FallingFactorial): time 0.003059/0.4336, allocations: 1.528 MB / 0.5687 GB, free: 31.52 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003856/0.434, allocations: 135.5 kB / 0.5688 GB, free: 31.42 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.264e-05/0.434, allocations: 2.281 kB / 0.5688 GB, free: 31.42 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.589e-05/0.4341, allocations: 5.016 kB / 0.5688 GB, free: 31.42 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.834e-05/0.4342, allocations: 8.25 kB / 0.5688 GB, free: 31.41 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004181/0.4346, allocations: 32.25 kB / 0.5689 GB, free: 31.4 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001095/0.4347, allocations: 30.47 kB / 0.5689 GB, free: 31.39 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.4348, allocations: 20.45 kB / 0.5689 GB, free: 31.38 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.003e-05/0.4349, allocations: 11.34 kB / 0.5689 GB, free: 31.37 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.604e-05/0.435, allocations: 19.36 kB / 0.5689 GB, free: 31.36 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.843e-05/0.435, allocations: 2.719 kB / 0.5689 GB, free: 31.36 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.064e-05/0.4351, allocations: 21.61 kB / 0.569 GB, free: 31.36 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.063e-05/0.4351, allocations: 12.36 kB / 0.569 GB, free: 31.35 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.747e-05/0.4351, allocations: 16.86 kB / 0.569 GB, free: 31.34 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000155/0.4353, allocations: 41.11 kB / 0.569 GB, free: 31.32 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.4353, allocations: 0.5625 kB / 0.569 GB, free: 31.32 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.4353, allocations: 3.156 kB / 0.569 GB, free: 31.32 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.4353, allocations: 0 / 0.569 GB, free: 31.32 MB / 446.1 MB 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.00055/0.4359, allocations: 350 kB / 0.5694 GB, free: 30.96 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.436, allocations: 13.09 kB / 0.5694 GB, free: 30.95 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.765e-05/0.436, allocations: 7.844 kB / 0.5694 GB, free: 30.95 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001159/0.4361, allocations: 167.7 kB / 0.5695 GB, free: 30.75 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.872e-05/0.4362, allocations: 4.469 kB / 0.5695 GB, free: 30.75 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.445e-05/0.4362, allocations: 5.531 kB / 0.5695 GB, free: 30.75 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002788/0.4365, allocations: 67.61 kB / 0.5696 GB, free: 30.7 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.4365, allocations: 4.75 kB / 0.5696 GB, free: 30.7 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.696e-05/0.4365, allocations: 5.156 kB / 0.5696 GB, free: 30.7 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.666e-06/0.4365, allocations: 1.969 kB / 0.5696 GB, free: 30.7 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002418/0.4368, allocations: 48.09 kB / 0.5697 GB, free: 30.68 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005615/0.4374, allocations: 278.8 kB / 0.5699 GB, free: 30.4 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003945/0.4378, allocations: 58.38 kB / 0.57 GB, free: 30.37 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001239/0.4379, allocations: 31.59 kB / 0.57 GB, free: 30.35 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003327/0.4383, allocations: 398.4 kB / 0.5704 GB, free: 29.88 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/0.4383, allocations: 32.67 kB / 0.5704 GB, free: 29.84 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 2.134e-06/0.4383, allocations: 1 kB / 0.5704 GB, free: 29.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005023/0.4388, allocations: 94.72 kB / 0.5705 GB, free: 29.8 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.473e-05/0.4389, allocations: 52.47 kB / 0.5706 GB, free: 29.74 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.439, allocations: 107.9 kB / 0.5707 GB, free: 29.64 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.053e-05/0.439, allocations: 26.97 kB / 0.5707 GB, free: 29.61 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.304e-05/0.4391, allocations: 86.14 kB / 0.5708 GB, free: 29.52 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.052e-05/0.4391, allocations: 8.469 kB / 0.5708 GB, free: 29.52 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.603e-05/0.4392, allocations: 19.11 kB / 0.5708 GB, free: 29.5 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.194e-05/0.4393, allocations: 316.7 kB / 0.5711 GB, free: 29.18 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001131/0.4394, allocations: 25.44 kB / 0.5711 GB, free: 29.17 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.857e-05/0.4395, allocations: 21.78 kB / 0.5712 GB, free: 29.17 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002002/0.4397, allocations: 42.92 kB / 0.5712 GB, free: 29.16 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.4397, allocations: 0 / 0.5712 GB, free: 29.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002639/0.44, allocations: 83.53 kB / 0.5713 GB, free: 29.11 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.341e-05/0.44, allocations: 5.359 kB / 0.5713 GB, free: 29.11 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.44, allocations: 2.094 kB / 0.5713 GB, free: 29.11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.233e-05/0.44, allocations: 0 / 0.5713 GB, free: 29.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/0.4402, allocations: 12.39 kB / 0.5713 GB, free: 29.11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.4402, allocations: 8.938 kB / 0.5713 GB, free: 29.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.787e-05/0.4403, allocations: 10.86 kB / 0.5713 GB, free: 29.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-06/0.4403, allocations: 2.516 kB / 0.5713 GB, free: 29.1 MB / 446.1 MB 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 0.0001001/0.4404, allocations: 117.3 kB / 0.5714 GB, free: 28.98 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.332e-05/0.4404, allocations: 2.875 kB / 0.5714 GB, free: 28.98 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002892/0.4407, allocations: 85.3 kB / 0.5715 GB, free: 28.93 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.4407, allocations: 1.469 kB / 0.5715 GB, free: 28.93 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.4407, allocations: 0.5938 kB / 0.5715 GB, free: 28.93 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.4407, allocations: 2.219 kB / 0.5715 GB, free: 28.93 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001505/0.4409, allocations: 169.9 kB / 0.5717 GB, free: 28.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.4409, allocations: 0 / 0.5717 GB, free: 28.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.76e-05/0.441, allocations: 16.02 kB / 0.5717 GB, free: 28.72 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.441, allocations: 0.7969 kB / 0.5717 GB, free: 28.72 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.926e-06/0.441, allocations: 2 kB / 0.5717 GB, free: 28.72 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.441, allocations: 5.594 kB / 0.5717 GB, free: 28.72 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.441, allocations: 3.938 kB / 0.5717 GB, free: 28.71 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002458/0.4413, allocations: 176.9 kB / 0.5719 GB, free: 28.57 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.001e-05/0.4413, allocations: 79.73 kB / 0.572 GB, free: 28.48 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.605e-05/0.4413, allocations: 0.6562 kB / 0.572 GB, free: 28.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.913e-05/0.4414, allocations: 6.656 kB / 0.572 GB, free: 28.48 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.77e-05/0.4415, allocations: 10.42 kB / 0.572 GB, free: 28.47 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-06/0.4415, allocations: 1.125 kB / 0.572 GB, free: 28.47 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.329e-05/0.4416, allocations: 91.77 kB / 0.5721 GB, free: 28.39 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4416, allocations: 2.094 kB / 0.5721 GB, free: 28.39 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002308/0.4418, allocations: 8.281 kB / 0.5721 GB, free: 28.39 MB / 446.1 MB 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 (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.0001492/0.4419, allocations: 100.5 kB / 0.5722 GB, free: 28.3 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002347/0.4422, allocations: 52.34 kB / 0.5722 GB, free: 28.29 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.4422, allocations: 0 / 0.5722 GB, free: 28.29 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001024/0.4423, allocations: 25.88 kB / 0.5722 GB, free: 28.29 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002911/0.4426, allocations: 8.344 kB / 0.5722 GB, free: 28.29 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003581/0.443, allocations: 133.2 kB / 0.5724 GB, free: 28.16 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001529/0.4431, allocations: 0.6794 MB / 0.573 GB, free: 27.46 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.677e-05/0.4432, allocations: 4.062 kB / 0.573 GB, free: 27.46 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.848e-05/0.4432, allocations: 12.88 kB / 0.5731 GB, free: 27.46 MB / 446.1 MB Notification: Performance of SimCode: time 1.492e-06/0.4432, allocations: 2.25 kB / 0.5731 GB, free: 27.46 MB / 446.1 MB Notification: Performance of Templates: time 0.003894/0.4471, allocations: 0.7611 MB / 0.5738 GB, free: 27.4 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.pipe 2>&1)