Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.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.Functions.Examples.BesselJ1,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.815/1.815, allocations: 288.2 MB / 303.2 MB, free: 8.258 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.001098/0.001098, allocations: 182 kB / 371.8 MB, free: 10.28 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.532/1.532, allocations: 205.4 MB / 0.6305 GB, free: 9.996 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.0008385/0.0008387, allocations: 97.31 kB / 0.7439 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006007/0.0006008, allocations: 17.39 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1873/0.1879, allocations: 115.3 MB / 0.9795 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.0007271/0.1887, allocations: 314.1 kB / 0.9798 GB, free: 27.28 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0003931/0.1891, allocations: 173.3 kB / 0.98 GB, free: 27.11 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.157e-05/0.1891, allocations: 0 / 0.98 GB, free: 27.11 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.326e-05/0.1892, allocations: 4 kB / 0.98 GB, free: 27.11 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.809e-06/0.1892, allocations: 0 / 0.98 GB, free: 27.11 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002989/0.1895, allocations: 43.83 kB / 0.98 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 3.126e-05/0.1895, allocations: 0 / 0.98 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.158e-05/0.1896, allocations: 7.984 kB / 0.98 GB, free: 27.06 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.327e-05/0.1896, allocations: 0 / 0.98 GB, free: 27.06 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 2.329e-05/0.1896, allocations: 0 / 0.98 GB, free: 27.06 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.633e-06/0.1896, allocations: 0 / 0.98 GB, free: 27.06 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001472/0.1898, allocations: 63.88 kB / 0.9801 GB, free: 27 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.761e-06/0.1898, allocations: 0 / 0.9801 GB, free: 27 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.712e-05/0.1898, allocations: 25.7 kB / 0.9801 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 6.912e-05/0.1899, allocations: 27.97 kB / 0.9801 GB, free: 26.94 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.1899, allocations: 0 / 0.9801 GB, free: 26.94 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.513e-06/0.1899, allocations: 4 kB / 0.9801 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.506e-06/0.1899, allocations: 0 / 0.9801 GB, free: 26.93 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.00019/0.1901, allocations: 315.4 kB / 0.9804 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.1902, allocations: 12.02 kB / 0.9804 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.343e-05/0.1902, allocations: 30.56 kB / 0.9805 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.932e-05/0.1902, allocations: 0 / 0.9805 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.605e-05/0.1903, allocations: 171 kB / 0.9806 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.1903, allocations: 4 kB / 0.9806 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.053e-05/0.1903, allocations: 4 kB / 0.9806 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.493e-05/0.1904, allocations: 29.64 kB / 0.9807 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.1904, allocations: 0 / 0.9807 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.653e-06/0.1904, allocations: 0 / 0.9807 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.1904, allocations: 0 / 0.9807 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.784e-05/0.1905, allocations: 4 kB / 0.9807 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.6e-05/0.1906, allocations: 149.6 kB / 0.9808 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.339e-05/0.1906, allocations: 18.58 kB / 0.9808 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006323/0.1912, allocations: 465.5 kB / 0.9813 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.882e-05/0.1913, allocations: 34.5 kB / 0.9813 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.1913, allocations: 7.875 kB / 0.9813 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001064/0.1914, allocations: 37.69 kB / 0.9813 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.377e-05/0.1914, allocations: 55.41 kB / 0.9814 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.419e-05/0.1914, allocations: 89.86 kB / 0.9815 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.392e-06/0.1915, allocations: 25.7 kB / 0.9815 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.141e-05/0.1915, allocations: 80.14 kB / 0.9816 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.113e-05/0.1915, allocations: 7.906 kB / 0.9816 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.673e-06/0.1915, allocations: 0 / 0.9816 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.989e-05/0.1915, allocations: 310.8 kB / 0.9819 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.064e-06/0.1916, allocations: 4.125 kB / 0.9819 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.857e-06/0.1916, allocations: 4 kB / 0.9819 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.286e-05/0.1916, allocations: 0 / 0.9819 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.1916, allocations: 0 / 0.9819 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.085e-05/0.1916, allocations: 41.58 kB / 0.9819 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.728e-06/0.1917, allocations: 8 kB / 0.9819 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.1917, allocations: 0 / 0.9819 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.1917, allocations: 0 / 0.9819 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.488e-05/0.1917, allocations: 0 / 0.9819 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.1917, allocations: 4.094 kB / 0.982 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.036e-05/0.1917, allocations: 4 kB / 0.982 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.468e-06/0.1918, allocations: 0 / 0.982 GB, free: 24.74 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: 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 3.704e-05/0.1918, allocations: 109.8 kB / 0.9821 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.632e-06/0.1918, allocations: 7.938 kB / 0.9821 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.782e-05/0.1919, allocations: 37.05 kB / 0.9821 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.1919, allocations: 0 / 0.9821 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.1919, allocations: 4 kB / 0.9821 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-06/0.1919, allocations: 4 kB / 0.9821 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.561e-05/0.1919, allocations: 149.7 kB / 0.9823 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.192, allocations: 0 / 0.9823 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.919e-06/0.192, allocations: 0 / 0.9823 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.192, allocations: 3.953 kB / 0.9823 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.619e-06/0.192, allocations: 4 kB / 0.9823 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.41e-07/0.192, allocations: 0 / 0.9823 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.192, allocations: 0 / 0.9823 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.399e-05/0.192, allocations: 65.12 kB / 0.9823 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.469e-05/0.1921, allocations: 81.05 kB / 0.9824 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.157e-06/0.1921, allocations: 11.89 kB / 0.9824 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.833e-06/0.1921, allocations: 0 / 0.9824 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.818e-06/0.1921, allocations: 3.938 kB / 0.9824 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-06/0.1921, allocations: 0 / 0.9824 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.15e-05/0.1921, allocations: 75.28 kB / 0.9825 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1921, allocations: 3.938 kB / 0.9825 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002019/0.1923, allocations: 12 kB / 0.9825 GB, free: 24.08 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: 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 (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.0002683/0.1926, allocations: 0.6125 MB / 0.9831 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 5.553e-05/0.1927, allocations: 8 kB / 0.9831 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1927, allocations: 4.094 kB / 0.9831 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.24e-06/0.1927, allocations: 3.938 kB / 0.9831 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.858e-05/0.1928, allocations: 7.953 kB / 0.9831 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002467/0.193, allocations: 105.5 kB / 0.9832 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.984e-05/0.1931, allocations: 0.6692 MB / 0.9839 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.03e-05/0.1932, allocations: 4 kB / 0.9839 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.055e-05/0.1932, allocations: 7.438 kB / 0.9839 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of SimCode: time 2.11e-07/0.1932, allocations: 0 / 0.9839 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.00962/0.2028, allocations: 0.9654 MB / 0.9848 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001411/0.203, allocations: 196.6 kB / 0.985 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.339/1.542, allocations: 0 / 0.985 GB, free: 21.5 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_BesselJ1.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1)