Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="BuildingSystems_BuildingSystems_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.001056/0.001055, allocations: 108 kB / 15.61 MB, free: 152 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.001087/0.001086, allocations: 196.8 kB / 16.53 MB, free: 6.664 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.262/1.262, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002091/0.002091, allocations: 275.2 kB / 290.7 MB, free: 2.004 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9096/0.9096, allocations: 169.3 MB / 0.4982 GB, free: 13.94 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001635/0.001635, allocations: 96.19 kB / 0.5954 GB, free: 27.86 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.1451, allocations: 86.98 MB / 0.6803 GB, free: 0.5859 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Binomial): time 0.001641/0.1468, allocations: 0.569 MB / 0.6809 GB, free: 24 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003499/0.1471, allocations: 104.4 kB / 0.681 GB, free: 15.92 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.528e-05/0.1471, allocations: 4.812 kB / 0.681 GB, free: 15.92 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.161e-05/0.1472, allocations: 0 / 0.681 GB, free: 15.92 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.709e-06/0.1472, allocations: 0 / 0.681 GB, free: 15.92 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002893/0.1475, allocations: 40.5 kB / 0.681 GB, free: 15.88 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001097/0.1476, allocations: 61.41 kB / 0.6811 GB, free: 15.82 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.705e-05/0.1476, allocations: 4 kB / 0.6811 GB, free: 15.82 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.939e-05/0.1477, allocations: 23.97 kB / 0.6811 GB, free: 15.79 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.931e-05/0.1477, allocations: 19.97 kB / 0.6811 GB, free: 15.77 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.715e-05/0.1477, allocations: 4.594 kB / 0.6811 GB, free: 15.77 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000112/0.1479, allocations: 51.95 kB / 0.6812 GB, free: 15.72 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.257e-05/0.1479, allocations: 23.97 kB / 0.6812 GB, free: 15.7 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.023e-05/0.1479, allocations: 19.86 kB / 0.6812 GB, free: 15.68 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001281/0.1481, allocations: 75.83 kB / 0.6813 GB, free: 15.6 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.796e-06/0.1481, allocations: 0 / 0.6813 GB, free: 15.6 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.81e-07/0.1481, allocations: 0 / 0.6813 GB, free: 15.6 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.499e-06/0.1481, allocations: 3.938 kB / 0.6813 GB, free: 15.6 MB / 494.1 MB 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.0004333/0.1485, allocations: 371.8 kB / 0.6816 GB, free: 15.18 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.1486, allocations: 12.03 kB / 0.6816 GB, free: 15.17 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.029e-05/0.1486, allocations: 34.75 kB / 0.6817 GB, free: 15.13 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.675e-05/0.1487, allocations: 20.83 kB / 0.6817 GB, free: 15.11 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.239e-05/0.1487, allocations: 164.3 kB / 0.6818 GB, free: 14.91 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002429/0.149, allocations: 277.6 kB / 0.6821 GB, free: 14.58 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.398e-05/0.149, allocations: 8.375 kB / 0.6821 GB, free: 14.57 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002284/0.1492, allocations: 81.94 kB / 0.6822 GB, free: 14.48 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.1493, allocations: 3.938 kB / 0.6822 GB, free: 14.48 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.1493, allocations: 0 / 0.6822 GB, free: 14.48 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.1493, allocations: 4 kB / 0.6822 GB, free: 14.48 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003371/0.1496, allocations: 139.8 kB / 0.6823 GB, free: 14.34 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001589/0.1498, allocations: 177.7 kB / 0.6825 GB, free: 14.12 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002826/0.1501, allocations: 90.52 kB / 0.6826 GB, free: 14.02 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001403/0.1502, allocations: 48.83 kB / 0.6826 GB, free: 13.97 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.874e-05/0.1503, allocations: 0 / 0.6826 GB, free: 13.97 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.878e-05/0.1503, allocations: 34.5 kB / 0.6827 GB, free: 13.93 MB / 494.1 MB Notification: Performance of pre-optimization done (n=11): time 9.02e-07/0.1503, allocations: 0 / 0.6827 GB, free: 13.93 MB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005193/0.1508, allocations: 154.1 kB / 0.6828 GB, free: 13.77 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.037e-05/0.1509, allocations: 55.41 kB / 0.6829 GB, free: 13.7 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.509e-05/0.1509, allocations: 93.77 kB / 0.683 GB, free: 13.6 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/0.1509, allocations: 29.7 kB / 0.683 GB, free: 13.57 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.385e-05/0.151, allocations: 84.12 kB / 0.6831 GB, free: 13.48 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.513e-05/0.151, allocations: 35.48 kB / 0.6831 GB, free: 13.45 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.487e-05/0.1511, allocations: 29.7 kB / 0.6831 GB, free: 13.41 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.727e-05/0.1512, allocations: 310.8 kB / 0.6834 GB, free: 13.1 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001378/0.1513, allocations: 39.97 kB / 0.6835 GB, free: 13.06 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001306/0.1515, allocations: 36.02 kB / 0.6835 GB, free: 13.02 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002701/0.1517, allocations: 76.75 kB / 0.6836 GB, free: 12.95 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.1517, allocations: 0 / 0.6836 GB, free: 12.95 MB / 494.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003227/0.1521, allocations: 117.5 kB / 0.6837 GB, free: 12.82 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.1521, allocations: 7.938 kB / 0.6837 GB, free: 12.82 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.1521, allocations: 0 / 0.6837 GB, free: 12.82 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.1521, allocations: 4 kB / 0.6837 GB, free: 12.81 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001464/0.1523, allocations: 23.97 kB / 0.6837 GB, free: 12.79 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.1523, allocations: 4 kB / 0.6837 GB, free: 12.79 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.683e-05/0.1523, allocations: 4 kB / 0.6837 GB, free: 12.78 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.168e-05/0.1524, allocations: 4 kB / 0.6837 GB, free: 12.78 MB / 494.1 MB 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.572e-05/0.1525, allocations: 126.4 kB / 0.6839 GB, free: 12.64 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.554e-05/0.1525, allocations: 3.938 kB / 0.6839 GB, free: 12.64 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.653e-05/0.1525, allocations: 19.95 kB / 0.6839 GB, free: 12.62 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.1525, allocations: 0 / 0.6839 GB, free: 12.62 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.1525, allocations: 0 / 0.6839 GB, free: 12.62 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.1525, allocations: 0 / 0.6839 GB, free: 12.62 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001298/0.1527, allocations: 185.5 kB / 0.6841 GB, free: 12.39 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1527, allocations: 3.938 kB / 0.6841 GB, free: 12.39 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001208/0.1528, allocations: 19.98 kB / 0.6841 GB, free: 12.37 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.1528, allocations: 3.938 kB / 0.6841 GB, free: 12.36 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/0.1528, allocations: 11.98 kB / 0.6841 GB, free: 12.35 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.1528, allocations: 0 / 0.6841 GB, free: 12.35 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1528, allocations: 0 / 0.6841 GB, free: 12.35 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003422/0.1532, allocations: 133 kB / 0.6842 GB, free: 12.2 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.486e-05/0.1532, allocations: 96.89 kB / 0.6843 GB, free: 12.09 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.565e-05/0.1533, allocations: 7.984 kB / 0.6843 GB, free: 12.08 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.643e-05/0.1533, allocations: 4 kB / 0.6843 GB, free: 12.08 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.778e-05/0.1534, allocations: 7.984 kB / 0.6843 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.248e-05/0.1534, allocations: 15.98 kB / 0.6843 GB, free: 12.05 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.288e-05/0.1534, allocations: 75.28 kB / 0.6844 GB, free: 11.98 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.322e-06/0.1534, allocations: 0 / 0.6844 GB, free: 11.98 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002136/0.1536, allocations: 23.94 kB / 0.6844 GB, free: 11.96 MB / 494.1 MB 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.0006351/0.1543, allocations: 0.7003 MB / 0.6851 GB, free: 11.23 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003528/0.1547, allocations: 108.3 kB / 0.6852 GB, free: 11.12 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1547, allocations: 0 / 0.6852 GB, free: 11.12 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001469/0.1548, allocations: 43.91 kB / 0.6853 GB, free: 11.08 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001297/0.155, allocations: 8 kB / 0.6853 GB, free: 11.07 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004678/0.1554, allocations: 197.1 kB / 0.6855 GB, free: 10.84 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002458/0.1557, allocations: 0.69 MB / 0.6861 GB, free: 10.13 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001458/0.1558, allocations: 39.92 kB / 0.6862 GB, free: 10.09 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.598e-05/0.1559, allocations: 23.42 kB / 0.6862 GB, free: 10.07 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1559, allocations: 0 / 0.6862 GB, free: 10.07 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01774/0.1736, allocations: 1.997 MB / 0.6882 GB, free: 8.16 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.869/7.043, allocations: 7.875 kB / 0.6882 GB, free: 8.152 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_Binomial.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)