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.001122/0.001122, allocations: 108 kB / 15.61 MB, free: 152 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.001172/0.001172, allocations: 196.9 kB / 16.53 MB, free: 6.664 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.31/1.31, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.8987/0.8987, allocations: 143 MB / 433.4 MB, free: 11.51 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 67.89 kB / 0.5143 GB, free: 11.59 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.1373, allocations: 82.03 MB / 0.5944 GB, free: 9.512 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001573/0.1389, allocations: 0.5721 MB / 0.595 GB, free: 8.938 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002311/0.1391, allocations: 67.7 kB / 0.595 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.548e-05/0.1392, allocations: 0 / 0.595 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.243e-05/0.1392, allocations: 0 / 0.595 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.368e-06/0.1392, allocations: 4 kB / 0.595 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002292/0.1394, allocations: 19.92 kB / 0.5951 GB, free: 8.848 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.92e-05/0.1395, allocations: 35.95 kB / 0.5951 GB, free: 8.812 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.811e-05/0.1396, allocations: 0 / 0.5951 GB, free: 8.812 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.476e-05/0.1396, allocations: 8 kB / 0.5951 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.638e-05/0.1396, allocations: 19.91 kB / 0.5951 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.186e-05/0.1396, allocations: 4 kB / 0.5951 GB, free: 8.781 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.518e-05/0.1397, allocations: 12 kB / 0.5951 GB, free: 8.77 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.219e-05/0.1397, allocations: 15.98 kB / 0.5951 GB, free: 8.754 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.726e-05/0.1398, allocations: 11.92 kB / 0.5952 GB, free: 8.742 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 7.875e-05/0.1398, allocations: 31.89 kB / 0.5952 GB, free: 8.711 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.1398, allocations: 0 / 0.5952 GB, free: 8.711 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.152e-06/0.1399, allocations: 0 / 0.5952 GB, free: 8.711 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.1399, allocations: 4 kB / 0.5952 GB, free: 8.707 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.0002942/0.1402, allocations: 339.6 kB / 0.5955 GB, free: 8.324 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.112e-05/0.1402, allocations: 8.031 kB / 0.5955 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.412e-05/0.1402, allocations: 38.69 kB / 0.5956 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.375e-05/0.1403, allocations: 12.84 kB / 0.5956 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.211e-05/0.1403, allocations: 164.6 kB / 0.5957 GB, free: 8.059 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.1404, allocations: 8.312 kB / 0.5957 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.007e-06/0.1404, allocations: 4.375 kB / 0.5957 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001232/0.1405, allocations: 62.22 kB / 0.5958 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.1405, allocations: 3.938 kB / 0.5958 GB, free: 7.977 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.416e-06/0.1405, allocations: 4 kB / 0.5958 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.1405, allocations: 4 kB / 0.5958 GB, free: 7.969 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001188/0.1407, allocations: 103.8 kB / 0.5959 GB, free: 7.867 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001422/0.1408, allocations: 169.7 kB / 0.5961 GB, free: 7.652 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.285e-05/0.1409, allocations: 74.53 kB / 0.5961 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.988e-05/0.141, allocations: 28.84 kB / 0.5962 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000295/0.1413, allocations: 401.5 kB / 0.5966 GB, free: 7.055 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.681e-05/0.1413, allocations: 30.89 kB / 0.5966 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=11): time 1.001e-06/0.1413, allocations: 0 / 0.5966 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.0002136/0.1415, allocations: 121.4 kB / 0.5967 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.152e-05/0.1416, allocations: 63.39 kB / 0.5968 GB, free: 6.816 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.347e-05/0.1416, allocations: 97.8 kB / 0.5968 GB, free: 6.711 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.248e-05/0.1416, allocations: 25.7 kB / 0.5969 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.512e-05/0.1416, allocations: 84.14 kB / 0.597 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.209e-05/0.1417, allocations: 19.66 kB / 0.597 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.861e-05/0.1417, allocations: 33.7 kB / 0.597 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.973e-05/0.1418, allocations: 314.8 kB / 0.5973 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.264e-05/0.1419, allocations: 19.98 kB / 0.5973 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.252e-05/0.1419, allocations: 27.92 kB / 0.5974 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.042e-05/0.142, allocations: 57.48 kB / 0.5974 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.142, allocations: 4 kB / 0.5974 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001253/0.1421, allocations: 97.55 kB / 0.5975 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.1421, allocations: 15.92 kB / 0.5975 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.416e-06/0.1421, allocations: 0 / 0.5975 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.1422, allocations: 0 / 0.5975 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.319e-05/0.1422, allocations: 19.94 kB / 0.5975 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.1423, allocations: 0 / 0.5975 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.721e-05/0.1423, allocations: 3.906 kB / 0.5975 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.1423, allocations: 7.984 kB / 0.5975 GB, free: 5.961 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 0.0001025/0.1424, allocations: 129.8 kB / 0.5977 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.09e-05/0.1424, allocations: 3.938 kB / 0.5977 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001814/0.1426, allocations: 129.4 kB / 0.5978 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.1426, allocations: 0 / 0.5978 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.798e-06/0.1426, allocations: 0 / 0.5978 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.1426, allocations: 4 kB / 0.5978 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001143/0.1427, allocations: 177.6 kB / 0.598 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.1427, allocations: 0 / 0.598 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.883e-05/0.1428, allocations: 12 kB / 0.598 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.788e-06/0.1428, allocations: 15.86 kB / 0.598 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.694e-06/0.1428, allocations: 3.984 kB / 0.598 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.123e-06/0.1428, allocations: 0 / 0.598 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.1428, allocations: 0 / 0.598 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001351/0.143, allocations: 117 kB / 0.5981 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.01e-05/0.143, allocations: 96.88 kB / 0.5982 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.229e-05/0.143, allocations: 4 kB / 0.5982 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.326e-05/0.1431, allocations: 4 kB / 0.5982 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.356e-05/0.1431, allocations: 4 kB / 0.5982 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.024e-06/0.1431, allocations: 7.984 kB / 0.5982 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.17e-05/0.1431, allocations: 75.28 kB / 0.5983 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1431, allocations: 4 kB / 0.5983 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001754/0.1433, allocations: 8 kB / 0.5983 GB, free: 5.074 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.0004248/0.1437, allocations: 0.6775 MB / 0.599 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000129/0.1439, allocations: 75.89 kB / 0.599 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.1439, allocations: 0 / 0.599 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.585e-05/0.1439, allocations: 35.86 kB / 0.5991 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001187/0.1441, allocations: 11.06 kB / 0.5991 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003169/0.1444, allocations: 182.5 kB / 0.5993 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002169/0.1446, allocations: 0.6846 MB / 0.5999 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.768e-05/0.1447, allocations: 39.92 kB / 0.6 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.827e-05/0.1447, allocations: 15.44 kB / 0.6 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.1447, allocations: 4 kB / 0.6 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.937/2.082, allocations: 1.562 MB / 0.6015 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.677/9.759, allocations: 8.922 kB / 0.6015 GB, free: 1.816 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)