Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.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-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.Examples.Binomial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_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.005023/0.005023, allocations: 97.38 kB / 15.73 MB, free: 6.039 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.001282/0.001282, allocations: 204.4 kB / 16.68 MB, free: 5.961 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.479/1.479, 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.092/1.092, allocations: 143.3 MB / 433.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002178/0.002178, allocations: 67.89 kB / 0.5953 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5007/0.5029, allocations: 82.02 MB / 0.6754 GB, free: 0.9648 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial): time 0.002437/0.5054, allocations: 1.531 MB / 0.6769 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0004568/0.5058, allocations: 176.4 kB / 0.6771 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.576e-05/0.5059, allocations: 1.125 kB / 0.6771 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.75e-05/0.5059, allocations: 7.922 kB / 0.6771 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.312e-05/0.506, allocations: 4.969 kB / 0.6771 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002875/0.5063, allocations: 51.72 kB / 0.6771 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.001e-05/0.5064, allocations: 42.33 kB / 0.6772 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 9.313e-05/0.5065, allocations: 17.3 kB / 0.6772 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 2.71e-05/0.5065, allocations: 9.531 kB / 0.6772 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.429e-05/0.5065, allocations: 25.09 kB / 0.6772 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.308e-05/0.5066, allocations: 3.844 kB / 0.6772 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001147/0.5067, allocations: 47.2 kB / 0.6773 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.561e-05/0.5067, allocations: 5.188 kB / 0.6773 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.16e-05/0.5067, allocations: 15.11 kB / 0.6773 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001535/0.5069, allocations: 73.78 kB / 0.6774 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.5069, allocations: 5.469 kB / 0.6774 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of FrontEnd: time 8.72e-07/0.5069, allocations: 0 / 0.6774 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.568e-06/0.5069, allocations: 0 / 0.6774 GB, free: 15.43 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004687/0.5074, allocations: 351.8 kB / 0.6777 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.5074, allocations: 9.188 kB / 0.6777 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.562e-05/0.5075, allocations: 40.02 kB / 0.6778 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.505e-05/0.5075, allocations: 7.172 kB / 0.6778 GB, free: 15 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001417/0.5077, allocations: 166.5 kB / 0.6779 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.5077, allocations: 1.5 kB / 0.6779 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.363e-05/0.5077, allocations: 10.72 kB / 0.6779 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001866/0.5079, allocations: 60.06 kB / 0.678 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.5079, allocations: 7.922 kB / 0.678 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.5079, allocations: 5.094 kB / 0.678 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.5079, allocations: 1.281 kB / 0.678 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001931/0.5081, allocations: 39.11 kB / 0.678 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004223/0.5086, allocations: 287.1 kB / 0.6783 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003063/0.5089, allocations: 54.66 kB / 0.6784 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001012/0.509, allocations: 24.25 kB / 0.6784 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002725/0.5093, allocations: 173.4 kB / 0.6786 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.216e-05/0.5093, allocations: 35.88 kB / 0.6786 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 1.272e-06/0.5093, allocations: 3.938 kB / 0.6786 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.0004523/0.5098, allocations: 94.78 kB / 0.6787 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.43e-05/0.5099, allocations: 59.39 kB / 0.6787 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.51, allocations: 107.5 kB / 0.6788 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.907e-05/0.51, allocations: 26.7 kB / 0.6789 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.797e-05/0.5101, allocations: 97.45 kB / 0.679 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.542e-05/0.5101, allocations: 5.078 kB / 0.679 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.7e-05/0.5101, allocations: 18 kB / 0.679 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.5103, allocations: 319.9 kB / 0.6793 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.003e-05/0.5104, allocations: 17.89 kB / 0.6793 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001024/0.5105, allocations: 23.03 kB / 0.6793 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001707/0.5107, allocations: 47.45 kB / 0.6794 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.5107, allocations: 0 / 0.6794 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002228/0.5109, allocations: 85.23 kB / 0.6795 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.5109, allocations: 5.312 kB / 0.6795 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.5109, allocations: 320 / 0.6795 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.5109, allocations: 0 / 0.6795 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.732e-05/0.511, allocations: 12.33 kB / 0.6795 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.511, allocations: 0 / 0.6795 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.896e-05/0.5111, allocations: 11.98 kB / 0.6795 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.076e-06/0.5111, allocations: 5.203 kB / 0.6795 GB, free: 13.27 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: 2 (bin.y,rea2Int.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.113e-05/0.5112, allocations: 120.3 kB / 0.6796 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.374e-05/0.5112, allocations: 2.688 kB / 0.6796 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002564/0.5115, allocations: 83.17 kB / 0.6797 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.5115, allocations: 384 / 0.6797 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.5115, allocations: 1.438 kB / 0.6797 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.5115, allocations: 4 kB / 0.6797 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001767/0.5117, allocations: 169.9 kB / 0.6799 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.5117, allocations: 0 / 0.6799 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.256e-05/0.5118, allocations: 10.98 kB / 0.6799 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.009e-06/0.5118, allocations: 5.172 kB / 0.6799 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.5118, allocations: 0 / 0.6799 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.5118, allocations: 1.031 kB / 0.6799 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.5118, allocations: 0 / 0.6799 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002788/0.5121, allocations: 187.3 kB / 0.68 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.818e-05/0.5122, allocations: 83.14 kB / 0.6801 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.273e-05/0.5122, allocations: 0 / 0.6801 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.597e-05/0.5123, allocations: 8.391 kB / 0.6801 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.572e-05/0.5123, allocations: 2.188 kB / 0.6801 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.5123, allocations: 5.031 kB / 0.6801 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.859e-05/0.5124, allocations: 85.7 kB / 0.6802 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5124, allocations: 4 kB / 0.6802 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002387/0.5126, allocations: 22 kB / 0.6802 GB, free: 12.5 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: 2 (rea2Int.y,bin.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.000663/0.5133, allocations: 0.722 MB / 0.681 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002401/0.5136, allocations: 52.77 kB / 0.681 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.5136, allocations: 1.406 kB / 0.681 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001039/0.5137, allocations: 26.72 kB / 0.681 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002708/0.514, allocations: 6.406 kB / 0.681 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001475/0.5154, allocations: 1.284 MB / 0.6823 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002964/0.5157, allocations: 0.6794 MB / 0.683 GB, free: 9.816 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.502e-05/0.5158, allocations: 11.22 kB / 0.683 GB, free: 9.809 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.218e-05/0.5158, allocations: 13.62 kB / 0.683 GB, free: 9.797 MB / 0.5137 GB Notification: Performance of SimCode: time 4e-07/0.5158, allocations: 5.156 kB / 0.683 GB, free: 9.793 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02189/0.5377, allocations: 1.954 MB / 0.6849 GB, free: 8.727 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.053/8.591, allocations: 15.38 kB / 0.6849 GB, free: 8.715 MB / 0.5137 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Binomial_fmu --startTime=0 --stopTime=11 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Binomial.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial.pipe 2>&1)