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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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(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.007546/0.007546, allocations: 100.6 kB / 15.73 MB, free: 6.043 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.001857/0.001857, allocations: 202.5 kB / 16.68 MB, free: 5.965 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.508/1.508, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 1.035/1.035, allocations: 143.3 MB / 433.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001906/0.001906, allocations: 67.89 kB / 0.5954 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3925/0.3944, allocations: 82.02 MB / 0.6755 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001502/0.396, allocations: 0.5697 MB / 0.676 GB, free: 0.5391 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002587/0.3962, allocations: 59.47 kB / 0.6761 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.141e-05/0.3963, allocations: 0 / 0.6761 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.194e-05/0.3963, allocations: 8.875 kB / 0.6761 GB, free: 500 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.46e-06/0.3963, allocations: 4 kB / 0.6761 GB, free: 496 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002624/0.3966, allocations: 18.62 kB / 0.6761 GB, free: 484 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.011e-05/0.3967, allocations: 28.11 kB / 0.6761 GB, free: 472 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.774e-05/0.3967, allocations: 5.047 kB / 0.6761 GB, free: 468 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.721e-05/0.3967, allocations: 9.422 kB / 0.6761 GB, free: 464 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.518e-05/0.3968, allocations: 13.81 kB / 0.6762 GB, free: 456 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.219e-05/0.3968, allocations: 1.094 kB / 0.6762 GB, free: 456 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.731e-05/0.3969, allocations: 20.38 kB / 0.6762 GB, free: 444 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.804e-05/0.3969, allocations: 13.92 kB / 0.6762 GB, free: 436 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.947e-05/0.3969, allocations: 8.344 kB / 0.6762 GB, free: 432 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.875e-05/0.397, allocations: 40.22 kB / 0.6762 GB, free: 408 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.397, allocations: 3.938 kB / 0.6762 GB, free: 404 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.232e-06/0.397, allocations: 0 / 0.6762 GB, free: 404 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.048e-05/0.3971, allocations: 0 / 0.6762 GB, free: 404 kB / 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.0002497/0.3973, allocations: 341.9 kB / 0.6766 GB, free: 24 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.3974, allocations: 10.25 kB / 0.6766 GB, free: 24 kB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.115e-05/0.3974, allocations: 31.97 kB / 0.6766 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.657e-05/0.3975, allocations: 3.312 kB / 0.6766 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000114/0.3976, allocations: 173.3 kB / 0.6768 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.3976, allocations: 2.469 kB / 0.6768 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.491e-05/0.3976, allocations: 8.094 kB / 0.6768 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001357/0.3977, allocations: 63.02 kB / 0.6768 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.3978, allocations: 3.938 kB / 0.6768 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.447e-06/0.3978, allocations: 7.938 kB / 0.6769 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.3978, allocations: 1.875 kB / 0.6769 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000146/0.3979, allocations: 103.1 kB / 0.677 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001858/0.3981, allocations: 169.9 kB / 0.6771 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001172/0.3983, allocations: 70.03 kB / 0.6772 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.978e-05/0.3983, allocations: 36.59 kB / 0.6772 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003843/0.3987, allocations: 405.3 kB / 0.6776 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.812e-05/0.3988, allocations: 31.62 kB / 0.6776 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=11): time 1.213e-06/0.3988, allocations: 3.938 kB / 0.6776 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11): time 0.0002531/0.399, allocations: 117.2 kB / 0.6778 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.766e-05/0.3991, allocations: 53.81 kB / 0.6778 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.793e-05/0.3991, allocations: 99.12 kB / 0.6779 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/0.3991, allocations: 25.7 kB / 0.6779 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.349e-05/0.3992, allocations: 84.14 kB / 0.678 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.145e-05/0.3992, allocations: 24.28 kB / 0.678 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.821e-05/0.3993, allocations: 33.05 kB / 0.6781 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001597/0.3994, allocations: 319.9 kB / 0.6784 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.969e-05/0.3995, allocations: 19.39 kB / 0.6784 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.755e-05/0.3995, allocations: 20.83 kB / 0.6784 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001059/0.3996, allocations: 68.62 kB / 0.6785 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3997, allocations: 1.156 kB / 0.6785 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001388/0.3998, allocations: 99.8 kB / 0.6786 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.3998, allocations: 10.28 kB / 0.6786 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.3998, allocations: 0 / 0.6786 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.3998, allocations: 1 kB / 0.6786 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.391e-05/0.3999, allocations: 15.22 kB / 0.6786 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.4, allocations: 0 / 0.6786 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.407e-05/0.4, allocations: 5.266 kB / 0.6786 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.784e-06/0.4, allocations: 8 kB / 0.6786 GB, free: 14.02 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.000133/0.4001, allocations: 124.7 kB / 0.6787 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.157e-05/0.4002, allocations: 18.72 kB / 0.6787 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000219/0.4004, allocations: 117.6 kB / 0.6788 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.4004, allocations: 1.156 kB / 0.6789 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.4004, allocations: 1.125 kB / 0.6789 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.4004, allocations: 0 / 0.6789 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001464/0.4006, allocations: 179.1 kB / 0.679 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.4006, allocations: 0 / 0.679 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.753e-05/0.4006, allocations: 19.22 kB / 0.679 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.143e-05/0.4007, allocations: 5.031 kB / 0.679 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.4007, allocations: 9.141 kB / 0.6791 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.4007, allocations: 1.062 kB / 0.6791 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.4007, allocations: 0 / 0.6791 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001589/0.4008, allocations: 114.7 kB / 0.6792 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001162/0.401, allocations: 91.11 kB / 0.6793 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.658e-05/0.401, allocations: 9.172 kB / 0.6793 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.376e-05/0.401, allocations: 0 / 0.6793 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.004e-05/0.4011, allocations: 12.48 kB / 0.6793 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-06/0.4011, allocations: 7.25 kB / 0.6793 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.313e-05/0.4011, allocations: 75.28 kB / 0.6794 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4011, allocations: 3.938 kB / 0.6794 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0001907/0.4013, allocations: 14.75 kB / 0.6794 GB, free: 13.27 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.000533/0.4018, allocations: 0.6721 MB / 0.68 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00014/0.402, allocations: 67.98 kB / 0.6801 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.402, allocations: 0 / 0.6801 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 5.351e-05/0.4021, allocations: 38.05 kB / 0.6801 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001316/0.4022, allocations: 8.359 kB / 0.6801 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003815/0.4026, allocations: 190.5 kB / 0.6803 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004132/0.403, allocations: 0.6817 MB / 0.681 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 7.556e-05/0.4031, allocations: 44.02 kB / 0.681 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.755e-05/0.4031, allocations: 16.94 kB / 0.681 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of SimCode: time 2.3e-07/0.4031, allocations: 0 / 0.681 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2591/0.6623, allocations: 1.589 MB / 0.6826 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.999/8.662, allocations: 2.375 kB / 0.6826 GB, free: 10.84 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)