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.0008294/0.0008294, allocations: 97.56 kB / 15.36 MB, free: 0.7344 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.005167/0.005167, allocations: 168.6 kB / 16.26 MB, free: 6.652 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.353/1.353, allocations: 223.3 MB / 240.3 MB, free: 5.34 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.003/1.003, allocations: 143.2 MB / 434.6 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003529/0.0003529, allocations: 8 kB / 0.5165 GB, free: 11.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1614/0.1617, allocations: 83.41 MB / 0.598 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial): time 0.001722/0.1635, allocations: 1.262 MB / 0.5992 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000473/0.164, allocations: 172.3 kB / 0.5994 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.401e-05/0.164, allocations: 4 kB / 0.5994 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.59e-05/0.164, allocations: 0 / 0.5994 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.654e-05/0.1641, allocations: 3.938 kB / 0.5994 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000263/0.1644, allocations: 39.88 kB / 0.5994 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.33e-05/0.1645, allocations: 31.92 kB / 0.5994 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.898e-05/0.1645, allocations: 12 kB / 0.5994 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.516e-05/0.1646, allocations: 19.92 kB / 0.5995 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.305e-05/0.1646, allocations: 19.91 kB / 0.5995 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.147e-06/0.1646, allocations: 0 / 0.5995 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001028/0.1648, allocations: 39.97 kB / 0.5995 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.688e-06/0.1648, allocations: 8 kB / 0.5995 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.414e-05/0.1648, allocations: 41.61 kB / 0.5996 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001253/0.1649, allocations: 59.78 kB / 0.5996 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.165, allocations: 0 / 0.5996 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.392e-06/0.165, allocations: 0 / 0.5996 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.545e-06/0.165, allocations: 0 / 0.5996 GB, free: 5.863 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.000437/0.1654, allocations: 359.7 kB / 0.6 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.1655, allocations: 8.031 kB / 0.6 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.578e-05/0.1655, allocations: 34.73 kB / 0.6 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.437e-05/0.1655, allocations: 8.875 kB / 0.6 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001207/0.1657, allocations: 164.3 kB / 0.6002 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.206e-05/0.1657, allocations: 8.375 kB / 0.6002 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.183e-06/0.1657, allocations: 384 / 0.6002 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001997/0.1659, allocations: 74.22 kB / 0.6003 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.1659, allocations: 7.922 kB / 0.6003 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.726e-06/0.1659, allocations: 0 / 0.6003 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.1659, allocations: 0 / 0.6003 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002067/0.1662, allocations: 59.95 kB / 0.6003 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004009/0.1666, allocations: 280.6 kB / 0.6006 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003298/0.1669, allocations: 66.53 kB / 0.6006 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001009/0.167, allocations: 32.91 kB / 0.6007 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002026/0.1672, allocations: 170.2 kB / 0.6008 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.111e-05/0.1673, allocations: 34.5 kB / 0.6009 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.1673, allocations: 3.938 kB / 0.6009 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0003938/0.1677, allocations: 109.6 kB / 0.601 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.349e-05/0.1677, allocations: 59.33 kB / 0.601 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.468e-05/0.1678, allocations: 109.8 kB / 0.6011 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.607e-05/0.1678, allocations: 29.7 kB / 0.6012 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.116e-05/0.1679, allocations: 88.2 kB / 0.6013 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.429e-05/0.1679, allocations: 3.906 kB / 0.6013 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.522e-05/0.1679, allocations: 17.72 kB / 0.6013 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.168, allocations: 314.8 kB / 0.6016 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001008/0.1682, allocations: 27.97 kB / 0.6016 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.865e-05/0.1682, allocations: 27.98 kB / 0.6016 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000193/0.1684, allocations: 56.75 kB / 0.6017 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1685, allocations: 4 kB / 0.6017 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002233/0.1687, allocations: 85.56 kB / 0.6018 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.1687, allocations: 4 kB / 0.6018 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.676e-06/0.1687, allocations: 0 / 0.6018 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.1687, allocations: 7.984 kB / 0.6018 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.225e-05/0.1688, allocations: 12 kB / 0.6018 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.1688, allocations: 0 / 0.6018 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.251e-05/0.1689, allocations: 11.98 kB / 0.6018 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-06/0.1689, allocations: 0 / 0.6018 GB, free: 3.355 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 8.131e-05/0.169, allocations: 117.8 kB / 0.6019 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.327e-05/0.169, allocations: 0 / 0.6019 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002883/0.1693, allocations: 109.5 kB / 0.602 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.1693, allocations: 0 / 0.602 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.1693, allocations: 384 / 0.602 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.1694, allocations: 4 kB / 0.602 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001776/0.1695, allocations: 161.6 kB / 0.6022 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1695, allocations: 4 kB / 0.6022 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.082e-05/0.1696, allocations: 15.98 kB / 0.6022 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.087e-06/0.1696, allocations: 3.984 kB / 0.6022 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.063e-06/0.1697, allocations: 0 / 0.6022 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.1697, allocations: 4 kB / 0.6022 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1697, allocations: 0 / 0.6022 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002911/0.17, allocations: 195.3 kB / 0.6024 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.774e-05/0.17, allocations: 77.11 kB / 0.6025 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.297e-05/0.1701, allocations: 7.938 kB / 0.6025 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.9e-05/0.1701, allocations: 7.984 kB / 0.6025 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.671e-05/0.1702, allocations: 8 kB / 0.6025 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.878e-06/0.1702, allocations: 0 / 0.6025 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.597e-05/0.1703, allocations: 91.27 kB / 0.6026 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1703, allocations: 3.938 kB / 0.6026 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002545/0.1705, allocations: 23.94 kB / 0.6026 GB, free: 2.43 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.0006357/0.1712, allocations: 0.7396 MB / 0.6033 GB, free: 1.664 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002456/0.1714, allocations: 51.95 kB / 0.6034 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.1714, allocations: 4 kB / 0.6034 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001088/0.1716, allocations: 27.98 kB / 0.6034 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002762/0.1718, allocations: 7.984 kB / 0.6034 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00149/0.1733, allocations: 1.314 MB / 0.6047 GB, free: 188 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2767/0.45, allocations: 0.6864 MB / 0.6054 GB, free: 40.48 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.907e-05/0.4501, allocations: 7.969 kB / 0.6054 GB, free: 40.48 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.028e-05/0.4502, allocations: 10.69 kB / 0.6054 GB, free: 40.47 MB / 0.4981 GB Notification: Performance of SimCode: time 1.313e-06/0.4502, allocations: 0 / 0.6054 GB, free: 40.47 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01127/0.4615, allocations: 1.67 MB / 0.607 GB, free: 40.38 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000204/0.4617, allocations: 200.8 kB / 0.6072 GB, free: 40.13 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.714/2.176, allocations: 0 / 0.6072 GB, free: 40.13 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)