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.001178/0.001178, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001224/0.001224, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.354/1.354, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.9986/0.9986, allocations: 143 MB / 433.4 MB, free: 11.57 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002433/0.002433, allocations: 59.91 kB / 0.5143 GB, free: 11.57 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1594/0.1619, allocations: 82.04 MB / 0.5944 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial): time 0.00189/0.1638, allocations: 0.5764 MB / 0.595 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003968/0.1643, allocations: 103.6 kB / 0.5951 GB, free: 8.812 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.11e-05/0.1643, allocations: 4 kB / 0.5951 GB, free: 8.809 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.678e-05/0.1643, allocations: 0 / 0.5951 GB, free: 8.809 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.16e-06/0.1643, allocations: 4 kB / 0.5951 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003468/0.1647, allocations: 39.89 kB / 0.5951 GB, free: 8.766 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000118/0.1648, allocations: 63.92 kB / 0.5952 GB, free: 8.703 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.217e-05/0.1649, allocations: 0 / 0.5952 GB, free: 8.703 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.82e-05/0.1649, allocations: 23.98 kB / 0.5952 GB, free: 8.68 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.424e-05/0.165, allocations: 31.89 kB / 0.5952 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.908e-05/0.165, allocations: 4 kB / 0.5952 GB, free: 8.645 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001239/0.1651, allocations: 35.97 kB / 0.5953 GB, free: 8.609 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.344e-05/0.1652, allocations: 23.95 kB / 0.5953 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.763e-05/0.1652, allocations: 27.92 kB / 0.5953 GB, free: 8.559 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001424/0.1654, allocations: 67.83 kB / 0.5954 GB, free: 8.492 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.1654, allocations: 4 kB / 0.5954 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.433e-06/0.1654, allocations: 0 / 0.5954 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.189e-06/0.1654, allocations: 0 / 0.5954 GB, free: 8.488 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005272/0.166, allocations: 371.5 kB / 0.5957 GB, free: 8.074 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.166, allocations: 8.031 kB / 0.5957 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.73e-05/0.1661, allocations: 50.67 kB / 0.5958 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.809e-05/0.1661, allocations: 8.844 kB / 0.5958 GB, free: 8 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.379e-05/0.1662, allocations: 168.6 kB / 0.596 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002552/0.1665, allocations: 277.6 kB / 0.5962 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.573e-05/0.1665, allocations: 12.38 kB / 0.5962 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002418/0.1667, allocations: 85.88 kB / 0.5963 GB, free: 7.363 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.643e-06/0.1667, allocations: 0 / 0.5963 GB, free: 7.363 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.1668, allocations: 4 kB / 0.5963 GB, free: 7.359 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.1668, allocations: 3.938 kB / 0.5963 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003436/0.1671, allocations: 131.8 kB / 0.5964 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001673/0.1673, allocations: 181.6 kB / 0.5966 GB, free: 7 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002862/0.1676, allocations: 98.52 kB / 0.5967 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001415/0.1677, allocations: 41.16 kB / 0.5968 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.342e-05/0.1678, allocations: 11.92 kB / 0.5968 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.313e-05/0.1678, allocations: 34.5 kB / 0.5968 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=11): time 1.152e-06/0.1678, allocations: 0 / 0.5968 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.00054/0.1684, allocations: 153.5 kB / 0.5969 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.2e-05/0.1684, allocations: 51.41 kB / 0.597 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.055e-05/0.1684, allocations: 93.86 kB / 0.5971 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.507e-05/0.1685, allocations: 25.7 kB / 0.5971 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.242e-05/0.1685, allocations: 80.14 kB / 0.5972 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.837e-05/0.1685, allocations: 31.55 kB / 0.5972 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.656e-05/0.1686, allocations: 33.7 kB / 0.5972 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.417e-05/0.1687, allocations: 318.8 kB / 0.5975 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001387/0.1688, allocations: 31.98 kB / 0.5976 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001312/0.169, allocations: 27.97 kB / 0.5976 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002938/0.1693, allocations: 80.81 kB / 0.5977 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.1693, allocations: 0 / 0.5977 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003363/0.1696, allocations: 121.4 kB / 0.5978 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.1697, allocations: 7.938 kB / 0.5978 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.1697, allocations: 0 / 0.5978 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.1697, allocations: 0 / 0.5978 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001462/0.1698, allocations: 23.97 kB / 0.5978 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.95e-06/0.1699, allocations: 4 kB / 0.5978 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.281e-05/0.1699, allocations: 7.938 kB / 0.5978 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.503e-05/0.17, allocations: 7.984 kB / 0.5978 GB, free: 5.656 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: 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 7.726e-05/0.17, allocations: 117.8 kB / 0.598 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.144e-05/0.1701, allocations: 15.84 kB / 0.598 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.435e-05/0.1701, allocations: 7.969 kB / 0.598 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.1701, allocations: 0 / 0.598 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.1701, allocations: 4 kB / 0.598 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/0.1701, allocations: 3.984 kB / 0.598 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001236/0.1703, allocations: 173.6 kB / 0.5982 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1703, allocations: 0 / 0.5982 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001222/0.1704, allocations: 23.98 kB / 0.5982 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.1704, allocations: 7.938 kB / 0.5982 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.1704, allocations: 7.984 kB / 0.5982 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.1704, allocations: 7.938 kB / 0.5982 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.1704, allocations: 4 kB / 0.5982 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003502/0.1708, allocations: 145.6 kB / 0.5983 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.34e-05/0.1708, allocations: 88.97 kB / 0.5984 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.994e-05/0.1709, allocations: 8 kB / 0.5984 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.697e-05/0.1709, allocations: 4 kB / 0.5984 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.637e-05/0.171, allocations: 15.98 kB / 0.5985 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.789e-06/0.171, allocations: 3.984 kB / 0.5985 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.806e-05/0.171, allocations: 75.28 kB / 0.5985 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.171, allocations: 0 / 0.5985 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002288/0.1713, allocations: 24 kB / 0.5986 GB, free: 4.832 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: 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.0006846/0.172, allocations: 0.7059 MB / 0.5992 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003504/0.1723, allocations: 87.94 kB / 0.5993 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1723, allocations: 0 / 0.5993 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001559/0.1725, allocations: 47.91 kB / 0.5994 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001372/0.1726, allocations: 4 kB / 0.5994 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005401/0.1732, allocations: 206.5 kB / 0.5996 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000239/0.1734, allocations: 0.6846 MB / 0.6002 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001686/0.1736, allocations: 39.94 kB / 0.6003 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.103e-05/0.1737, allocations: 19.42 kB / 0.6003 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1737, allocations: 0 / 0.6003 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01806/0.1918, allocations: 2.017 MB / 0.6023 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.336/7.528, allocations: 9.891 kB / 0.6023 GB, free: 1.004 MB / 0.4981 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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial_res.csv --start-time 0 --stop-time 15.9 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00636 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_Binomial.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)