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.001136/0.001137, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001315/0.001315, allocations: 194.5 kB / 16.14 MB, free: 6.688 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.347/1.347, allocations: 222.9 MB / 239.8 MB, free: 4.578 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 0.9866/0.9866, allocations: 143 MB / 433 MB, free: 11.65 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001148/0.001148, allocations: 59.91 kB / 0.5136 GB, free: 12.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1685/0.1697, allocations: 82.05 MB / 0.5937 GB, free: 9.984 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial): time 0.002819/0.1725, allocations: 1.584 MB / 0.5953 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00052/0.1731, allocations: 188.3 kB / 0.5955 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.429e-05/0.1731, allocations: 0 / 0.5955 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.914e-05/0.1732, allocations: 4 kB / 0.5955 GB, free: 8.195 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.361e-05/0.1733, allocations: 7.938 kB / 0.5955 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002659/0.1735, allocations: 35.94 kB / 0.5955 GB, free: 8.152 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.391e-05/0.1736, allocations: 31.92 kB / 0.5955 GB, free: 8.121 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.581e-05/0.1737, allocations: 8 kB / 0.5955 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.64e-05/0.1737, allocations: 23.91 kB / 0.5956 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.013e-05/0.1738, allocations: 19.86 kB / 0.5956 GB, free: 8.07 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.183e-05/0.1738, allocations: 0 / 0.5956 GB, free: 8.07 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001109/0.1739, allocations: 51.97 kB / 0.5956 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.222e-05/0.174, allocations: 7.969 kB / 0.5956 GB, free: 8.012 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.054e-05/0.174, allocations: 15.88 kB / 0.5957 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001377/0.1741, allocations: 59.84 kB / 0.5957 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.221e-06/0.1741, allocations: 4 kB / 0.5957 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of FrontEnd: time 9.62e-07/0.1742, allocations: 0 / 0.5957 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.908e-06/0.1742, allocations: 0 / 0.5957 GB, free: 7.934 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.0005245/0.1747, allocations: 355.6 kB / 0.5961 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.1747, allocations: 8.031 kB / 0.5961 GB, free: 7.527 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.17e-05/0.1748, allocations: 42.69 kB / 0.5961 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.796e-05/0.1748, allocations: 8.844 kB / 0.5961 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001174/0.1749, allocations: 160.4 kB / 0.5963 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.62e-05/0.175, allocations: 4.375 kB / 0.5963 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.046e-05/0.175, allocations: 384 / 0.5963 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002001/0.1752, allocations: 70.2 kB / 0.5963 GB, free: 7.195 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.1752, allocations: 3.938 kB / 0.5963 GB, free: 7.191 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.1752, allocations: 0 / 0.5963 GB, free: 7.191 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.1752, allocations: 0 / 0.5963 GB, free: 7.191 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001896/0.1754, allocations: 51.89 kB / 0.5964 GB, free: 7.141 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003799/0.1758, allocations: 292.6 kB / 0.5967 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003196/0.1762, allocations: 54.61 kB / 0.5967 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.418e-05/0.1763, allocations: 28.83 kB / 0.5967 GB, free: 6.711 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002304/0.1765, allocations: 166.2 kB / 0.5969 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.685e-05/0.1766, allocations: 42.48 kB / 0.5969 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.1766, allocations: 0 / 0.5969 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0004392/0.177, allocations: 93.62 kB / 0.597 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.305e-05/0.1771, allocations: 55.41 kB / 0.5971 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.755e-05/0.1772, allocations: 109.8 kB / 0.5972 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.309e-05/0.1772, allocations: 25.7 kB / 0.5972 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.938e-05/0.1772, allocations: 84.14 kB / 0.5973 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.528e-05/0.1772, allocations: 7.906 kB / 0.5973 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.331e-05/0.1773, allocations: 17.7 kB / 0.5973 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001043/0.1774, allocations: 318.8 kB / 0.5976 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.157e-05/0.1775, allocations: 19.98 kB / 0.5976 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.138e-05/0.1776, allocations: 23.97 kB / 0.5977 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001612/0.1777, allocations: 44.77 kB / 0.5977 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1777, allocations: 0 / 0.5977 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002184/0.178, allocations: 81.55 kB / 0.5978 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.178, allocations: 12 kB / 0.5978 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.178, allocations: 0 / 0.5978 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.178, allocations: 3.938 kB / 0.5978 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.134e-05/0.1781, allocations: 11.98 kB / 0.5978 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.1781, allocations: 0 / 0.5978 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.135e-05/0.1782, allocations: 11.98 kB / 0.5978 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.61e-06/0.1782, allocations: 0 / 0.5978 GB, free: 5.496 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 7.601e-05/0.1783, allocations: 117.8 kB / 0.5979 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.395e-05/0.1783, allocations: 3.938 kB / 0.5979 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003032/0.1786, allocations: 85.55 kB / 0.598 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.1786, allocations: 0 / 0.598 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.1786, allocations: 0 / 0.598 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.1787, allocations: 0 / 0.598 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002341/0.1789, allocations: 173.5 kB / 0.5982 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.1789, allocations: 3.938 kB / 0.5982 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001148/0.179, allocations: 11.98 kB / 0.5982 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.179, allocations: 0 / 0.5982 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.1791, allocations: 4 kB / 0.5982 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.1791, allocations: 0 / 0.5982 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.1791, allocations: 4 kB / 0.5982 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002497/0.1793, allocations: 175.4 kB / 0.5984 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.367e-05/0.1794, allocations: 77.53 kB / 0.5985 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.57e-05/0.1794, allocations: 0 / 0.5985 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.709e-05/0.1795, allocations: 15.98 kB / 0.5985 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.989e-05/0.1795, allocations: 7.984 kB / 0.5985 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.1796, allocations: 0 / 0.5985 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.426e-05/0.1796, allocations: 87.28 kB / 0.5986 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1796, allocations: 0 / 0.5986 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002391/0.1799, allocations: 23.92 kB / 0.5986 GB, free: 4.613 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.0006337/0.1805, allocations: 0.728 MB / 0.5993 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002264/0.1807, allocations: 47.95 kB / 0.5993 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.1807, allocations: 0 / 0.5993 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.686e-05/0.1808, allocations: 27.97 kB / 0.5994 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002862/0.1811, allocations: 10.17 kB / 0.5994 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001431/0.1826, allocations: 1.293 MB / 0.6006 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002616/0.1828, allocations: 0.6809 MB / 0.6013 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.455e-05/0.1829, allocations: 7.984 kB / 0.6013 GB, free: 1.688 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.055e-05/0.1829, allocations: 15.44 kB / 0.6013 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.1829, allocations: 0 / 0.6013 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01137/0.1943, allocations: 1.721 MB / 0.603 GB, free: 48 kB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.2682/0.4626, allocations: 191.4 kB / 0.6032 GB, free: 45.79 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.662/2.125, allocations: 0.5 kB / 0.6032 GB, free: 45.79 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)