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.005521/0.005521, allocations: 104.2 kB / 15.73 MB, free: 5.992 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.001236/0.001236, allocations: 198.5 kB / 16.68 MB, free: 5.914 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.323/1.323, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.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 0.8417/0.8417, allocations: 143.1 MB / 433.6 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001155/0.001155, allocations: 65.16 kB / 0.5951 GB, free: 12.75 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1555/0.1567, allocations: 82.04 MB / 0.6752 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial): time 0.001705/0.1584, allocations: 0.5906 MB / 0.6758 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0003685/0.1588, allocations: 108 kB / 0.6759 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.928e-05/0.1588, allocations: 0 / 0.6759 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.7e-05/0.1589, allocations: 0 / 0.6759 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.001e-06/0.1589, allocations: 0 / 0.6759 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003533/0.1592, allocations: 39.84 kB / 0.6759 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001205/0.1594, allocations: 71.92 kB / 0.676 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.503e-05/0.1594, allocations: 3.984 kB / 0.676 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.654e-05/0.1595, allocations: 19.98 kB / 0.676 GB, free: 9.988 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.195e-05/0.1595, allocations: 27.95 kB / 0.676 GB, free: 9.961 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.73e-05/0.1595, allocations: 0 / 0.676 GB, free: 9.961 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001356/0.1597, allocations: 47.97 kB / 0.6761 GB, free: 9.914 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.507e-05/0.1597, allocations: 27.89 kB / 0.6761 GB, free: 9.887 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.453e-05/0.1598, allocations: 19.92 kB / 0.6761 GB, free: 9.867 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001519/0.1599, allocations: 67.84 kB / 0.6762 GB, free: 9.801 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.16, allocations: 3.984 kB / 0.6762 GB, free: 9.797 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.064e-06/0.16, allocations: 0 / 0.6762 GB, free: 9.797 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.16, allocations: 8 kB / 0.6762 GB, free: 9.789 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005077/0.1605, allocations: 359.6 kB / 0.6765 GB, free: 9.387 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.013e-05/0.1605, allocations: 8.031 kB / 0.6766 GB, free: 9.379 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.34e-05/0.1606, allocations: 46.73 kB / 0.6766 GB, free: 9.324 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.93e-05/0.1606, allocations: 12.78 kB / 0.6766 GB, free: 9.312 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001016/0.1607, allocations: 163.2 kB / 0.6768 GB, free: 9.117 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002785/0.161, allocations: 281.6 kB / 0.677 GB, free: 8.781 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.437e-05/0.161, allocations: 384 / 0.677 GB, free: 8.781 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002615/0.1613, allocations: 97.81 kB / 0.6771 GB, free: 8.68 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.1613, allocations: 4 kB / 0.6771 GB, free: 8.676 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.1614, allocations: 0 / 0.6771 GB, free: 8.676 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.1614, allocations: 0 / 0.6771 GB, free: 8.676 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003347/0.1617, allocations: 131.8 kB / 0.6773 GB, free: 8.547 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001842/0.1619, allocations: 170.2 kB / 0.6774 GB, free: 8.332 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002761/0.1622, allocations: 98.52 kB / 0.6775 GB, free: 8.227 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001273/0.1623, allocations: 48.77 kB / 0.6776 GB, free: 8.176 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.374e-05/0.1623, allocations: 11.97 kB / 0.6776 GB, free: 8.164 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.222e-05/0.1624, allocations: 42.5 kB / 0.6776 GB, free: 8.113 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=11): time 1.122e-06/0.1624, allocations: 0 / 0.6776 GB, free: 8.113 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11): time 0.0005039/0.1629, allocations: 141.9 kB / 0.6777 GB, free: 7.969 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.554e-05/0.1629, allocations: 55.41 kB / 0.6778 GB, free: 7.902 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.5e-05/0.163, allocations: 93.77 kB / 0.6779 GB, free: 7.801 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.539e-05/0.163, allocations: 29.7 kB / 0.6779 GB, free: 7.766 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 2.407e-05/0.163, allocations: 84.14 kB / 0.678 GB, free: 7.68 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.131e-05/0.1631, allocations: 31.83 kB / 0.678 GB, free: 7.648 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.867e-05/0.1631, allocations: 25.7 kB / 0.6781 GB, free: 7.617 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.1633, allocations: 318.8 kB / 0.6784 GB, free: 7.297 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001322/0.1634, allocations: 31.91 kB / 0.6784 GB, free: 7.266 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001186/0.1635, allocations: 36.41 kB / 0.6784 GB, free: 7.23 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002459/0.1638, allocations: 84.91 kB / 0.6785 GB, free: 7.145 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.1638, allocations: 0 / 0.6785 GB, free: 7.145 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003162/0.1641, allocations: 109.5 kB / 0.6786 GB, free: 7.031 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.1641, allocations: 13.81 kB / 0.6786 GB, free: 7.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.1641, allocations: 0 / 0.6786 GB, free: 7.02 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.1642, allocations: 0 / 0.6786 GB, free: 7.02 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001528/0.1643, allocations: 31.91 kB / 0.6787 GB, free: 6.988 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.1643, allocations: 0 / 0.6787 GB, free: 6.988 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.325e-05/0.1644, allocations: 7.938 kB / 0.6787 GB, free: 6.98 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.589e-05/0.1644, allocations: 7.984 kB / 0.6787 GB, free: 6.973 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.226e-05/0.1645, allocations: 121.8 kB / 0.6788 GB, free: 6.844 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.318e-05/0.1645, allocations: 7.938 kB / 0.6788 GB, free: 6.836 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.444e-05/0.1646, allocations: 11.97 kB / 0.6788 GB, free: 6.824 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.1646, allocations: 0 / 0.6788 GB, free: 6.824 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.1646, allocations: 3.938 kB / 0.6788 GB, free: 6.82 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.1646, allocations: 3.984 kB / 0.6788 GB, free: 6.816 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001397/0.1648, allocations: 181.5 kB / 0.679 GB, free: 6.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.1648, allocations: 0 / 0.679 GB, free: 6.59 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001206/0.1649, allocations: 27.92 kB / 0.679 GB, free: 6.562 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.818e-06/0.1649, allocations: 3.938 kB / 0.679 GB, free: 6.559 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/0.1649, allocations: 3.984 kB / 0.679 GB, free: 6.555 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.013e-06/0.1649, allocations: 4 kB / 0.679 GB, free: 6.551 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.1649, allocations: 0 / 0.679 GB, free: 6.551 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003283/0.1653, allocations: 137.1 kB / 0.6792 GB, free: 6.398 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.773e-05/0.1653, allocations: 96.81 kB / 0.6792 GB, free: 6.285 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.687e-05/0.1653, allocations: 0 / 0.6792 GB, free: 6.285 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.776e-05/0.1654, allocations: 8 kB / 0.6793 GB, free: 6.277 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.682e-05/0.1655, allocations: 7.984 kB / 0.6793 GB, free: 6.27 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.178e-05/0.1655, allocations: 11.98 kB / 0.6793 GB, free: 6.258 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 2.694e-05/0.1655, allocations: 75.28 kB / 0.6793 GB, free: 6.184 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1655, allocations: 0 / 0.6793 GB, free: 6.184 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002432/0.1658, allocations: 28 kB / 0.6794 GB, free: 6.156 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.0006918/0.1665, allocations: 0.6982 MB / 0.6801 GB, free: 5.43 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003119/0.1668, allocations: 83.88 kB / 0.6801 GB, free: 5.348 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.1668, allocations: 4 kB / 0.6801 GB, free: 5.344 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001332/0.1669, allocations: 44.52 kB / 0.6802 GB, free: 5.301 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001328/0.1671, allocations: 0 / 0.6802 GB, free: 5.301 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000517/0.1676, allocations: 210.5 kB / 0.6804 GB, free: 5.055 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002547/0.1679, allocations: 0.6846 MB / 0.681 GB, free: 4.344 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001662/0.1681, allocations: 39.89 kB / 0.6811 GB, free: 4.305 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.477e-05/0.1681, allocations: 23.42 kB / 0.6811 GB, free: 4.281 MB / 0.5137 GB Notification: Performance of SimCode: time 2.51e-07/0.1681, allocations: 0 / 0.6811 GB, free: 4.281 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01806/0.1862, allocations: 2.072 MB / 0.6831 GB, free: 2.305 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.323/7.51, allocations: 11 kB / 0.6831 GB, free: 2.297 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)