Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.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.BesselJ0,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_BesselJ0",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.001173/0.001173, allocations: 108 kB / 15.61 MB, free: 152 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.00124/0.001241, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.413/1.413, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.108/1.108, allocations: 135.1 MB / 425.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 63.56 kB / 0.5055 GB, free: 5.207 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1822/0.1836, allocations: 80.93 MB / 0.5845 GB, free: 4.441 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ0): time 0.00196/0.1856, allocations: 0.5611 MB / 0.585 GB, free: 3.875 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004591/0.1861, allocations: 191.4 kB / 0.5852 GB, free: 3.688 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.439e-05/0.1861, allocations: 0 / 0.5852 GB, free: 3.688 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.767e-05/0.1862, allocations: 0 / 0.5852 GB, free: 3.688 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.42e-06/0.1862, allocations: 7.938 kB / 0.5852 GB, free: 3.68 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004171/0.1866, allocations: 47.88 kB / 0.5853 GB, free: 3.633 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.183e-05/0.1867, allocations: 4 kB / 0.5853 GB, free: 3.629 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.484e-05/0.1867, allocations: 0 / 0.5853 GB, free: 3.629 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.607e-05/0.1867, allocations: 3.938 kB / 0.5853 GB, free: 3.625 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.131e-05/0.1868, allocations: 3.938 kB / 0.5853 GB, free: 3.621 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.792e-06/0.1868, allocations: 0 / 0.5853 GB, free: 3.621 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001809/0.187, allocations: 63.92 kB / 0.5853 GB, free: 3.559 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.115e-05/0.187, allocations: 0 / 0.5853 GB, free: 3.559 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.918e-05/0.187, allocations: 0 / 0.5853 GB, free: 3.559 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001387/0.1871, allocations: 35.95 kB / 0.5854 GB, free: 3.523 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.1872, allocations: 0 / 0.5854 GB, free: 3.523 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1872, allocations: 0 / 0.5854 GB, free: 3.523 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.1872, allocations: 0 / 0.5854 GB, free: 3.523 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.0003365/0.1875, allocations: 327.5 kB / 0.5857 GB, free: 3.152 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.1876, allocations: 8.031 kB / 0.5857 GB, free: 3.145 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.028e-05/0.1876, allocations: 34.69 kB / 0.5857 GB, free: 3.102 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.39e-05/0.1876, allocations: 0.9375 kB / 0.5857 GB, free: 3.102 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/0.1878, allocations: 172.4 kB / 0.5859 GB, free: 2.895 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.1878, allocations: 384 / 0.5859 GB, free: 2.895 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.685e-06/0.1878, allocations: 4.375 kB / 0.5859 GB, free: 2.891 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001068/0.1879, allocations: 26.27 kB / 0.5859 GB, free: 2.859 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.1879, allocations: 3.938 kB / 0.5859 GB, free: 2.855 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.946e-06/0.1879, allocations: 0 / 0.5859 GB, free: 2.855 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.188, allocations: 4 kB / 0.5859 GB, free: 2.852 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.115e-05/0.188, allocations: 0 / 0.5859 GB, free: 2.852 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000214/0.1882, allocations: 149.7 kB / 0.5861 GB, free: 2.656 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.494e-05/0.1882, allocations: 22.55 kB / 0.5861 GB, free: 2.625 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.66e-05/0.1883, allocations: 8.859 kB / 0.5861 GB, free: 2.613 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007756/0.1891, allocations: 453.5 kB / 0.5865 GB, free: 2.078 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/0.1891, allocations: 34.56 kB / 0.5866 GB, free: 2.035 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.1891, allocations: 0 / 0.5866 GB, free: 2.035 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001681/0.1893, allocations: 41.58 kB / 0.5866 GB, free: 1.988 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.169e-05/0.1893, allocations: 51.41 kB / 0.5867 GB, free: 1.926 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.021e-05/0.1894, allocations: 89.86 kB / 0.5867 GB, free: 1.828 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.1894, allocations: 25.7 kB / 0.5868 GB, free: 1.797 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.936e-05/0.1894, allocations: 80.14 kB / 0.5868 GB, free: 1.715 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.332e-05/0.1895, allocations: 11.91 kB / 0.5869 GB, free: 1.703 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.836e-05/0.1895, allocations: 9.719 kB / 0.5869 GB, free: 1.688 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.1897, allocations: 319 kB / 0.5872 GB, free: 1.367 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.055e-05/0.1897, allocations: 0 / 0.5872 GB, free: 1.367 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.205e-06/0.1897, allocations: 4 kB / 0.5872 GB, free: 1.363 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.746e-05/0.1897, allocations: 4.859 kB / 0.5872 GB, free: 1.355 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1897, allocations: 0 / 0.5872 GB, free: 1.355 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.032e-05/0.1898, allocations: 41.64 kB / 0.5872 GB, free: 1.309 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.1898, allocations: 4 kB / 0.5872 GB, free: 1.305 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.914e-06/0.1898, allocations: 7.875 kB / 0.5872 GB, free: 1.297 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.1899, allocations: 0 / 0.5872 GB, free: 1.297 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.7e-05/0.1899, allocations: 12.08 kB / 0.5872 GB, free: 1.285 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.1899, allocations: 0 / 0.5872 GB, free: 1.285 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.768e-06/0.1899, allocations: 0 / 0.5872 GB, free: 1.285 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.1899, allocations: 0 / 0.5872 GB, free: 1.285 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.851e-05/0.19, allocations: 109.8 kB / 0.5873 GB, free: 1.168 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.203e-06/0.19, allocations: 0 / 0.5873 GB, free: 1.168 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.538e-05/0.1901, allocations: 40.77 kB / 0.5874 GB, free: 1.121 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-06/0.1902, allocations: 3.984 kB / 0.5874 GB, free: 1.117 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.1902, allocations: 4.031 kB / 0.5874 GB, free: 1.113 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.1902, allocations: 0 / 0.5874 GB, free: 1.113 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001061/0.1903, allocations: 149.6 kB / 0.5875 GB, free: 0.918 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.1903, allocations: 0 / 0.5875 GB, free: 0.918 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.585e-05/0.1903, allocations: 4 kB / 0.5875 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.1903, allocations: 0 / 0.5875 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-06/0.1903, allocations: 3.938 kB / 0.5875 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.1903, allocations: 4 kB / 0.5875 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1903, allocations: 0 / 0.5875 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.465e-05/0.1904, allocations: 65.12 kB / 0.5876 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.049e-05/0.1905, allocations: 77.11 kB / 0.5877 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.149e-05/0.1905, allocations: 3.938 kB / 0.5877 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.404e-06/0.1905, allocations: 0 / 0.5877 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.192e-05/0.1905, allocations: 0 / 0.5877 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-06/0.1905, allocations: 0 / 0.5877 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.696e-05/0.1906, allocations: 75.28 kB / 0.5878 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1906, allocations: 0 / 0.5878 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002188/0.1908, allocations: 19.98 kB / 0.5878 GB, free: 0.6328 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.0004541/0.1912, allocations: 0.6166 MB / 0.5884 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.247e-05/0.1913, allocations: 8.031 kB / 0.5884 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.1913, allocations: 0 / 0.5884 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.071e-05/0.1914, allocations: 4 kB / 0.5884 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001259/0.1915, allocations: 3.938 kB / 0.5884 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003073/0.1918, allocations: 120.2 kB / 0.5885 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002016/0.192, allocations: 0.669 MB / 0.5892 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.341e-05/0.192, allocations: 4 kB / 0.5892 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.628e-05/0.192, allocations: 7.438 kB / 0.5892 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of SimCode: time 4.41e-07/0.1921, allocations: 128 / 0.5892 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01934/0.2114, allocations: 1.114 MB / 0.5903 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.07/7.282, allocations: 10.5 kB / 0.5903 GB, free: 14.06 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_BesselJ0.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1)