Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Binomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Binomial,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Binomial,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.709/1.709, allocations: 288.4 MB / 303.3 MB, free: 8.082 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001054/0.001054, allocations: 195 kB / 372 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.457/1.457, allocations: 205.4 MB / 0.6307 GB, free: 10.03 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007974/0.0007976, allocations: 94.28 kB / 0.744 GB, free: 5.945 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004721/0.0004725, allocations: 11.38 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2519/0.2524, allocations: 115.3 MB / 0.9796 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.00164/0.2541, allocations: 1.236 MB / 0.9808 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0003994/0.2545, allocations: 169.3 kB / 0.981 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.96e-05/0.2546, allocations: 0 / 0.981 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.518e-05/0.2546, allocations: 3.938 kB / 0.981 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.74e-05/0.2547, allocations: 4 kB / 0.981 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002912/0.255, allocations: 39.89 kB / 0.9811 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.999e-05/0.255, allocations: 27.92 kB / 0.9811 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.636e-05/0.2551, allocations: 11.98 kB / 0.9811 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.583e-05/0.2552, allocations: 7.938 kB / 0.9811 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.347e-05/0.2552, allocations: 19.91 kB / 0.9811 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.268e-05/0.2552, allocations: 4 kB / 0.9811 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001018/0.2553, allocations: 43.95 kB / 0.9812 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.777e-06/0.2554, allocations: 4 kB / 0.9812 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.613e-05/0.2554, allocations: 33.7 kB / 0.9812 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001021/0.2555, allocations: 39.86 kB / 0.9812 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.2555, allocations: 0 / 0.9812 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.823e-06/0.2555, allocations: 0 / 0.9812 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.2555, allocations: 0 / 0.9812 GB, free: 25.89 MB / 0.6198 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.0004325/0.256, allocations: 355.5 kB / 0.9816 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.256, allocations: 20.02 kB / 0.9816 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.114e-05/0.2561, allocations: 30.56 kB / 0.9816 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.809e-05/0.2561, allocations: 11.94 kB / 0.9816 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.964e-05/0.2562, allocations: 174.9 kB / 0.9818 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.262e-05/0.2562, allocations: 0 / 0.9818 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.876e-05/0.2563, allocations: 4 kB / 0.9818 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000193/0.2565, allocations: 65.66 kB / 0.9819 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.567e-06/0.2565, allocations: 4 kB / 0.9819 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.237e-06/0.2565, allocations: 4 kB / 0.9819 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.2565, allocations: 0 / 0.9819 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001865/0.2567, allocations: 51.95 kB / 0.9819 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003475/0.257, allocations: 292.7 kB / 0.9822 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000299/0.2574, allocations: 58.55 kB / 0.9823 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.573e-05/0.2575, allocations: 32.89 kB / 0.9823 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001826/0.2577, allocations: 170.2 kB / 0.9825 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.355e-05/0.2577, allocations: 30.56 kB / 0.9825 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.974e-06/0.2577, allocations: 0 / 0.9825 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.000385/0.2581, allocations: 129.4 kB / 0.9826 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.165e-05/0.2581, allocations: 51.41 kB / 0.9827 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.221e-05/0.2582, allocations: 117.8 kB / 0.9828 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.101e-05/0.2582, allocations: 29.7 kB / 0.9828 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.63e-05/0.2582, allocations: 80.14 kB / 0.9829 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.255e-05/0.2582, allocations: 7.906 kB / 0.9829 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.22e-06/0.2583, allocations: 8 kB / 0.9829 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.35e-05/0.2583, allocations: 310.8 kB / 0.9832 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.181e-05/0.2584, allocations: 27.97 kB / 0.9832 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.93e-05/0.2585, allocations: 23.98 kB / 0.9832 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.941e-05/0.2586, allocations: 27.97 kB / 0.9833 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.2586, allocations: 0 / 0.9833 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002022/0.2588, allocations: 85.59 kB / 0.9833 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.2588, allocations: 4 kB / 0.9834 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.2588, allocations: 4 kB / 0.9834 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.2589, allocations: 4 kB / 0.9834 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.793e-05/0.259, allocations: 11.98 kB / 0.9834 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.259, allocations: 0 / 0.9834 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.132e-05/0.259, allocations: 19.84 kB / 0.9834 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.2591, allocations: 0 / 0.9834 GB, free: 23.43 MB / 0.6198 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 (rea2Int.y,bin.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.678e-05/0.2591, allocations: 117.8 kB / 0.9835 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.214e-05/0.2592, allocations: 0 / 0.9835 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002577/0.2594, allocations: 93.48 kB / 0.9836 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.2594, allocations: 0 / 0.9836 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.2594, allocations: 0 / 0.9836 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.2594, allocations: 4 kB / 0.9836 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001353/0.2596, allocations: 169.6 kB / 0.9838 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.2596, allocations: 11.92 kB / 0.9838 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.147e-05/0.2597, allocations: 8 kB / 0.9838 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.654e-06/0.2597, allocations: 0 / 0.9838 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-06/0.2597, allocations: 3.984 kB / 0.9838 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.2597, allocations: 0 / 0.9838 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.2597, allocations: 4 kB / 0.9838 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002366/0.26, allocations: 195.3 kB / 0.984 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.015e-05/0.26, allocations: 84.98 kB / 0.984 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.537e-05/0.26, allocations: 7.984 kB / 0.9841 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.101e-05/0.2601, allocations: 4 kB / 0.9841 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.824e-05/0.2602, allocations: 11.98 kB / 0.9841 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.2602, allocations: 0 / 0.9841 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.046e-05/0.2602, allocations: 91.27 kB / 0.9842 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2602, allocations: 0 / 0.9842 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002489/0.2605, allocations: 20 kB / 0.9842 GB, free: 22.52 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004791/0.261, allocations: 0.7323 MB / 0.9849 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002281/0.2612, allocations: 63.92 kB / 0.985 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2612, allocations: 4 kB / 0.985 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.353e-05/0.2613, allocations: 27.97 kB / 0.985 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002562/0.2616, allocations: 4 kB / 0.985 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007798/0.2624, allocations: 468.8 kB / 0.9854 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001171/0.2625, allocations: 0.677 MB / 0.9861 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.291e-05/0.2625, allocations: 4 kB / 0.9861 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.899e-05/0.2626, allocations: 19.42 kB / 0.9861 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of SimCode: time 2.41e-07/0.2626, allocations: 0 / 0.9861 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01285/0.2754, allocations: 1.636 MB / 0.9877 GB, free: 18.92 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001295/0.2756, allocations: 181.1 kB / 0.9879 GB, free: 18.69 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.639/1.914, allocations: 0 / 0.9879 GB, free: 18.69 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Binomial.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Binomial.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_Binomial_fmu --startTime=0 --stopTime=11 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_Binomial.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1)