Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial.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.Binomial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_Binomial",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.005261/0.005261, allocations: 100.6 kB / 15.73 MB, free: 6.023 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.001418/0.001418, allocations: 192.9 kB / 16.67 MB, free: 5.957 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.365/1.365, allocations: 222.9 MB / 240.4 MB, free: 4.328 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 1.048/1.048, allocations: 143 MB / 433.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 67.91 kB / 0.5951 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3927/0.3941, allocations: 82.02 MB / 0.6752 GB, free: 1.137 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial): time 0.001493/0.3957, allocations: 0.584 MB / 0.6758 GB, free: 0.6992 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003744/0.3961, allocations: 101.4 kB / 0.6759 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.183e-05/0.3961, allocations: 5.25 kB / 0.6759 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.599e-05/0.3961, allocations: 3.984 kB / 0.6759 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.531e-06/0.3961, allocations: 0 / 0.6759 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003265/0.3965, allocations: 40.89 kB / 0.6759 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001153/0.3966, allocations: 60.62 kB / 0.676 GB, free: 0.5625 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.033e-05/0.3967, allocations: 1.312 kB / 0.676 GB, free: 0.5625 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.193e-05/0.3967, allocations: 25.38 kB / 0.676 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.019e-05/0.3967, allocations: 25 kB / 0.676 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.482e-05/0.3968, allocations: 2.094 kB / 0.676 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000113/0.3969, allocations: 51.41 kB / 0.6761 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.307e-05/0.3969, allocations: 19.89 kB / 0.6761 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.783e-05/0.3969, allocations: 25.44 kB / 0.6761 GB, free: 488 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001224/0.3971, allocations: 70.83 kB / 0.6762 GB, free: 444 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3971, allocations: 1.062 kB / 0.6762 GB, free: 444 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.252e-06/0.3971, allocations: 0 / 0.6762 GB, free: 444 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.3971, allocations: 0 / 0.6762 GB, free: 444 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.0004267/0.3975, allocations: 376.2 kB / 0.6765 GB, free: 48 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.3976, allocations: 9.312 kB / 0.6766 GB, free: 48 kB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.082e-05/0.3976, allocations: 41.39 kB / 0.6766 GB, free: 16 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.062e-05/0.3977, allocations: 14.06 kB / 0.6766 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.244e-05/0.3978, allocations: 167.7 kB / 0.6768 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002611/0.398, allocations: 283.5 kB / 0.677 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.586e-05/0.3981, allocations: 2.906 kB / 0.677 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000241/0.3983, allocations: 77.77 kB / 0.6771 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.3983, allocations: 0.9062 kB / 0.6771 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.3984, allocations: 7.984 kB / 0.6771 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.3984, allocations: 2.062 kB / 0.6771 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003679/0.3987, allocations: 139.6 kB / 0.6773 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001912/0.3989, allocations: 179.4 kB / 0.6774 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003105/0.3993, allocations: 95.2 kB / 0.6775 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001457/0.3994, allocations: 47.05 kB / 0.6776 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.827e-05/0.3994, allocations: 9.094 kB / 0.6776 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.471e-05/0.3995, allocations: 39.72 kB / 0.6776 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=11): time 1.263e-06/0.3995, allocations: 3.938 kB / 0.6776 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11): time 0.0005679/0.4001, allocations: 147.7 kB / 0.6778 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.725e-05/0.4001, allocations: 61.7 kB / 0.6778 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.854e-05/0.4002, allocations: 89.86 kB / 0.6779 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.668e-05/0.4002, allocations: 25.7 kB / 0.6779 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.452e-05/0.4002, allocations: 81.08 kB / 0.678 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.461e-05/0.4003, allocations: 31.88 kB / 0.678 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.426e-05/0.4003, allocations: 30.61 kB / 0.6781 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.4005, allocations: 320.9 kB / 0.6784 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001402/0.4006, allocations: 29.72 kB / 0.6784 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001346/0.4008, allocations: 39.98 kB / 0.6784 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002859/0.401, allocations: 70.08 kB / 0.6785 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.4011, allocations: 0 / 0.6785 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003514/0.4014, allocations: 123.8 kB / 0.6786 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.4014, allocations: 9.062 kB / 0.6786 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.4014, allocations: 1.344 kB / 0.6786 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.4015, allocations: 0 / 0.6786 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001524/0.4016, allocations: 21.48 kB / 0.6786 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.72e-06/0.4016, allocations: 1.188 kB / 0.6787 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.401e-05/0.4017, allocations: 15.11 kB / 0.6787 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.263e-05/0.4017, allocations: 3.688 kB / 0.6787 GB, free: 14.08 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: 1 (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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.498e-05/0.4018, allocations: 122.1 kB / 0.6788 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.864e-05/0.4018, allocations: 10.12 kB / 0.6788 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.633e-05/0.4019, allocations: 7.969 kB / 0.6788 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.4019, allocations: 1.344 kB / 0.6788 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.4019, allocations: 0.9375 kB / 0.6788 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.4019, allocations: 0 / 0.6788 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001326/0.4021, allocations: 179.8 kB / 0.679 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.4021, allocations: 1.062 kB / 0.679 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001223/0.4022, allocations: 28.72 kB / 0.679 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/0.4022, allocations: 4.969 kB / 0.679 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.4022, allocations: 1.031 kB / 0.679 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.4022, allocations: 1.375 kB / 0.679 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.4022, allocations: 0 / 0.679 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000372/0.4026, allocations: 146.9 kB / 0.6792 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.467e-05/0.4027, allocations: 90.3 kB / 0.6792 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.574e-05/0.4027, allocations: 1.375 kB / 0.6792 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.745e-05/0.4027, allocations: 2.125 kB / 0.6792 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.108e-05/0.4028, allocations: 17.41 kB / 0.6793 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-06/0.4028, allocations: 3.094 kB / 0.6793 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.221e-05/0.4029, allocations: 77.61 kB / 0.6793 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.4029, allocations: 0 / 0.6793 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002435/0.4031, allocations: 25 kB / 0.6794 GB, free: 13.41 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: 1 (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.0007659/0.4039, allocations: 0.706 MB / 0.68 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003662/0.4043, allocations: 84.2 kB / 0.6801 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.4043, allocations: 1.125 kB / 0.6801 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001605/0.4044, allocations: 53.27 kB / 0.6802 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001402/0.4046, allocations: 6.062 kB / 0.6802 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000538/0.4051, allocations: 210.1 kB / 0.6804 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002257/0.4054, allocations: 0.6835 MB / 0.6811 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001785/0.4056, allocations: 39.34 kB / 0.6811 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.021e-05/0.4056, allocations: 20.77 kB / 0.6811 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of SimCode: time 3.2e-07/0.4056, allocations: 0 / 0.6811 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0192/0.4248, allocations: 2.071 MB / 0.6831 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.634/8.059, allocations: 5.859 kB / 0.6831 GB, free: 10.65 MB / 0.5137 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_Binomial_fmu --startTime=0 --stopTime=15.9 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_Binomial.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)