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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.FallingFactorial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.FallingFactorial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 181.8 kB / 13.19 MB, free: 2.121 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4514/0.4514, allocations: 90.81 MB / 104.5 MB, free: 9.805 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.258/1.258, allocations: 221.3 MB / 348.3 MB, free: 468 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008083/0.0008083, allocations: 94.67 kB / 421.2 MB, free: 5.496 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.005e-05/3.019e-05, allocations: 0 / 0.4897 GB, free: 5.277 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3389/0.3389, allocations: 72.31 MB / 0.5603 GB, free: 40.44 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1173/0.4563, allocations: 101.8 MB / 0.6598 GB, free: 2.461 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001931/0.4566, allocations: 75.94 kB / 0.6598 GB, free: 2.387 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003022/0.4596, allocations: 1.055 MB / 0.6609 GB, free: 1.34 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4596, allocations: 0 / 0.6609 GB, free: 1.34 MB / 474.7 MB Notification: Performance of Transformations before backend: time 8.596e-06/0.4597, allocations: 0.6562 kB / 0.6609 GB, free: 1.34 MB / 474.7 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.0004096/0.4601, allocations: 370.2 kB / 0.6612 GB, free: 0.9336 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/0.4601, allocations: 11.98 kB / 0.6612 GB, free: 0.9219 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.998e-05/0.4602, allocations: 34.56 kB / 0.6613 GB, free: 0.8789 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.896e-05/0.4602, allocations: 7.953 kB / 0.6613 GB, free: 0.8711 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/0.4603, allocations: 159.1 kB / 0.6614 GB, free: 0.6758 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.927e-05/0.4604, allocations: 4 kB / 0.6614 GB, free: 0.6719 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.265e-05/0.4604, allocations: 1.969 kB / 0.6614 GB, free: 0.6719 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001281/0.4605, allocations: 53.67 kB / 0.6615 GB, free: 0.6133 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.4605, allocations: 0 / 0.6615 GB, free: 0.6133 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.4606, allocations: 8 kB / 0.6615 GB, free: 0.6055 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.4606, allocations: 4.625 kB / 0.6615 GB, free: 0.6016 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.298e-05/0.4607, allocations: 27.88 kB / 0.6615 GB, free: 0.5742 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004442/0.4611, allocations: 276.8 kB / 0.6618 GB, free: 260 kB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002268/0.4613, allocations: 42.56 kB / 0.6618 GB, free: 208 kB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.964e-05/0.4614, allocations: 24.94 kB / 0.6619 GB, free: 180 kB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002942/0.4617, allocations: 397.5 kB / 0.6622 GB, free: 15.7 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.602e-05/0.4617, allocations: 34.52 kB / 0.6623 GB, free: 15.65 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.4617, allocations: 4 kB / 0.6623 GB, free: 15.65 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001786/0.4619, allocations: 57.58 kB / 0.6623 GB, free: 15.59 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.267e-05/0.462, allocations: 51.41 kB / 0.6624 GB, free: 15.52 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.189e-05/0.4621, allocations: 97 kB / 0.6625 GB, free: 15.42 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.407e-05/0.4621, allocations: 29.7 kB / 0.6625 GB, free: 15.39 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.382e-05/0.4621, allocations: 92.12 kB / 0.6626 GB, free: 15.29 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.523e-05/0.4622, allocations: 3.906 kB / 0.6626 GB, free: 15.29 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-06/0.4622, allocations: 0 / 0.6626 GB, free: 15.29 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.235e-05/0.4623, allocations: 318.8 kB / 0.6629 GB, free: 14.97 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.185e-05/0.4623, allocations: 4 kB / 0.6629 GB, free: 14.96 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.949e-05/0.4623, allocations: 13.72 kB / 0.6629 GB, free: 14.95 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.849e-05/0.4624, allocations: 11.98 kB / 0.6629 GB, free: 14.94 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.4624, allocations: 0 / 0.6629 GB, free: 14.94 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.701e-05/0.4625, allocations: 53.69 kB / 0.663 GB, free: 14.88 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.4625, allocations: 4 kB / 0.663 GB, free: 14.88 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.4625, allocations: 6.391 kB / 0.663 GB, free: 14.88 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.4625, allocations: 0 / 0.663 GB, free: 14.88 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.991e-05/0.4626, allocations: 15.98 kB / 0.663 GB, free: 14.86 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.4626, allocations: 0 / 0.663 GB, free: 14.86 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.428e-05/0.4627, allocations: 15.92 kB / 0.663 GB, free: 14.84 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.4627, allocations: 0 / 0.663 GB, free: 14.84 MB / 490.7 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,falFac.k) * Number of discrete 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.647e-05/0.4628, allocations: 109 kB / 0.6631 GB, free: 14.73 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.839e-05/0.4628, allocations: 7.906 kB / 0.6631 GB, free: 14.72 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001315/0.4629, allocations: 61.64 kB / 0.6632 GB, free: 14.65 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.828e-06/0.463, allocations: 3.953 kB / 0.6632 GB, free: 14.64 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.463, allocations: 4 kB / 0.6632 GB, free: 14.64 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.463, allocations: 0 / 0.6632 GB, free: 14.64 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001513/0.4631, allocations: 165.7 kB / 0.6634 GB, free: 14.43 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.4631, allocations: 0 / 0.6634 GB, free: 14.43 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.208e-05/0.4632, allocations: 17.58 kB / 0.6634 GB, free: 14.41 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.4632, allocations: 0 / 0.6634 GB, free: 14.41 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.778e-06/0.4633, allocations: 4 kB / 0.6634 GB, free: 14.41 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.4633, allocations: 0 / 0.6634 GB, free: 14.41 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.4633, allocations: 3.953 kB / 0.6634 GB, free: 14.41 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001252/0.4634, allocations: 147.5 kB / 0.6635 GB, free: 14.25 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.313e-05/0.4634, allocations: 81.02 kB / 0.6636 GB, free: 14.15 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.733e-05/0.4635, allocations: 7.984 kB / 0.6636 GB, free: 14.14 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.751e-05/0.4636, allocations: 12 kB / 0.6636 GB, free: 14.13 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.863e-05/0.4636, allocations: 11.94 kB / 0.6636 GB, free: 14.12 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.051e-06/0.4636, allocations: 4 kB / 0.6636 GB, free: 14.11 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.151e-05/0.4637, allocations: 86.7 kB / 0.6637 GB, free: 14.03 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4637, allocations: 0 / 0.6637 GB, free: 14.03 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002116/0.4639, allocations: 19.94 kB / 0.6637 GB, free: 14.01 MB / 490.7 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 (falFac.y,falFac.k) * Number of discrete 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.0004536/0.4644, allocations: 0.7009 MB / 0.6644 GB, free: 13.29 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 9.356e-05/0.4645, allocations: 23.98 kB / 0.6644 GB, free: 13.26 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4645, allocations: 0 / 0.6644 GB, free: 13.26 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.273e-05/0.4645, allocations: 13.78 kB / 0.6644 GB, free: 13.25 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001729/0.4647, allocations: 4 kB / 0.6645 GB, free: 13.25 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003887/0.4651, allocations: 118.5 kB / 0.6646 GB, free: 13.09 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001973/0.4653, allocations: 0.6848 MB / 0.6652 GB, free: 12.38 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.797e-05/0.4654, allocations: 7.844 kB / 0.6652 GB, free: 12.38 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.088e-05/0.4654, allocations: 15.44 kB / 0.6653 GB, free: 12.36 MB / 490.7 MB Notification: Performance of SimCode: time 3e-07/0.4654, allocations: 0 / 0.6653 GB, free: 12.36 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01276/0.4782, allocations: 1.369 MB / 0.6666 GB, free: 11.14 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001997/0.4784, allocations: 147.8 kB / 0.6667 GB, free: 10.92 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.317/1.796, allocations: 0 / 0.6667 GB, free: 10.92 MB / 490.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_FallingFactorial_fmu --startTime=0 --stopTime=11 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_FallingFactorial.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.pipe 2>&1)