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.001448/0.001448, allocations: 176.7 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5312/0.5312, allocations: 90.91 MB / 99.34 MB, free: 2.199 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.577/1.577, allocations: 221.5 MB / 343.2 MB, free: 1.582 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009963/0.0009966, allocations: 95.2 kB / 415.9 MB, free: 11.18 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.738e-05/2.739e-05, allocations: 4 kB / 494.6 MB, free: 52.32 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1695/0.1695, allocations: 72.32 MB / 0.5536 GB, free: 12.2 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5419/0.7115, allocations: 101.2 MB / 0.6524 GB, free: 8.832 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002439/0.7118, allocations: 66.47 kB / 0.6525 GB, free: 8.797 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003133/0.715, allocations: 1.058 MB / 0.6535 GB, free: 7.867 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.715, allocations: 0 / 0.6535 GB, free: 7.867 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.153e-06/0.715, allocations: 0 / 0.6535 GB, free: 7.867 MB / 458.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.0004051/0.7154, allocations: 358.1 kB / 0.6539 GB, free: 7.477 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/0.7155, allocations: 8.031 kB / 0.6539 GB, free: 7.469 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.676e-05/0.7155, allocations: 11.95 kB / 0.6539 GB, free: 7.457 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000136/0.7157, allocations: 163 kB / 0.654 GB, free: 7.258 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.736e-05/0.7157, allocations: 3.984 kB / 0.654 GB, free: 7.254 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.2e-05/0.7157, allocations: 8.734 kB / 0.6541 GB, free: 7.246 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.408e-05/0.7158, allocations: 19.25 kB / 0.6541 GB, free: 7.234 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.224e-05/0.7159, allocations: 41.12 kB / 0.6541 GB, free: 7.191 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.7159, allocations: 0 / 0.6541 GB, free: 7.191 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.7159, allocations: 0 / 0.6541 GB, free: 7.191 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.716, allocations: 7.953 kB / 0.6541 GB, free: 7.184 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004074/0.7164, allocations: 265.5 kB / 0.6544 GB, free: 6.902 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002258/0.7166, allocations: 40.44 kB / 0.6544 GB, free: 6.859 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.399e-05/0.7167, allocations: 20.88 kB / 0.6544 GB, free: 6.84 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000303/0.717, allocations: 397.5 kB / 0.6548 GB, free: 6.359 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.717, allocations: 34.56 kB / 0.6548 GB, free: 6.316 MB / 458.7 MB Notification: Performance of pre-optimization done (n=3): time 1.523e-06/0.717, allocations: 0 / 0.6548 GB, free: 6.316 MB / 458.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002577/0.7173, allocations: 51.33 kB / 0.6549 GB, free: 6.266 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.923e-05/0.7173, allocations: 59.34 kB / 0.655 GB, free: 6.195 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.94e-05/0.7174, allocations: 99.41 kB / 0.655 GB, free: 6.098 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.654e-05/0.7174, allocations: 25.7 kB / 0.6551 GB, free: 6.066 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.302e-05/0.7175, allocations: 91.31 kB / 0.6552 GB, free: 5.977 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.655e-05/0.7175, allocations: 3.906 kB / 0.6552 GB, free: 5.973 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.619e-06/0.7175, allocations: 0 / 0.6552 GB, free: 5.973 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.837e-05/0.7176, allocations: 318.3 kB / 0.6555 GB, free: 5.656 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.099e-05/0.7176, allocations: 7.062 kB / 0.6555 GB, free: 5.652 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.527e-05/0.7177, allocations: 7.125 kB / 0.6555 GB, free: 5.648 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.757e-05/0.7177, allocations: 7.984 kB / 0.6555 GB, free: 5.641 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.7177, allocations: 0 / 0.6555 GB, free: 5.641 MB / 458.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.468e-05/0.7178, allocations: 51.88 kB / 0.6555 GB, free: 5.59 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/0.7179, allocations: 4 kB / 0.6555 GB, free: 5.586 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.7179, allocations: 0 / 0.6555 GB, free: 5.586 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.7179, allocations: 0 / 0.6555 GB, free: 5.586 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.452e-05/0.718, allocations: 19.98 kB / 0.6556 GB, free: 5.566 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/0.718, allocations: 3.953 kB / 0.6556 GB, free: 5.562 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.857e-05/0.7181, allocations: 15.92 kB / 0.6556 GB, free: 5.547 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.7181, allocations: 3.938 kB / 0.6556 GB, free: 5.543 MB / 458.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 7.515e-05/0.7182, allocations: 101 kB / 0.6557 GB, free: 5.438 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001099/0.7183, allocations: 56.03 kB / 0.6557 GB, free: 5.383 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.048e-05/0.7183, allocations: 0 / 0.6557 GB, free: 5.383 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000146/0.7185, allocations: 60.55 kB / 0.6558 GB, free: 5.32 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/0.7185, allocations: 7.984 kB / 0.6558 GB, free: 5.312 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.7185, allocations: 0 / 0.6558 GB, free: 5.312 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.7185, allocations: 4.031 kB / 0.6558 GB, free: 5.309 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001452/0.7187, allocations: 140.5 kB / 0.6559 GB, free: 5.141 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.7187, allocations: 3.984 kB / 0.6559 GB, free: 5.137 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.785e-05/0.7188, allocations: 12 kB / 0.656 GB, free: 5.125 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.7188, allocations: 0 / 0.656 GB, free: 5.125 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.7188, allocations: 3.984 kB / 0.656 GB, free: 5.121 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.7188, allocations: 4 kB / 0.656 GB, free: 5.117 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/0.7188, allocations: 7.953 kB / 0.656 GB, free: 5.109 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001418/0.7189, allocations: 145.5 kB / 0.6561 GB, free: 4.961 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.831e-05/0.719, allocations: 81.11 kB / 0.6562 GB, free: 4.863 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.596e-05/0.719, allocations: 0 / 0.6562 GB, free: 4.863 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001183/0.7191, allocations: 7.984 kB / 0.6562 GB, free: 4.855 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.917e-05/0.7192, allocations: 11.92 kB / 0.6562 GB, free: 4.844 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.744e-06/0.7192, allocations: 10.83 kB / 0.6562 GB, free: 4.836 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.461e-05/0.7193, allocations: 82.66 kB / 0.6563 GB, free: 4.758 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.7193, allocations: 0 / 0.6563 GB, free: 4.758 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002277/0.7195, allocations: 19.88 kB / 0.6563 GB, free: 4.738 MB / 458.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.0004686/0.72, allocations: 0.6866 MB / 0.657 GB, free: 4.035 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 8.706e-05/0.7201, allocations: 19.38 kB / 0.657 GB, free: 4.02 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.7201, allocations: 0 / 0.657 GB, free: 4.02 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 2.915e-05/0.7201, allocations: 19.48 kB / 0.657 GB, free: 4.004 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001829/0.7203, allocations: 12.3 kB / 0.657 GB, free: 3.996 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003852/0.7207, allocations: 97.22 kB / 0.6571 GB, free: 3.867 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002913/0.721, allocations: 0.6846 MB / 0.6578 GB, free: 3.156 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.9e-05/0.7211, allocations: 11.95 kB / 0.6578 GB, free: 3.145 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.379e-05/0.7211, allocations: 14.61 kB / 0.6578 GB, free: 3.133 MB / 458.7 MB Notification: Performance of SimCode: time 2.8e-07/0.7211, allocations: 0 / 0.6578 GB, free: 3.133 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02173/0.7428, allocations: 1.01 MB / 0.6588 GB, free: 2.133 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002485/0.7432, allocations: 135.1 kB / 0.6589 GB, free: 1.941 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.548/2.291, allocations: 0 / 0.6589 GB, free: 1.941 MB / 458.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)