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/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.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.001352/0.001352, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001508/0.001508, allocations: 193.3 kB / 16.25 MB, free: 6.621 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.468/1.468, allocations: 222.9 MB / 239.9 MB, free: 4.516 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.09/1.09, allocations: 143 MB / 433.1 MB, free: 11.43 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001403/0.001404, allocations: 63.91 kB / 0.5138 GB, free: 11.89 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.214/0.2155, allocations: 82.03 MB / 0.5939 GB, free: 9.816 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial): time 0.002864/0.2184, allocations: 1.601 MB / 0.5955 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004711/0.2189, allocations: 176.3 kB / 0.5956 GB, free: 8.023 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.194e-05/0.2189, allocations: 0 / 0.5956 GB, free: 8.023 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.557e-05/0.219, allocations: 0 / 0.5956 GB, free: 8.023 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.588e-05/0.219, allocations: 3.938 kB / 0.5956 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003361/0.2194, allocations: 43.95 kB / 0.5957 GB, free: 7.977 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.052e-05/0.2195, allocations: 43.84 kB / 0.5957 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.279e-05/0.2196, allocations: 12 kB / 0.5957 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.335e-05/0.2196, allocations: 19.92 kB / 0.5957 GB, free: 7.902 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.794e-05/0.2197, allocations: 15.92 kB / 0.5958 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.408e-05/0.2197, allocations: 4 kB / 0.5958 GB, free: 7.883 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001105/0.2198, allocations: 47.95 kB / 0.5958 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.502e-05/0.2198, allocations: 11.98 kB / 0.5958 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.512e-05/0.2198, allocations: 11.94 kB / 0.5958 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001829/0.22, allocations: 59.78 kB / 0.5959 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.22, allocations: 4 kB / 0.5959 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.232e-06/0.22, allocations: 3.938 kB / 0.5959 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.578e-06/0.2201, allocations: 0 / 0.5959 GB, free: 7.746 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004345/0.2205, allocations: 359.7 kB / 0.5962 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.2205, allocations: 12.03 kB / 0.5963 GB, free: 7.332 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.582e-05/0.2206, allocations: 30.75 kB / 0.5963 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.978e-05/0.2206, allocations: 8.844 kB / 0.5963 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.743e-05/0.2207, allocations: 168.4 kB / 0.5965 GB, free: 7.082 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.786e-05/0.2207, allocations: 4.375 kB / 0.5965 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.788e-06/0.2208, allocations: 4.375 kB / 0.5965 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001834/0.2209, allocations: 62.22 kB / 0.5965 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.186e-06/0.221, allocations: 3.938 kB / 0.5965 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.221, allocations: 7.984 kB / 0.5965 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.221, allocations: 0 / 0.5965 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001776/0.2212, allocations: 47.89 kB / 0.5966 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000342/0.2215, allocations: 284.7 kB / 0.5968 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003004/0.2218, allocations: 54.55 kB / 0.5969 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.099e-05/0.2219, allocations: 32.83 kB / 0.5969 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002045/0.2221, allocations: 166.2 kB / 0.5971 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.888e-05/0.2222, allocations: 38.56 kB / 0.5971 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.2222, allocations: 0 / 0.5971 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0003569/0.2225, allocations: 101.6 kB / 0.5972 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.741e-05/0.2226, allocations: 51.41 kB / 0.5973 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.803e-05/0.2227, allocations: 105.8 kB / 0.5974 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.259e-05/0.2227, allocations: 33.64 kB / 0.5974 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.784e-05/0.2227, allocations: 88.14 kB / 0.5975 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.241e-05/0.2228, allocations: 3.906 kB / 0.5975 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.471e-05/0.2228, allocations: 21.7 kB / 0.5975 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.73e-05/0.2229, allocations: 314.8 kB / 0.5978 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.024e-05/0.223, allocations: 27.91 kB / 0.5978 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.749e-05/0.2231, allocations: 19.98 kB / 0.5979 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001549/0.2232, allocations: 48.81 kB / 0.5979 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.2232, allocations: 0 / 0.5979 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002052/0.2235, allocations: 73.56 kB / 0.598 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.2235, allocations: 4 kB / 0.598 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.2235, allocations: 0 / 0.598 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.2235, allocations: 4 kB / 0.598 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.554e-05/0.2236, allocations: 11.98 kB / 0.598 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.2236, allocations: 8 kB / 0.598 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.604e-05/0.2237, allocations: 11.92 kB / 0.598 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/0.2237, allocations: 0 / 0.598 GB, free: 5.305 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: 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 6.698e-05/0.2237, allocations: 109.8 kB / 0.5981 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.383e-05/0.2238, allocations: 4 kB / 0.5981 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002417/0.224, allocations: 85.55 kB / 0.5982 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.224, allocations: 4 kB / 0.5982 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.224, allocations: 0 / 0.5982 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.224, allocations: 384 / 0.5982 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001822/0.2242, allocations: 177.6 kB / 0.5984 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.2242, allocations: 3.984 kB / 0.5984 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.081e-05/0.2243, allocations: 8 kB / 0.5984 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.2243, allocations: 0 / 0.5984 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.308e-06/0.2243, allocations: 3.984 kB / 0.5984 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.2243, allocations: 0 / 0.5984 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2243, allocations: 3.938 kB / 0.5984 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002345/0.2246, allocations: 175.4 kB / 0.5986 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.239e-05/0.2246, allocations: 81.11 kB / 0.5986 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.41e-05/0.2246, allocations: 3.984 kB / 0.5986 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.103e-05/0.2247, allocations: 4 kB / 0.5986 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.345e-05/0.2248, allocations: 15.92 kB / 0.5987 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.2248, allocations: 0 / 0.5987 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.307e-05/0.2248, allocations: 87.28 kB / 0.5987 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2248, allocations: 0 / 0.5987 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002352/0.2251, allocations: 27.92 kB / 0.5988 GB, free: 4.418 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: 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.0005487/0.2256, allocations: 0.7278 MB / 0.5995 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002056/0.2259, allocations: 47.95 kB / 0.5995 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2259, allocations: 0 / 0.5995 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.174e-05/0.226, allocations: 27.91 kB / 0.5996 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002576/0.2262, allocations: 6.812 kB / 0.5996 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001314/0.2275, allocations: 1.288 MB / 0.6008 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002142/0.2278, allocations: 0.6806 MB / 0.6015 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.136e-05/0.2278, allocations: 4 kB / 0.6015 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.011e-05/0.2279, allocations: 19.44 kB / 0.6015 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.2279, allocations: 4 kB / 0.6015 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3162/0.5441, allocations: 1.763 MB / 0.6032 GB, free: 43.8 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002232/0.5443, allocations: 193.2 kB / 0.6034 GB, free: 43.55 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.77/2.315, allocations: 2.125 kB / 0.6034 GB, free: 43.55 MB / 0.4981 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)