Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.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: "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007028/0.0007029, allocations: 88.17 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007414/0.0007414, allocations: 172.9 kB / 16.58 MB, free: 6.852 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.167/1.167, allocations: 223.2 MB / 240.6 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5961/0.5961, allocations: 113.7 MB / 405.4 MB, free: 4.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002786/0.0002786, allocations: 12 kB / 493.2 MB, free: 8.551 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1201, allocations: 77.11 MB / 0.5569 GB, free: 11.64 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.FallingFactorial): time 0.0005194/0.1207, allocations: 299.1 kB / 0.5572 GB, free: 11.35 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001925/0.1209, allocations: 51.83 kB / 0.5572 GB, free: 11.3 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.248e-05/0.1209, allocations: 3.938 kB / 0.5572 GB, free: 11.29 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.742e-05/0.1209, allocations: 0 / 0.5572 GB, free: 11.29 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.779e-06/0.1209, allocations: 0 / 0.5572 GB, free: 11.29 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001729/0.1211, allocations: 12 kB / 0.5573 GB, free: 11.28 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.681e-05/0.1212, allocations: 35.95 kB / 0.5573 GB, free: 11.25 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.08e-05/0.1212, allocations: 0 / 0.5573 GB, free: 11.25 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.626e-05/0.1212, allocations: 8 kB / 0.5573 GB, free: 11.24 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.721e-05/0.1213, allocations: 19.91 kB / 0.5573 GB, free: 11.22 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.769e-06/0.1213, allocations: 0 / 0.5573 GB, free: 11.22 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.516e-05/0.1213, allocations: 15.98 kB / 0.5573 GB, free: 11.2 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.676e-05/0.1214, allocations: 8 kB / 0.5573 GB, free: 11.2 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.348e-05/0.1214, allocations: 25.7 kB / 0.5574 GB, free: 11.16 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 5.487e-05/0.1215, allocations: 27.95 kB / 0.5574 GB, free: 11.14 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.1215, allocations: 0 / 0.5574 GB, free: 11.14 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1215, allocations: 4 kB / 0.5574 GB, free: 11.13 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.705e-06/0.1215, allocations: 4 kB / 0.5574 GB, free: 11.13 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0002231/0.1217, allocations: 323.4 kB / 0.5577 GB, free: 10.77 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.95e-05/0.1217, allocations: 8.031 kB / 0.5577 GB, free: 10.76 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.417e-05/0.1218, allocations: 34.5 kB / 0.5578 GB, free: 10.71 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.208e-05/0.1218, allocations: 11.89 kB / 0.5578 GB, free: 10.7 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.888e-05/0.1219, allocations: 167.2 kB / 0.5579 GB, free: 10.5 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.1219, allocations: 8 kB / 0.5579 GB, free: 10.49 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.198e-06/0.1219, allocations: 4 kB / 0.5579 GB, free: 10.49 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001081/0.122, allocations: 65.62 kB / 0.558 GB, free: 10.42 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.861e-06/0.122, allocations: 3.938 kB / 0.558 GB, free: 10.41 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.201e-06/0.1221, allocations: 0 / 0.558 GB, free: 10.41 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.386e-06/0.1221, allocations: 0 / 0.558 GB, free: 10.41 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001231/0.1222, allocations: 103.9 kB / 0.5581 GB, free: 10.31 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001297/0.1223, allocations: 177.6 kB / 0.5583 GB, free: 10.09 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.141e-05/0.1224, allocations: 71.53 kB / 0.5583 GB, free: 10.01 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.748e-05/0.1225, allocations: 28.84 kB / 0.5584 GB, free: 9.98 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002467/0.1227, allocations: 401.5 kB / 0.5587 GB, free: 9.496 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.013e-05/0.1228, allocations: 42.55 kB / 0.5588 GB, free: 9.445 MB / 430.1 MB Notification: Performance of pre-optimization done (n=11): time 1.002e-06/0.1228, allocations: 0 / 0.5588 GB, free: 9.445 MB / 430.1 MB Notification: Performance of matching and sorting (n=11): time 0.0001995/0.123, allocations: 123.5 kB / 0.5589 GB, free: 9.32 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.513e-05/0.123, allocations: 51.41 kB / 0.559 GB, free: 9.258 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.637e-05/0.123, allocations: 93.86 kB / 0.559 GB, free: 9.156 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.788e-06/0.1231, allocations: 25.7 kB / 0.5591 GB, free: 9.125 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.977e-05/0.1231, allocations: 80.33 kB / 0.5591 GB, free: 9.039 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.233e-05/0.1231, allocations: 35.62 kB / 0.5592 GB, free: 9.004 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.637e-06/0.1231, allocations: 4 kB / 0.5592 GB, free: 9 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.178e-05/0.1232, allocations: 314.8 kB / 0.5595 GB, free: 8.684 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.199e-05/0.1232, allocations: 19.98 kB / 0.5595 GB, free: 8.664 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.826e-05/0.1233, allocations: 19.98 kB / 0.5595 GB, free: 8.645 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.501e-05/0.1233, allocations: 27.98 kB / 0.5595 GB, free: 8.617 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.1233, allocations: 0 / 0.5595 GB, free: 8.617 MB / 430.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001138/0.1235, allocations: 92.39 kB / 0.5596 GB, free: 8.523 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.277e-06/0.1235, allocations: 8 kB / 0.5596 GB, free: 8.516 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.085e-06/0.1235, allocations: 0 / 0.5596 GB, free: 8.516 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.306e-06/0.1235, allocations: 4 kB / 0.5596 GB, free: 8.512 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.789e-05/0.1236, allocations: 23.94 kB / 0.5597 GB, free: 8.488 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/0.1236, allocations: 0 / 0.5597 GB, free: 8.488 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.875e-05/0.1236, allocations: 7.906 kB / 0.5597 GB, free: 8.48 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-06/0.1236, allocations: 4 kB / 0.5597 GB, free: 8.477 MB / 430.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: 11 (falFac[1],falFac[2],falFac[3],falFac[4],falFac[5],falFac[6],falFac[7],falFac[8],falFac[9],falFac[10],n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 9.797e-05/0.1237, allocations: 122.5 kB / 0.5598 GB, free: 8.348 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.007e-05/0.1237, allocations: 7.984 kB / 0.5598 GB, free: 8.34 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001852/0.1239, allocations: 133.5 kB / 0.5599 GB, free: 8.203 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.1239, allocations: 3.938 kB / 0.5599 GB, free: 8.199 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.124, allocations: 3.953 kB / 0.5599 GB, free: 8.195 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.124, allocations: 3.984 kB / 0.5599 GB, free: 8.191 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.562e-05/0.1241, allocations: 165.7 kB / 0.5601 GB, free: 7.98 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1241, allocations: 4 kB / 0.5601 GB, free: 7.977 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.184e-05/0.1241, allocations: 15.98 kB / 0.5601 GB, free: 7.961 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.1241, allocations: 4 kB / 0.5601 GB, free: 7.957 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.1242, allocations: 0 / 0.5601 GB, free: 7.957 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1242, allocations: 4 kB / 0.5601 GB, free: 7.953 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.1242, allocations: 4 kB / 0.5601 GB, free: 7.949 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001305/0.1243, allocations: 133.2 kB / 0.5603 GB, free: 7.801 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.475e-05/0.1243, allocations: 85.05 kB / 0.5603 GB, free: 7.699 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.527e-06/0.1244, allocations: 0 / 0.5603 GB, free: 7.699 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.335e-05/0.1244, allocations: 0 / 0.5603 GB, free: 7.699 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.407e-05/0.1244, allocations: 11.98 kB / 0.5604 GB, free: 7.688 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.1244, allocations: 8 kB / 0.5604 GB, free: 7.68 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.206e-05/0.1244, allocations: 77.34 kB / 0.5604 GB, free: 7.605 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1245, allocations: 0 / 0.5604 GB, free: 7.605 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001802/0.1246, allocations: 19.95 kB / 0.5605 GB, free: 7.586 MB / 430.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: 11 (falFac[1],falFac[2],falFac[3],falFac[4],falFac[5],falFac[6],falFac[7],falFac[8],falFac[9],falFac[10],n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0004178/0.1251, allocations: 0.6786 MB / 0.5611 GB, free: 6.883 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001131/0.1252, allocations: 55.91 kB / 0.5612 GB, free: 6.828 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.293e-06/0.1252, allocations: 0 / 0.5612 GB, free: 6.828 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 4.736e-05/0.1252, allocations: 39.91 kB / 0.5612 GB, free: 6.789 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001268/0.1254, allocations: 4 kB / 0.5612 GB, free: 6.785 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003067/0.1257, allocations: 180.3 kB / 0.5614 GB, free: 6.57 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002243/0.1259, allocations: 0.6888 MB / 0.5621 GB, free: 5.855 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.43e-05/0.126, allocations: 35.95 kB / 0.5621 GB, free: 5.82 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.033e-05/0.126, allocations: 15.44 kB / 0.5621 GB, free: 5.805 MB / 430.1 MB Notification: Performance of SimCode: time 2.1e-07/0.126, allocations: 0 / 0.5621 GB, free: 5.805 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009967/0.136, allocations: 1.332 MB / 0.5634 GB, free: 4.605 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001875/0.1362, allocations: 195.2 kB / 0.5636 GB, free: 4.367 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.423/1.56, allocations: 0 / 0.5636 GB, free: 4.367 MB / 430.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_FallingFactorial_fmu --startTime=0 --stopTime=13.9 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_FallingFactorial.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) Environment - environmentSimulation: