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.006912/0.006912, allocations: 99.31 kB / 15.73 MB, free: 6.047 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.00125/0.00125, allocations: 187.4 kB / 16.67 MB, free: 5.977 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.358/1.358, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.985/0.985, allocations: 143 MB / 433.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 63.91 kB / 0.5951 GB, free: 8.844 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3879/0.3892, allocations: 82.03 MB / 0.6752 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001725/0.3909, allocations: 0.5842 MB / 0.6758 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002951/0.3912, allocations: 58.78 kB / 0.6758 GB, free: 0.6992 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.037e-05/0.3913, allocations: 0 / 0.6758 GB, free: 0.6992 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.962e-05/0.3914, allocations: 0 / 0.6758 GB, free: 0.6992 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.112e-06/0.3914, allocations: 0 / 0.6758 GB, free: 0.6992 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000301/0.3917, allocations: 14.31 kB / 0.6758 GB, free: 0.6914 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.903e-05/0.3918, allocations: 28.42 kB / 0.6759 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.081e-05/0.3918, allocations: 1.25 kB / 0.6759 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.567e-05/0.3919, allocations: 26.38 kB / 0.6759 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.207e-05/0.3919, allocations: 5.25 kB / 0.6759 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.324e-05/0.3919, allocations: 9.25 kB / 0.6759 GB, free: 0.6523 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.268e-05/0.392, allocations: 21.08 kB / 0.6759 GB, free: 0.6406 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.998e-05/0.3921, allocations: 16.44 kB / 0.6759 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.463e-05/0.3921, allocations: 12.62 kB / 0.676 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001098/0.3922, allocations: 32.7 kB / 0.676 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3922, allocations: 0 / 0.676 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3922, allocations: 0 / 0.676 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.3922, allocations: 0 / 0.676 GB, free: 0.6016 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.0002771/0.3925, allocations: 336.8 kB / 0.6763 GB, free: 240 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.3926, allocations: 9.312 kB / 0.6763 GB, free: 240 kB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.09e-05/0.3926, allocations: 37.16 kB / 0.6764 GB, free: 196 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.152e-05/0.3926, allocations: 7 kB / 0.6764 GB, free: 192 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.656e-05/0.3927, allocations: 163.7 kB / 0.6765 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.3927, allocations: 2.812 kB / 0.6765 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.747e-05/0.3928, allocations: 6.656 kB / 0.6765 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001514/0.3929, allocations: 71.69 kB / 0.6766 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.3929, allocations: 3.938 kB / 0.6766 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.393, allocations: 8.984 kB / 0.6766 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.393, allocations: 1.188 kB / 0.6766 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001538/0.3931, allocations: 102.3 kB / 0.6767 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000165/0.3933, allocations: 170 kB / 0.6769 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001057/0.3934, allocations: 70.61 kB / 0.6769 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.386e-05/0.3935, allocations: 32.12 kB / 0.677 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002994/0.3938, allocations: 406.3 kB / 0.6774 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.602e-05/0.3938, allocations: 42.5 kB / 0.6774 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=11): time 1.533e-06/0.3938, allocations: 1.094 kB / 0.6774 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11): time 0.0002414/0.3941, allocations: 118 kB / 0.6775 GB, free: 15 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.89e-05/0.3941, allocations: 52.75 kB / 0.6776 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.025e-05/0.3941, allocations: 99.19 kB / 0.6777 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.217e-05/0.3942, allocations: 25.7 kB / 0.6777 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 2.089e-05/0.3942, allocations: 81.42 kB / 0.6778 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.309e-05/0.3942, allocations: 19.81 kB / 0.6778 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.097e-05/0.3943, allocations: 31.8 kB / 0.6778 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.211e-05/0.3944, allocations: 316.1 kB / 0.6781 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.816e-05/0.3944, allocations: 19.86 kB / 0.6781 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.559e-05/0.3944, allocations: 25.03 kB / 0.6781 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.355e-05/0.3945, allocations: 71.61 kB / 0.6782 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.3946, allocations: 1.5 kB / 0.6782 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001306/0.3947, allocations: 84.11 kB / 0.6783 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.3947, allocations: 9.25 kB / 0.6783 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.3947, allocations: 0 / 0.6783 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.834e-05/0.3947, allocations: 5.078 kB / 0.6783 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.71e-05/0.3948, allocations: 18.94 kB / 0.6783 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.3949, allocations: 5 kB / 0.6783 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.465e-05/0.3949, allocations: 12.72 kB / 0.6783 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.3949, allocations: 6.797 kB / 0.6784 GB, free: 14.22 MB / 0.5137 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.0001044/0.395, allocations: 121.7 kB / 0.6785 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.612e-05/0.395, allocations: 6.062 kB / 0.6785 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002033/0.3952, allocations: 115.2 kB / 0.6786 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.3953, allocations: 9.234 kB / 0.6786 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.3953, allocations: 0 / 0.6786 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.3953, allocations: 5.375 kB / 0.6786 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001424/0.3954, allocations: 178.4 kB / 0.6788 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.3954, allocations: 3.938 kB / 0.6788 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.003e-05/0.3955, allocations: 19.77 kB / 0.6788 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.3955, allocations: 3.938 kB / 0.6788 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.3955, allocations: 6.188 kB / 0.6788 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.3955, allocations: 0 / 0.6788 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.3956, allocations: 4.984 kB / 0.6788 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000153/0.3957, allocations: 117.7 kB / 0.6789 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.321e-05/0.3958, allocations: 87.3 kB / 0.679 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.424e-05/0.3958, allocations: 5.047 kB / 0.679 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.671e-05/0.3958, allocations: 5 kB / 0.679 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.464e-05/0.3958, allocations: 7.688 kB / 0.679 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.664e-06/0.3958, allocations: 7.109 kB / 0.679 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 2.265e-05/0.3959, allocations: 75.28 kB / 0.6791 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3959, allocations: 0 / 0.6791 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002101/0.3961, allocations: 23.41 kB / 0.6791 GB, free: 13.48 MB / 0.5137 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.0004743/0.3966, allocations: 0.6716 MB / 0.6798 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001328/0.3967, allocations: 58.59 kB / 0.6798 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.3967, allocations: 4 kB / 0.6798 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 5.231e-05/0.3968, allocations: 43.62 kB / 0.6799 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001366/0.3969, allocations: 4.281 kB / 0.6799 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004137/0.3973, allocations: 190.3 kB / 0.6801 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000211/0.3976, allocations: 0.6887 MB / 0.6807 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 7.492e-05/0.3977, allocations: 36.53 kB / 0.6808 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.667e-05/0.3977, allocations: 15.62 kB / 0.6808 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of SimCode: time 2.6e-07/0.3977, allocations: 5.125 kB / 0.6808 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01689/0.4146, allocations: 1.598 MB / 0.6824 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.199/7.614, allocations: 2.344 kB / 0.6824 GB, free: 11.04 MB / 0.5137 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)