Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="BuildSysPro_BuildSysPro_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.001235/0.001235, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001304/0.001304, allocations: 196.6 kB / 16.14 MB, free: 6.688 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.286/1.286, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9131/0.9131, allocations: 143 MB / 433 MB, free: 11.5 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 64.14 kB / 0.5136 GB, free: 12.01 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.1339, allocations: 82.04 MB / 0.5937 GB, free: 9.93 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001514/0.1354, allocations: 0.6427 MB / 0.5944 GB, free: 9.281 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002446/0.1357, allocations: 59.83 kB / 0.5944 GB, free: 9.223 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.286e-05/0.1357, allocations: 0 / 0.5944 GB, free: 9.223 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.3e-05/0.1357, allocations: 3.938 kB / 0.5944 GB, free: 9.219 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.398e-06/0.1357, allocations: 0 / 0.5944 GB, free: 9.219 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001897/0.1359, allocations: 15.98 kB / 0.5944 GB, free: 9.203 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.28e-05/0.136, allocations: 27.97 kB / 0.5945 GB, free: 9.176 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.242e-05/0.136, allocations: 4 kB / 0.5945 GB, free: 9.172 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.818e-05/0.1361, allocations: 15.92 kB / 0.5945 GB, free: 9.156 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.144e-05/0.1361, allocations: 7.984 kB / 0.5945 GB, free: 9.148 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.052e-05/0.1361, allocations: 4 kB / 0.5945 GB, free: 9.145 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.922e-05/0.1362, allocations: 19.98 kB / 0.5945 GB, free: 9.125 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.182e-05/0.1362, allocations: 8 kB / 0.5945 GB, free: 9.117 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.805e-05/0.1362, allocations: 15.92 kB / 0.5945 GB, free: 9.102 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 7.671e-05/0.1363, allocations: 31.89 kB / 0.5946 GB, free: 9.07 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.1363, allocations: 0 / 0.5946 GB, free: 9.07 MB / 0.4981 GB Notification: Performance of FrontEnd: time 5.81e-07/0.1363, allocations: 0 / 0.5946 GB, free: 9.07 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.958e-06/0.1363, allocations: 0 / 0.5946 GB, free: 9.07 MB / 0.4981 GB 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.0002608/0.1366, allocations: 343.5 kB / 0.5949 GB, free: 8.684 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.02e-05/0.1366, allocations: 8.031 kB / 0.5949 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.323e-05/0.1367, allocations: 42.73 kB / 0.5949 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.352e-05/0.1367, allocations: 8.844 kB / 0.595 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.825e-05/0.1368, allocations: 168.5 kB / 0.5951 GB, free: 8.414 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/0.1368, allocations: 4.375 kB / 0.5951 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.04e-05/0.1368, allocations: 8.375 kB / 0.5951 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001201/0.1369, allocations: 66.22 kB / 0.5952 GB, free: 8.332 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.1369, allocations: 3.938 kB / 0.5952 GB, free: 8.328 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.883e-06/0.137, allocations: 0 / 0.5952 GB, free: 8.328 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.137, allocations: 0 / 0.5952 GB, free: 8.328 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001192/0.1371, allocations: 99.88 kB / 0.5953 GB, free: 8.23 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001421/0.1372, allocations: 177.6 kB / 0.5955 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.679e-05/0.1373, allocations: 74.59 kB / 0.5955 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.285e-05/0.1374, allocations: 37 kB / 0.5956 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003104/0.1377, allocations: 401.5 kB / 0.5959 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.792e-05/0.1377, allocations: 30.56 kB / 0.596 GB, free: 7.363 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=11): time 1.032e-06/0.1377, allocations: 0 / 0.596 GB, free: 7.363 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.0002111/0.1379, allocations: 121.4 kB / 0.5961 GB, free: 7.238 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.136e-05/0.138, allocations: 59.41 kB / 0.5961 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.878e-05/0.1381, allocations: 89.86 kB / 0.5962 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.531e-05/0.1381, allocations: 29.7 kB / 0.5963 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.765e-05/0.1381, allocations: 84.12 kB / 0.5963 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.143e-05/0.1382, allocations: 23.66 kB / 0.5964 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.114e-05/0.1382, allocations: 37.64 kB / 0.5964 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.1383, allocations: 310.8 kB / 0.5967 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.422e-05/0.1384, allocations: 19.98 kB / 0.5967 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.251e-05/0.1384, allocations: 27.98 kB / 0.5967 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.351e-05/0.1385, allocations: 61.42 kB / 0.5968 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.1385, allocations: 0 / 0.5968 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001419/0.1386, allocations: 93.55 kB / 0.5969 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.1387, allocations: 14.28 kB / 0.5969 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.1387, allocations: 0 / 0.5969 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.255e-06/0.1387, allocations: 0 / 0.5969 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.614e-05/0.1388, allocations: 19.98 kB / 0.5969 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.834e-06/0.1388, allocations: 3.984 kB / 0.5969 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.957e-05/0.1388, allocations: 7.906 kB / 0.5969 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.1388, allocations: 12 kB / 0.5969 GB, free: 6.309 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 (n,falFac[10],falFac[9],falFac[8],falFac[7],falFac[6],falFac[5],falFac[4],falFac[3],falFac[2],falFac[1]) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.913e-05/0.1389, allocations: 123.6 kB / 0.5971 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.109e-05/0.1389, allocations: 7.875 kB / 0.5971 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001859/0.1391, allocations: 129.4 kB / 0.5972 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.1391, allocations: 0 / 0.5972 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.1391, allocations: 0 / 0.5972 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.1392, allocations: 4 kB / 0.5972 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001071/0.1393, allocations: 177.6 kB / 0.5974 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1393, allocations: 4 kB / 0.5974 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.044e-05/0.1393, allocations: 15.98 kB / 0.5974 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.1393, allocations: 7.938 kB / 0.5974 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.1394, allocations: 4 kB / 0.5974 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.1394, allocations: 0 / 0.5974 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1394, allocations: 0 / 0.5974 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000137/0.1395, allocations: 125 kB / 0.5975 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.149e-05/0.1395, allocations: 92.88 kB / 0.5976 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.096e-05/0.1396, allocations: 0 / 0.5976 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.492e-05/0.1396, allocations: 4 kB / 0.5976 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.656e-05/0.1396, allocations: 11.98 kB / 0.5976 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/0.1397, allocations: 0 / 0.5976 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.197e-05/0.1397, allocations: 75.28 kB / 0.5977 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1397, allocations: 0 / 0.5977 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00018/0.1399, allocations: 16 kB / 0.5977 GB, free: 5.422 MB / 0.4981 GB 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 (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.0004403/0.1403, allocations: 0.6748 MB / 0.5984 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001119/0.1404, allocations: 59.91 kB / 0.5984 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.153e-06/0.1404, allocations: 0 / 0.5984 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.617e-05/0.1405, allocations: 36.58 kB / 0.5985 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001214/0.1406, allocations: 11.98 kB / 0.5985 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003047/0.1409, allocations: 180.5 kB / 0.5986 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002698/0.1412, allocations: 0.6848 MB / 0.5993 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.722e-05/0.1413, allocations: 31.95 kB / 0.5993 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.91e-05/0.1413, allocations: 19.42 kB / 0.5994 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.1413, allocations: 4 kB / 0.5994 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.505/0.6463, allocations: 1.442 MB / 0.6008 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002322/0.6466, allocations: 222.3 kB / 0.601 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.944/2.59, allocations: 0 / 0.601 GB, free: 2.074 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_FallingFactorial_fmu --startTime=0 --stopTime=13.9 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_FallingFactorial.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1)