Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.384/1.384, allocations: 251.5 MB / 266.7 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009671/0.0009668, allocations: 183.2 kB / 325.8 MB, free: 2.715 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.72/1.72, allocations: 205 MB / 0.576 GB, free: 20.99 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000656/0.0006559, allocations: 99.09 kB / 0.6797 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003151/0.0003152, allocations: 15.44 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1888/0.1892, allocations: 105.4 MB / 0.8962 GB, free: 68.11 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.0006265/0.1898, allocations: 339 kB / 0.8965 GB, free: 67.78 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004008/0.1903, allocations: 204.2 kB / 0.8967 GB, free: 67.58 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.548e-06/0.1903, allocations: 0 / 0.8967 GB, free: 67.58 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.524e-05/0.1903, allocations: 0 / 0.8967 GB, free: 67.58 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.429e-06/0.1903, allocations: 0 / 0.8967 GB, free: 67.58 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000279/0.1906, allocations: 47.89 kB / 0.8968 GB, free: 67.53 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 2.816e-05/0.1906, allocations: 4 kB / 0.8968 GB, free: 67.53 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.596e-05/0.1907, allocations: 0 / 0.8968 GB, free: 67.53 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.17e-05/0.1907, allocations: 0 / 0.8968 GB, free: 67.53 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 1.935e-05/0.1907, allocations: 0 / 0.8968 GB, free: 67.53 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.159e-06/0.1907, allocations: 0 / 0.8968 GB, free: 67.53 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001437/0.1909, allocations: 67.88 kB / 0.8968 GB, free: 67.46 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.514e-06/0.1909, allocations: 7.984 kB / 0.8968 GB, free: 67.45 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.446e-05/0.1909, allocations: 0 / 0.8968 GB, free: 67.45 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001099/0.191, allocations: 35.89 kB / 0.8969 GB, free: 67.42 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.191, allocations: 0 / 0.8969 GB, free: 67.42 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.452e-06/0.191, allocations: 0 / 0.8969 GB, free: 67.42 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.838e-06/0.1911, allocations: 0 / 0.8969 GB, free: 67.42 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0001825/0.1912, allocations: 319.9 kB / 0.8972 GB, free: 67.05 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.1913, allocations: 12.03 kB / 0.8972 GB, free: 67.04 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.517e-05/0.1913, allocations: 34.69 kB / 0.8972 GB, free: 67 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.14e-05/0.1913, allocations: 4.938 kB / 0.8972 GB, free: 67 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.455e-05/0.1914, allocations: 160.4 kB / 0.8974 GB, free: 66.8 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.235e-06/0.1914, allocations: 4.312 kB / 0.8974 GB, free: 66.8 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.761e-06/0.1914, allocations: 384 / 0.8974 GB, free: 66.8 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.099e-05/0.1915, allocations: 34.25 kB / 0.8974 GB, free: 66.76 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-06/0.1915, allocations: 3.938 kB / 0.8974 GB, free: 66.75 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.841e-06/0.1915, allocations: 0 / 0.8974 GB, free: 66.75 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.1915, allocations: 0 / 0.8974 GB, free: 66.75 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.533e-05/0.1916, allocations: 0 / 0.8974 GB, free: 66.75 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.294e-05/0.1916, allocations: 157.6 kB / 0.8976 GB, free: 66.55 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 2.924e-05/0.1917, allocations: 18.52 kB / 0.8976 GB, free: 66.52 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.246e-05/0.1917, allocations: 8.953 kB / 0.8976 GB, free: 66.51 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005675/0.1923, allocations: 457.5 kB / 0.898 GB, free: 65.97 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.324e-05/0.1923, allocations: 34.56 kB / 0.8981 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.1923, allocations: 0 / 0.8981 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001034/0.1924, allocations: 41.62 kB / 0.8981 GB, free: 65.88 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.755e-05/0.1924, allocations: 59.34 kB / 0.8982 GB, free: 65.81 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.505e-05/0.1925, allocations: 89.86 kB / 0.8983 GB, free: 65.71 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.851e-06/0.1925, allocations: 25.7 kB / 0.8983 GB, free: 65.68 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.059e-05/0.1925, allocations: 84.12 kB / 0.8984 GB, free: 65.6 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.311e-05/0.1925, allocations: 4.125 kB / 0.8984 GB, free: 65.59 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.575e-05/0.1925, allocations: 13.72 kB / 0.8984 GB, free: 65.57 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.097e-05/0.1926, allocations: 310.8 kB / 0.8987 GB, free: 65.26 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.804e-06/0.1926, allocations: 4 kB / 0.8987 GB, free: 65.26 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.428e-06/0.1926, allocations: 0 / 0.8987 GB, free: 65.26 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.236e-05/0.1926, allocations: 12.84 kB / 0.8987 GB, free: 65.24 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1926, allocations: 3.938 kB / 0.8987 GB, free: 65.24 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.667e-05/0.1927, allocations: 33.64 kB / 0.8987 GB, free: 65.2 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.987e-06/0.1927, allocations: 8.094 kB / 0.8987 GB, free: 65.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.1927, allocations: 3.938 kB / 0.8987 GB, free: 65.19 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.447e-06/0.1927, allocations: 0 / 0.8987 GB, free: 65.19 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.418e-05/0.1927, allocations: 11.98 kB / 0.8988 GB, free: 65.18 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.1928, allocations: 0 / 0.8988 GB, free: 65.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.196e-06/0.1928, allocations: 0 / 0.8988 GB, free: 65.18 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.607e-06/0.1928, allocations: 0 / 0.8988 GB, free: 65.18 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 3.835e-05/0.1928, allocations: 109.8 kB / 0.8989 GB, free: 65.06 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.091e-06/0.1928, allocations: 3.984 kB / 0.8989 GB, free: 65.05 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.547e-05/0.1929, allocations: 40.77 kB / 0.8989 GB, free: 65.01 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-06/0.1929, allocations: 0 / 0.8989 GB, free: 65.01 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.1929, allocations: 0 / 0.8989 GB, free: 65.01 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.1929, allocations: 4 kB / 0.8989 GB, free: 65 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.428e-05/0.193, allocations: 149.7 kB / 0.899 GB, free: 64.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.193, allocations: 0 / 0.899 GB, free: 64.81 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.019e-05/0.193, allocations: 7.938 kB / 0.8991 GB, free: 64.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.273e-06/0.193, allocations: 3.938 kB / 0.8991 GB, free: 64.8 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.778e-06/0.193, allocations: 3.938 kB / 0.8991 GB, free: 64.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.71e-07/0.193, allocations: 0 / 0.8991 GB, free: 64.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.193, allocations: 4.031 kB / 0.8991 GB, free: 64.79 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.133e-05/0.1931, allocations: 57.12 kB / 0.8991 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.313e-05/0.1931, allocations: 77.11 kB / 0.8992 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.818e-06/0.1931, allocations: 7.938 kB / 0.8992 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.941e-06/0.1931, allocations: 0 / 0.8992 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.147e-05/0.1931, allocations: 0 / 0.8992 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.785e-06/0.1931, allocations: 4 kB / 0.8992 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.25e-05/0.1931, allocations: 79.31 kB / 0.8993 GB, free: 64.53 MB / 0.6042 GB Notification: Performance of sort global known variables: time 7e-08/0.1931, allocations: 0 / 0.8993 GB, free: 64.53 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001825/0.1933, allocations: 12 kB / 0.8993 GB, free: 64.52 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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.0002751/0.1936, allocations: 0.6202 MB / 0.8999 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 5.293e-05/0.1937, allocations: 0 / 0.8999 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1937, allocations: 4 kB / 0.8999 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 6.141e-06/0.1937, allocations: 0 / 0.8999 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001203/0.1938, allocations: 6.047 kB / 0.8999 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002413/0.1941, allocations: 120.2 kB / 0.9 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001068/0.1942, allocations: 0.6694 MB / 0.9007 GB, free: 63.01 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 1.135e-05/0.1942, allocations: 4 kB / 0.9007 GB, free: 63 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.122e-05/0.1942, allocations: 7.438 kB / 0.9007 GB, free: 63 MB / 0.6042 GB Notification: Performance of SimCode: time 3.01e-07/0.1942, allocations: 0 / 0.9007 GB, free: 63 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1231/0.3173, allocations: 0.9743 MB / 0.9016 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001482/0.3175, allocations: 206.3 kB / 0.9018 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.499/1.816, allocations: 4 kB / 0.9018 GB, free: 61.91 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_BesselJ1.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1)