Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_BesselJ1",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.001363/0.001363, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001331/0.001332, allocations: 190.9 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.412/1.412, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9739/0.9739, allocations: 135.1 MB / 425.2 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 67.67 kB / 0.505 GB, free: 5.492 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1839/0.1851, allocations: 80.93 MB / 0.584 GB, free: 4.734 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ1): time 0.002281/0.1875, allocations: 0.6374 MB / 0.5846 GB, free: 4.09 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005773/0.1881, allocations: 195.3 kB / 0.5848 GB, free: 3.898 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.261e-05/0.1881, allocations: 4 kB / 0.5848 GB, free: 3.895 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.854e-05/0.1882, allocations: 0 / 0.5848 GB, free: 3.895 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.141e-06/0.1882, allocations: 0 / 0.5848 GB, free: 3.895 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004744/0.1886, allocations: 51.89 kB / 0.5849 GB, free: 3.844 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.155e-05/0.1887, allocations: 0 / 0.5849 GB, free: 3.844 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.614e-05/0.1888, allocations: 3.984 kB / 0.5849 GB, free: 3.84 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.407e-05/0.1888, allocations: 4 kB / 0.5849 GB, free: 3.836 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.882e-05/0.1888, allocations: 0 / 0.5849 GB, free: 3.836 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.652e-06/0.1888, allocations: 0 / 0.5849 GB, free: 3.836 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001908/0.189, allocations: 63.88 kB / 0.5849 GB, free: 3.773 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.208e-05/0.189, allocations: 3.984 kB / 0.5849 GB, free: 3.77 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.696e-05/0.1891, allocations: 4 kB / 0.5849 GB, free: 3.766 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001236/0.1892, allocations: 43.89 kB / 0.585 GB, free: 3.723 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.1892, allocations: 0 / 0.585 GB, free: 3.723 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.1892, allocations: 0 / 0.585 GB, free: 3.723 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.94e-06/0.1892, allocations: 0 / 0.585 GB, free: 3.723 MB / 494.1 MB 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.0003537/0.1896, allocations: 311.6 kB / 0.5853 GB, free: 3.367 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.1896, allocations: 15.97 kB / 0.5853 GB, free: 3.352 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.41e-05/0.1897, allocations: 34.73 kB / 0.5853 GB, free: 3.309 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.61e-05/0.1897, allocations: 0.9375 kB / 0.5853 GB, free: 3.309 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001127/0.1898, allocations: 166 kB / 0.5855 GB, free: 3.109 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.1898, allocations: 4.375 kB / 0.5855 GB, free: 3.105 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.528e-06/0.1899, allocations: 384 / 0.5855 GB, free: 3.105 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001043/0.19, allocations: 30.27 kB / 0.5855 GB, free: 3.07 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.19, allocations: 3.938 kB / 0.5855 GB, free: 3.066 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.19, allocations: 0 / 0.5855 GB, free: 3.066 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.19, allocations: 3.938 kB / 0.5855 GB, free: 3.062 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.205e-05/0.19, allocations: 3.984 kB / 0.5855 GB, free: 3.059 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001452/0.1902, allocations: 149.7 kB / 0.5857 GB, free: 2.863 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.701e-05/0.1902, allocations: 22.58 kB / 0.5857 GB, free: 2.832 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.715e-05/0.1903, allocations: 4.859 kB / 0.5857 GB, free: 2.824 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008256/0.1911, allocations: 457.5 kB / 0.5861 GB, free: 2.285 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.609e-05/0.1911, allocations: 34.56 kB / 0.5862 GB, free: 2.242 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.633e-06/0.1912, allocations: 0 / 0.5862 GB, free: 2.242 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001422/0.1913, allocations: 41.58 kB / 0.5862 GB, free: 2.195 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.074e-05/0.1913, allocations: 51.41 kB / 0.5863 GB, free: 2.133 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.475e-05/0.1914, allocations: 89.86 kB / 0.5863 GB, free: 2.035 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.483e-05/0.1914, allocations: 25.7 kB / 0.5864 GB, free: 2.004 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.493e-05/0.1914, allocations: 84.14 kB / 0.5864 GB, free: 1.918 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.011e-05/0.1915, allocations: 7.891 kB / 0.5865 GB, free: 1.91 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.772e-05/0.1915, allocations: 17.78 kB / 0.5865 GB, free: 1.887 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.1916, allocations: 310.8 kB / 0.5868 GB, free: 1.574 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.341e-05/0.1916, allocations: 8 kB / 0.5868 GB, free: 1.566 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.821e-06/0.1917, allocations: 0 / 0.5868 GB, free: 1.566 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.884e-05/0.1917, allocations: 12.8 kB / 0.5868 GB, free: 1.551 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1917, allocations: 0 / 0.5868 GB, free: 1.551 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.674e-05/0.1918, allocations: 29.7 kB / 0.5868 GB, free: 1.516 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.1918, allocations: 8.078 kB / 0.5868 GB, free: 1.508 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.1918, allocations: 7.938 kB / 0.5868 GB, free: 1.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.1918, allocations: 0 / 0.5868 GB, free: 1.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.009e-05/0.1919, allocations: 4 kB / 0.5868 GB, free: 1.496 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.1919, allocations: 0 / 0.5868 GB, free: 1.496 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.209e-05/0.1919, allocations: 0 / 0.5868 GB, free: 1.496 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.671e-06/0.1919, allocations: 3.938 kB / 0.5868 GB, free: 1.492 MB / 494.1 MB 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 7.616e-05/0.192, allocations: 109.8 kB / 0.5869 GB, free: 1.375 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.773e-06/0.192, allocations: 0 / 0.5869 GB, free: 1.375 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.153e-05/0.1921, allocations: 52.69 kB / 0.587 GB, free: 1.316 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.1921, allocations: 0 / 0.587 GB, free: 1.316 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.1921, allocations: 0 / 0.587 GB, free: 1.316 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.1921, allocations: 0 / 0.587 GB, free: 1.316 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001021/0.1922, allocations: 145.7 kB / 0.5871 GB, free: 1.125 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.1922, allocations: 4 kB / 0.5871 GB, free: 1.121 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.756e-05/0.1923, allocations: 4 kB / 0.5871 GB, free: 1.117 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.053e-06/0.1923, allocations: 0 / 0.5871 GB, free: 1.117 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.408e-06/0.1923, allocations: 7.922 kB / 0.5871 GB, free: 1.109 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1923, allocations: 0 / 0.5871 GB, free: 1.109 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1923, allocations: 0 / 0.5871 GB, free: 1.109 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.621e-05/0.1924, allocations: 61.17 kB / 0.5872 GB, free: 1.031 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.932e-05/0.1924, allocations: 81.05 kB / 0.5873 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.482e-05/0.1924, allocations: 3.938 kB / 0.5873 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.265e-06/0.1924, allocations: 3.984 kB / 0.5873 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.235e-05/0.1925, allocations: 0 / 0.5873 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.599e-06/0.1925, allocations: 4 kB / 0.5873 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.392e-05/0.1925, allocations: 75.28 kB / 0.5874 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1925, allocations: 4.031 kB / 0.5874 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002143/0.1928, allocations: 12 kB / 0.5874 GB, free: 0.832 MB / 494.1 MB 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.0004885/0.1932, allocations: 0.6088 MB / 0.588 GB, free: 196 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 7.658e-05/0.1933, allocations: 11.94 kB / 0.588 GB, free: 184 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1933, allocations: 0 / 0.588 GB, free: 184 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.063e-05/0.1934, allocations: 7.984 kB / 0.588 GB, free: 176 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001357/0.1935, allocations: 3.938 kB / 0.588 GB, free: 172 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000343/0.1939, allocations: 106.6 kB / 0.5881 GB, free: 24 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002813/0.1941, allocations: 0.6729 MB / 0.5888 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.462e-05/0.1942, allocations: 8.109 kB / 0.5888 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.008e-05/0.1942, allocations: 7.438 kB / 0.5888 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1942, allocations: 0 / 0.5888 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01116/0.2054, allocations: 1.033 MB / 0.5898 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002022/0.2056, allocations: 204.6 kB / 0.59 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.731/1.937, allocations: 0 / 0.59 GB, free: 14.14 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_BesselJ1.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1)