Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="Buildings_8_Buildings_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.001098/0.001098, 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.001194/0.001194, allocations: 195.4 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.625/1.625, allocations: 205.1 MB / 222.4 MB, free: 4.602 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.75/1.75, allocations: 292.3 MB / 0.5489 GB, free: 12.84 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 83 kB / 0.6716 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2215/0.2229, allocations: 114.5 MB / 0.7835 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.002066/0.225, allocations: 0.594 MB / 0.7841 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0004082/0.2255, allocations: 103.7 kB / 0.7842 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.549e-05/0.2255, allocations: 3.938 kB / 0.7842 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.437e-05/0.2256, allocations: 0 / 0.7842 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.11e-06/0.2256, allocations: 0 / 0.7842 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003676/0.226, allocations: 39.89 kB / 0.7842 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001336/0.2261, allocations: 59.94 kB / 0.7843 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.148e-05/0.2262, allocations: 4 kB / 0.7843 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.196e-05/0.2262, allocations: 27.95 kB / 0.7843 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.825e-05/0.2263, allocations: 15.98 kB / 0.7843 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.014e-05/0.2263, allocations: 4 kB / 0.7843 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001424/0.2264, allocations: 55.94 kB / 0.7844 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.074e-05/0.2265, allocations: 19.92 kB / 0.7844 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.571e-05/0.2265, allocations: 19.91 kB / 0.7844 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001566/0.2267, allocations: 75.83 kB / 0.7845 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.2267, allocations: 0 / 0.7845 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.783e-06/0.2267, allocations: 0 / 0.7845 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.153e-06/0.2267, allocations: 0 / 0.7845 GB, free: 12.35 MB / 0.6075 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.0005384/0.2273, allocations: 379.7 kB / 0.7848 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.724e-05/0.2273, allocations: 8.031 kB / 0.7848 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.478e-05/0.2274, allocations: 42.69 kB / 0.7849 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.494e-05/0.2274, allocations: 12.94 kB / 0.7849 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.666e-05/0.2275, allocations: 160.4 kB / 0.7851 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000276/0.2278, allocations: 285.5 kB / 0.7853 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.751e-05/0.2279, allocations: 8.359 kB / 0.7853 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002506/0.2281, allocations: 81.95 kB / 0.7854 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.2281, allocations: 0 / 0.7854 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.2281, allocations: 0 / 0.7854 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.677e-06/0.2282, allocations: 7.984 kB / 0.7854 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003367/0.2285, allocations: 139.7 kB / 0.7856 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001898/0.2287, allocations: 173.7 kB / 0.7857 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002853/0.229, allocations: 94.52 kB / 0.7858 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001413/0.2291, allocations: 40.84 kB / 0.7858 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.011e-05/0.2292, allocations: 7.984 kB / 0.7859 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.693e-05/0.2292, allocations: 38.48 kB / 0.7859 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=11): time 1.102e-06/0.2292, allocations: 336 / 0.7859 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.0005397/0.2298, allocations: 153.4 kB / 0.786 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.94e-05/0.2298, allocations: 55.39 kB / 0.7861 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.523e-05/0.2299, allocations: 89.86 kB / 0.7862 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.702e-05/0.2299, allocations: 29.7 kB / 0.7862 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.516e-05/0.2299, allocations: 84.14 kB / 0.7863 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.076e-05/0.23, allocations: 35.41 kB / 0.7863 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.968e-05/0.23, allocations: 33.69 kB / 0.7864 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001008/0.2301, allocations: 310.8 kB / 0.7866 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001324/0.2303, allocations: 35.97 kB / 0.7867 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001272/0.2304, allocations: 35.92 kB / 0.7867 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002618/0.2307, allocations: 72.81 kB / 0.7868 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.2307, allocations: 0 / 0.7868 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003126/0.231, allocations: 113.6 kB / 0.7869 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.231, allocations: 7.938 kB / 0.7869 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.2311, allocations: 0 / 0.7869 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.2311, allocations: 0 / 0.7869 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001525/0.2312, allocations: 27.98 kB / 0.7869 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.2312, allocations: 7.938 kB / 0.7869 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.012e-05/0.2313, allocations: 11.92 kB / 0.7869 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.428e-05/0.2314, allocations: 4 kB / 0.787 GB, free: 9.516 MB / 0.6075 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.823e-05/0.2314, allocations: 121.8 kB / 0.7871 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.811e-05/0.2315, allocations: 7.844 kB / 0.7871 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.714e-05/0.2315, allocations: 11.97 kB / 0.7871 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.2315, allocations: 4 kB / 0.7871 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.2315, allocations: 0 / 0.7871 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.2315, allocations: 8 kB / 0.7871 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001298/0.2317, allocations: 173.7 kB / 0.7873 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.2317, allocations: 0 / 0.7873 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000119/0.2318, allocations: 23.97 kB / 0.7873 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.2318, allocations: 3.938 kB / 0.7873 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.505e-05/0.2318, allocations: 4 kB / 0.7873 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.2318, allocations: 0 / 0.7873 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.2319, allocations: 0 / 0.7873 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003496/0.2322, allocations: 153.6 kB / 0.7874 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.194e-05/0.2323, allocations: 88.98 kB / 0.7875 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.885e-05/0.2323, allocations: 0 / 0.7875 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.82e-05/0.2323, allocations: 8 kB / 0.7875 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.28e-05/0.2324, allocations: 11.97 kB / 0.7875 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.248e-06/0.2324, allocations: 4 kB / 0.7875 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.421e-05/0.2325, allocations: 75.28 kB / 0.7876 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2325, allocations: 0 / 0.7876 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002371/0.2327, allocations: 20 kB / 0.7876 GB, free: 8.711 MB / 0.6075 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.0007504/0.2335, allocations: 0.7177 MB / 0.7883 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003503/0.2338, allocations: 87.94 kB / 0.7884 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.2339, allocations: 0 / 0.7884 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001498/0.234, allocations: 55.83 kB / 0.7885 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001469/0.2342, allocations: 12 kB / 0.7885 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005722/0.2348, allocations: 202.5 kB / 0.7887 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002576/0.235, allocations: 0.6807 MB / 0.7893 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000183/0.2352, allocations: 39.95 kB / 0.7894 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.01e-05/0.2353, allocations: 23.42 kB / 0.7894 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of SimCode: time 1.793e-06/0.2353, allocations: 0 / 0.7894 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01698/0.2523, allocations: 1.99 MB / 0.7913 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.967/7.219, allocations: 13.53 kB / 0.7914 GB, free: 4.871 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial_res.csv --start-time 0 --stop-time 15.9 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Utilities_Math_Functions_Examples_Binomial.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)