Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 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.Examples.Binomial,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Binomial,fileNamePrefix="Buildings_8_Buildings_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.001559/0.001559, allocations: 109.4 kB / 15.69 MB, free: 128 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.001871/0.001871, allocations: 188.4 kB / 16.62 MB, free: 6.582 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.426/1.426, allocations: 205.1 MB / 222.5 MB, free: 4.543 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.749/1.749, allocations: 292.3 MB / 0.549 GB, free: 12.72 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.001535/0.001535, allocations: 78.61 kB / 0.6718 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2343/0.2359, allocations: 114.5 MB / 0.7836 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.002573/0.2385, allocations: 1.533 MB / 0.7851 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0004366/0.2389, allocations: 172.3 kB / 0.7853 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.656e-05/0.239, allocations: 0 / 0.7853 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.35e-05/0.2391, allocations: 11.92 kB / 0.7853 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.44e-05/0.2391, allocations: 3.984 kB / 0.7853 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003031/0.2394, allocations: 55.83 kB / 0.7853 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.167e-05/0.2395, allocations: 39.84 kB / 0.7854 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.224e-05/0.2396, allocations: 8 kB / 0.7854 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.972e-05/0.2396, allocations: 15.98 kB / 0.7854 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.641e-05/0.2397, allocations: 19.92 kB / 0.7854 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.643e-05/0.2397, allocations: 4 kB / 0.7854 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001176/0.2398, allocations: 55.94 kB / 0.7855 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.589e-05/0.2399, allocations: 11.94 kB / 0.7855 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.965e-05/0.2399, allocations: 15.92 kB / 0.7855 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001324/0.24, allocations: 59.78 kB / 0.7856 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.24, allocations: 0 / 0.7856 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.252e-06/0.2401, allocations: 0 / 0.7856 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.2401, allocations: 4 kB / 0.7856 GB, free: 11.25 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004506/0.2405, allocations: 351.7 kB / 0.7859 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.2406, allocations: 12.03 kB / 0.7859 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.374e-05/0.2406, allocations: 34.75 kB / 0.786 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.825e-05/0.2406, allocations: 12.83 kB / 0.786 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001077/0.2407, allocations: 164.4 kB / 0.7861 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.72e-05/0.2408, allocations: 12.25 kB / 0.7861 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.375e-05/0.2408, allocations: 384 / 0.7861 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001936/0.241, allocations: 66.2 kB / 0.7862 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.241, allocations: 7.938 kB / 0.7862 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-06/0.241, allocations: 0 / 0.7862 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.241, allocations: 0 / 0.7862 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001927/0.2412, allocations: 51.94 kB / 0.7863 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003873/0.2416, allocations: 284.6 kB / 0.7865 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003072/0.242, allocations: 58.53 kB / 0.7866 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.882e-05/0.2421, allocations: 28.91 kB / 0.7866 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002094/0.2423, allocations: 166.2 kB / 0.7868 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.136e-05/0.2423, allocations: 34.55 kB / 0.7868 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.2423, allocations: 0 / 0.7868 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0003786/0.2427, allocations: 97.58 kB / 0.7869 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.149e-05/0.2427, allocations: 55.41 kB / 0.7869 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.821e-05/0.2428, allocations: 105.8 kB / 0.787 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.287e-05/0.2428, allocations: 25.7 kB / 0.7871 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.717e-05/0.2429, allocations: 99.97 kB / 0.7872 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.259e-05/0.2429, allocations: 0 / 0.7872 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.629e-05/0.243, allocations: 17.72 kB / 0.7872 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.2431, allocations: 318.8 kB / 0.7875 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.306e-05/0.2432, allocations: 23.97 kB / 0.7875 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.06e-05/0.2433, allocations: 23.98 kB / 0.7875 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001613/0.2434, allocations: 44.81 kB / 0.7876 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.2434, allocations: 0 / 0.7876 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002058/0.2436, allocations: 77.5 kB / 0.7877 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.2437, allocations: 4 kB / 0.7877 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.2437, allocations: 4 kB / 0.7877 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.2437, allocations: 7.984 kB / 0.7877 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.898e-05/0.2438, allocations: 12 kB / 0.7877 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.2438, allocations: 0 / 0.7877 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.822e-05/0.2439, allocations: 7.984 kB / 0.7877 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-06/0.2439, allocations: 0 / 0.7877 GB, free: 8.809 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: 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.39e-05/0.244, allocations: 114.4 kB / 0.7878 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.427e-05/0.244, allocations: 0 / 0.7878 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002675/0.2443, allocations: 101.4 kB / 0.7879 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.676e-06/0.2443, allocations: 0 / 0.7879 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.2443, allocations: 0 / 0.7879 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/0.2443, allocations: 0 / 0.7879 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000154/0.2444, allocations: 169.7 kB / 0.7881 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.2445, allocations: 0 / 0.7881 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.73e-05/0.2445, allocations: 15.98 kB / 0.7881 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.2445, allocations: 3.938 kB / 0.7881 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.2446, allocations: 0 / 0.7881 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.2446, allocations: 4 kB / 0.7881 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2446, allocations: 384 / 0.7881 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002507/0.2448, allocations: 175.4 kB / 0.7882 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.722e-05/0.2449, allocations: 85.05 kB / 0.7883 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.602e-05/0.2449, allocations: 0 / 0.7883 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.739e-05/0.245, allocations: 15.92 kB / 0.7883 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.834e-05/0.2451, allocations: 12 kB / 0.7884 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.48e-06/0.2451, allocations: 0 / 0.7884 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.501e-05/0.2451, allocations: 91.2 kB / 0.7884 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2451, allocations: 4 kB / 0.7884 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002537/0.2454, allocations: 19.91 kB / 0.7885 GB, free: 7.906 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: 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.0005907/0.246, allocations: 0.7202 MB / 0.7892 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002417/0.2462, allocations: 51.89 kB / 0.7892 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.2462, allocations: 0 / 0.7892 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.945e-05/0.2464, allocations: 23.98 kB / 0.7892 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003287/0.2467, allocations: 0.9375 kB / 0.7892 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001499/0.2482, allocations: 1.292 MB / 0.7905 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002358/0.2485, allocations: 0.6807 MB / 0.7912 GB, free: 5.008 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.138e-05/0.2485, allocations: 0 / 0.7912 GB, free: 5.008 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.771e-05/0.2485, allocations: 19.42 kB / 0.7912 GB, free: 4.988 MB / 0.6075 GB Notification: Performance of SimCode: time 2.9e-07/0.2486, allocations: 4 kB / 0.7912 GB, free: 4.984 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01703/0.2656, allocations: 1.911 MB / 0.7931 GB, free: 3.137 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.2/7.465, allocations: 10.03 kB / 0.7931 GB, free: 3.133 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Math.Examples.Binomial.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.Binomial.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.Binomial.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Utilities.Math.Examples.Binomial_res.csv --start-time 0 --stop-time 11 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Utilities_Math_Examples_Binomial.fmu > Buildings_8_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1)